Search code examples
androidgoogle-analyticslocationflurry

Flurry and Google Analytics user location


I'm currently developing a Android game and would like to implement analytics. I see that both Flurry and Google Analytics offer the ability to track the users location. I've been playing around with Flurry and see that the users location is continent based (I guess unless I add the permission to access GPS, which user don't like). I was wondering if Google Analytics can give me a more precise user location without giving the permission to access the GPS?


Solution

  • Without GPS, the challenge with determining location on mobile is that it depends on how the device is connected. If the device is connected over the mobile network (3G, 4G), then network traffic will exit through some mobile operator gateway, and the source IP address will likely point to a very different and very wrong location for the actual user (which many analytics services incorrectly do). If the device is connected over WiFi, then the source IP address can be reliably used to identify the metro area location (at least as reliable as fixed broadband connections).

    At Localytics (I work there), we first determine how devices are connected. If over a mobile network, then location is only reported to country level. But if it's connected over WiFi, then we'll report location down to region or metro area -- this gives you a better representative sample of where your users are.