I would like to track a view in my Android application using Manual Screen Tracking. I read here https://developers.google.com/analytics/devguides/collection/android/v2/screens that I need to use this code:
myTracker.trackView("Home Screen");
But Eclipse shows an error (myTracker cannot be resolved) when I use it.
I have no trouble with EasyTracker.
import com.google.analytics.tracking.android.EasyTracker;
EasyTracker.getInstance().activityStart(this);
.
stackoverflow.comm
No comments:
Post a Comment