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.
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 .
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.
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.
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.
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();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With