0

Can anybody tell me EasyTracker.getInstance(getApplicationContext()).activityStart(this); need to write on every Activities onStart() method. I am using Google analytic v3 SDK.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Shailendra Patil
  • 377
  • 2
  • 19

1 Answers1

0

Enable auto activity tracking by setting this line in your values/"analytics".xml

<!-- Enable Activity tracking -->
<bool name="ga_autoActivityTracking">true</bool>

and in every activity add this to your onStop

EasyTracker.getInstance().activityStop(this);
youssefhassan
  • 1,067
  • 2
  • 11
  • 17