Determining the location

Location accuracy depends on the configuration that the library uses for initialization:
With the locationTracking option enabled

The location is determined with accuracy to the city. You can retrieve this information in reports and via the Logs API.

The app requests GPS access. Battery consumption may increase.

With the locationTracking option disabled
The location is determined by the IP address with accuracy to the country. You can retrieve this information in reports, but not via the Logs API.

The app requests GPS access. Battery consumption does not increase.

Note. If you have enabled IP address masking, AppMetrica determines location with the accuracy to the country by the unmasked part of the IP address.

For more information about enabling and disabling the locationTracking option, see Sending location on Android and on iOS.