I want to track the country of the visitors and then redirect them to appropriate subdomains of my site like what google does...
And upto what extent i can rely on the d
One version is that you can use your service providers' ip address and hence redirect it with Javascript as follows;
$.get("https://ipinfo.io", function(response) { if(response.country=="GB"){ window.location.replace("http://stackoverflow.com"); } }, "jsonp");