Instrument your app / Tracking user actions |
When an interesting event occurs in your Android application, tag it using these instructions.
Be sure to predefine your events as final static Strings for performance reasons, data actionability, and to avoid collecting any personally identifiable information. Avoid calling this function in a loop so that you don't collect too much data.
You may want to collect additional data about some events, such as how many lives the player has, or what the last action the user took was before clicking on an advertisement. This is accomplished with the second form of tagEvent, which takes a map of key/value pairs, or attributes, along with the event name.