- 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:
- Change the activities you want to track-
- from: Activity / ListActivity
- to: TrackedActivity / TrackedListActivity