Tuesday, April 30, 2013

[android help] Android Google Analytics V2 myTracker


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

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...