2

This question already has an answer here:

I'm trying to use tor to test my website from UK. My website has custom content based on the geo-location of a user i.e; if a user opens from US IP he see's a US personalised content and if the user is from India he see's India specific content. SO while testing I tried to get only from US first by setting;

ExitNodes {us} StrictNodes 1

in the torrc file and it worked as expected and gave me access to the ip in US alone and the same reflected even in google analytics but when I did the same for India by setting

ExitNodes {in} StrictNodes 1

tor was still configured to India only but in google analytics I saw the ip was of US and not India.

So can someone tell me why google analytics is showing US for Indian based IP in tor. And how can I change it, so that google analytics shows India in its report.

marked as duplicate by Stig Atle Steffensen Aug 14 '18 at 18:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

Although the procedure you have followed is exact, the Google Analytics might be using an exit node tracking mechanism, most of which are publicly available here.

On encountering such IP nodes, Google Analytics is pointing back to its default location, US, as the source IP is unknown, thanks to Tor.

You should actually use a VPN(s) for an exact analysis.

Not the answer you're looking for? Browse other questions tagged or ask your own question.