I'm using the Google Analytics Android SDK:
mTracker = GoogleAnalyticsTracker.getInstance();
mTracker.start(getString(R.string.googleCode), this);
mTracker.trackPageView("/MainActivity");
mTracker.dispatch();
However I haven't received any data when I view my report. I have checked my code to ensure it is correct. I have also waited 3 days and still nothing. The status remains as "Tracking not installed". I should add that mTracker.dispatch)_ returns true. I can't find the API documentation, but I assume this means something good happened rather than something bad.
Does any one know why this would happen? Perhaps Google Analytics Android SDK only sends data over WiFi and not 3G?
SOLUTION
I noticed logcat printing a message under the tag "googleanalytics". The message was:
WARN/googleanalytics(2518): Dispatcher thinks it finished, but there were 1 failed events
This was caused by a space in my label parameter:
mTracker.trackEvent("Clicks", // Category
"Login", // Action
"Main Activity", // Label
-1); // Value
It should have been:
mTracker.trackEvent("Clicks", // Category
"Login", // Action
"MainActivity", // Label
-1); // Value
I then had to uninstall the application because once this problem occurred it seems googleanalytics won't work. The database it uses must be deleted...at least it seems that way.