Security, Privacy, AI and CSR information for all Piano products now lives in one place. Explore our Compliance Center.
Analytics
English French
English French

How does geolocation data get collected on mobile apps?

Piano Analytics doesn't use the phone's GPS or location services. It derives geolocation from the IP address of each hit that the app sends, which it matches against a database from its partner Digital Element. The same method applies on browsers.

From the IP address, Piano Analytics fills the geolocation properties such as continent, country, region, sub-region and city.

IP address by connection type

In a mobile app, the IP address depends on how the phone is connected, and this affects how stable the location is:

Connection

Behavior

Wi-Fi

The IP address often stays the same during a visit. If visitors use the same VPN, it can be the same from one region to another, so the result depends on how your organization manages IP addresses.

4G

Your mobile network operator (mobile provider) uses dynamic IP addresses. You are assigned a new IP address almost every time you reconnect to the mobile network or switch to a different base station

For example, a commuter who opens your app on 4G on a train may be located in several places during one visit, because the IP address changes as the phone moves between mobile network zones.

Accuracy

IP-based geolocation is generally reliable, but a few things can make a location differ from the visitor's real one:

  • VPNs and proxies: they hide the visitor's real IP address, so the location is that of the VPN or proxy.

  • IP anonymization: when enabled, Piano Analytics removes the end of the IP address for privacy, which reduces precision, especially at city level.

  • Internet providers: some providers use the address of a central router, so the location can be a nearby area rather than the visitor's own.

Seeing traffic from a region you don't target doesn't mean your data is wrong. It's usually the result of these limits.


Last updated: