问题
I got a new Google Analytics ID for my Android app (a game) in development (unreleased) around a week ago.
Only today, I integrated Google Analytics SDK into my game, tested it and made it send events.
For the first time, I opened my Google Analytics portal for my game and much to my astonishment, it has recorded app "views" and "sessions" from last week even before I integrated the SDK into my game (which is still unreleased). It has recorded 40 "new users" yesterday. It doesn't make any sense.
Is there an explanation for this?
PS: Under "top device models", it shows iPhone which is impossible since my game doesn't work on iPhone.
I did check to ensure that this is the right GA ID and there is no doubt that my game is correctly associated with the GA ID.
回答1:
What you are seeing are the activities of spam "visits", where the hits don't actually visit your site but rather simply, and agnostically, target your property ID. So whether you have a web app or a native mobile app, you may be hit with these "visits". You will need to set up filters to prevent these activities from affecting your data, including a filter to only allow hits from a white listed set of valid hostnames and a filter on the campaign source. This article has some great tips on how to set those up: http://www.analyticsedge.com/2014/12/removing-referral-spam-google-analytics/
来源:https://stackoverflow.com/questions/30613077/why-do-i-see-results-on-my-google-analytics-portal-even-before-i-run-my-app