Setting up google analytics EasyTracker for Android


  • Add libGoogleAnalytics.jar to your project's /libs directory.
  • Add EasyTracker.jar to your project's /libs directory.
  • Add the following permissions to your project's AndroidManifest.xml file:
  • Get UA code from your analytics admin section
  • Add your UA code to your values/strings.xml like so: UA-xxxxxxxx-x .
  • Change the activities you want to track-
    • from: Activity / ListActivity
    • to: TrackedActivity / TrackedListActivity
you're done!

No comments: