谷歌Analytics(分析)移动不算数 [英] Google Analytics Mobile doesn't count
本文介绍了谷歌Analytics(分析)移动不算数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有一个奇怪的事情,我最近开始计算我的应用程序的游客来说,这是工作的罚款。亚特有一段时间我看到在谷歌Analytics(分析),你可以指出,如果它是一个网站或移动。我做了一个新的配置文件与移动选择,取代了我的应用程序的code,但此后,它不再指望..我等了那么24小时。
Got a strange thing going on, I recently started counting visitors of my app, it was working fine. Ater a while I saw that on Google Analytics, you can point out if it is a website or mobile. I made a new profile with 'mobile' selected, replaced the code in my app, but since then, it isn't counting anymore.. I waited more then 24 hours.
我用
mGATracker = GoogleAnalyticsTracker.getInstance();
mGATracker.startNewSession("UA-xxxxxxxx-x", this);
mGATracker.trackPageView("/About");
和中的onDestroy方法调度:
@覆盖
And dispatch in the onDestroy method: @Override
public void onDestroy() {
try {
super.onDestroy();
mGATracker.dispatch();
mGATracker.stopSession();
} catch (Exception error) {
Log.e("<YOUR_TAG>", "onDestroy: " + error.toString());
}
}
别人的经验?
推荐答案
GA版本1需要'网站'类型的面板。
GA ver 1 requires 'website' type of panel.
这篇关于谷歌Analytics(分析)移动不算数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文