We are a business in the US.
We are getting a lot of traffic tagged with âCityâ from India - Hyderabad, Vijayawada, or Bengaluru, even though we verified that the userâs actual address is in the US.
Do you know why this happens?
Hi Ilan- Julianne from Mixpanel Support here.
Under the hood, Mixpanel takes the IP address of the request and parses it through Maxmind to generate the Country, Region, and City values. This means that the IP address captured with that traffic is resolving to those locations in India.
Are you sending server-side data? If so, the location could be due to the location of the server. If that's the case, you'll want to override the IP address of the requests. The Server-Side tracking doc has more information about that.
Another possibility is that the user is using a VPN. Are you able to check with the user if that's the case? Alternatively, if you have access to more precise location data, such as latitude and longitude, you can include them as properties in your events when sending data to Mixpanel. This approach offers greater accuracy than relying solely on IP addresses for geolocation. The Geolocation doc has more information about sending those properties.Â