@Advait Patil Hi! And welcome to the community! What are some of the variances that you’re experiencing? Also, a bit more context about location properties in case it’s helpful.
Location user properties (such as City
, DMA
, Region
, and Country
) are determined by GeoIP. Amplitude uses the MaxMind database, which is widely accepted as the most reliable digital mapping source, to look up location information from the user's IP address. Even though MaxMind is considered the most reliable source, the accuracy and availability of city/region information can vary by country (more info here).
We can also derive location information from the latitude and longitude rather than the IP address. By default, we only do this if the IP address is not available, but it is configurable on a per-customer basis which one we prioritize.
Since the latitude and longitude information is pulled from the user's device, if the values are blank in Amplitude, that means the user did not grant access or the user's device did not provide that information for us.
You can learn more about location tracking on our documentation:
https://help.amplitude.com/hc/en-us/articles/360016257391-FAQ-Why-is-this-user-counted-under-none-or-an-unexpected-value-#Location-Properties