Skip to content

Instantly share code, notes, and snippets.

@dimmduh
Last active September 29, 2017 09:13
Show Gist options
  • Save dimmduh/0be8f2bc04071a0744a60d22c4a47eac to your computer and use it in GitHub Desktop.
Save dimmduh/0be8f2bc04071a0744a60d22c4a47eac to your computer and use it in GitHub Desktop.
App2top event tracking
//Call Apptop.sendEvent(Context context, String eventName) to send event to app2top servers for tracking user actions
//for debuging (tag: APP2TOP)
App2top.debug = true;
//when user complete 45 level
App2top.sendEvent(getApplicationContext(), "Level45");
//when
App2top.sendEvent(getApplicationContext(), "HeroReachedLevel5");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment