Search code examples
google-analyticsgoogle-analytics-firebase

Google Analytics how to track level-up in a Game efficiently?


I would like to track and understand user behaviour related to level-up.

  1. What metric should I be interested in collecting?
  2. In which way will allow me to do so, and minimize hits ?

Context: The Game style is Poker, and user can level up only after a Hand is finished and anytime in that session.

1- Right now I'm collecting Level-up event and number of hand played in that level,

getAppTracker().send(new HitBuilders.EventBuilder()
            .setCategory("COMPLETIONS")
            .setAction("Level-up")
            .setLabel(Integer.toString(level))
            .setValue(1)
            .build());

Solution

  • Try to use custom dimensions or/and metrics for these purposes. In the Google Analytics documentation article about custom dimensions and metrics in the "Examples" section you may found example for the tracking of game levels. Hope this technique will help you to track user behavior in your poker game