Location accuracy of Google Analytics for Android
Posted
by
BadCash
on Stack Overflow
See other posts from Stack Overflow
or by BadCash
Published on 2012-12-20T20:23:12Z
Indexed on
2014/06/11
21:25 UTC
Read the original article
Hit count: 210
When testing Google Analytics (version 2) for an Android project, I noticed that the Real Time map shows my location to be about 200 miles from my actual location. I'm running my project on a physical device, which leads me to believe that Google Analytics doesn't actually send any location information, but rather gets it from the phones IP address when the data is sent to Googles server. Is there any way to alter this behavior and provide my own location data using getLastKnownLocation() for example? Sending it as an actual Label/Action string would of course work, but that means I can't use Google Analytics fancy map feature to view where my users are coming from.
© Stack Overflow or respective owner