Hello everyone, I am currently using the wp-geolocation plugin shortcode to display my accurate location. However, I need more functionality than what it currently offers.
I am attempting to automatically redirect a URL based on the user's location as shown below:
<script type="text/javascript">
<!--
window.location = "http://[mmjs-city].gumpul.com/"
//-->
</script>
Unfortunately, the redirection is not working as expected.
When I use the "[mmjs-city]" shortcode, it displays my city name correctly. Can someone provide me with a solution?