Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Analytics android dispatch

I wanted to try Google Analytics in my Android App. Everything worked properly, but on my Analytics page there is no visitor shown. I can see in the LogCat that it sent the data, I copied the 4 labels from the samples.

tracker.trackEvent(
        "Clicks",  // Category
        "Button",  // Action
        "clicked", // Label
        77);       // Value

And I added also the dispatch after it. I waited now 3-4 Hours but still no visitor, tried it out in the emulator which has internet enabled.

like image 681
Liam Schnell Avatar asked Mar 19 '11 21:03

Liam Schnell


People also ask

How to integrate Google Analytics in Android?

If this is your first time using a Google services sample, check out the google-services repository. Open Android Studio. Select File > Open, browse to where you cloned the google-services repository, and open google-services/android/analytics .

What is the use of Google Analytics in Android?

With easy-to-use SDKs and reports designed with app developers in mind, Google Analytics for Mobile Apps enables you to: Understand the number of users in your app, their characteristics, and where they come from. Measure what actions your users are taking. Measure in-app payments and revenue.

What is the difference between Google Analytics and Firebase?

Firebase, we see that they have the same data model — one that depicts user interactions as events. That's why both platforms also share the same implementation process — the only difference between Firebase Analytics and Google Analytics in this regard lies in where you first set up your Android and iOS data streams.

How much does it cost to use Google Analytics?

Google Analytics has two price plans: free and 360. The cost of google analytics 360 starts from $12,500 per month and $150,000 per year. GA 360 provides higher data limits, BigQuery integration, service level agreement, custom variables, and a dedicated support team.


1 Answers

Double check that you've entered you're unique key correctly.

GoogleAnalyticsTracker tracker = GoogleAnalyticsTracker.getInstance();
tracker.start("UA-12345678-1", this);
tracker.trackPageView("/HomeScreen");
tracker.dispatch();
like image 62
Bill Mote Avatar answered Oct 21 '22 23:10

Bill Mote