我想尝试谷歌Analytics(分析)在我的Android应用程序。一切工作正常,但在我的分析页面没有显示任何游客。我可以在其发送的数据的LogCat中看到的,我从样本复制的4个标签。
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
和我也加入后调度。我现在等待3-4个小时,但仍然没有游客,试了一下在这使网络仿真器。
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.
您已经进入了正确是唯一的关键。仔细检查
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();
上一篇:我应该制定什么版本的Android?版本、Andr、oid
下一篇:如何使用 devise_auth_token 为请求配置 Postman如何使用、devise_auth_token、Postman