As with websites, there are two basic categories of user interaction you can track : pageviews and events .
Since mobile apps don't contain HTML pages, developers simply determine when their apps should trigger P ageview requests. Google Analytics then aggregates this data in the Content reports to display the number of visits, session length and bounce rates. The data gives insight into how your users interacted with the app.
Developers can also track visitor actions that don't correspond directly to pageviews using Event Tracking . These user actions can include views of embedded videos, button clicks, downloads and more. App developers can then use this data to understand which features are most popular and inform decisions about which features should be promoted or prioritized for further development.
Batching Hits : to save on connection and battery overhead, you can dispatch hits manually, or at specifi time intervals by using the dispatch() method of the tracker object. It is recommended that you reduce overhead by bundling tracker dispatches with other HTTP requests made by the application :
Stop the tracker when it is no longer needed :
within Android apps/games
Wait 24 hours to see your first data coming through in Analytics … ! within Android apps/games Step 1 : JAR file - 1’ max Step 2 : Web property ID - 1’ max Step 3 : code - 3’ max (6 lines min)