已在Google Analytics控制台上发送但未显示Google Analytics点击 [英] Google Analytics Hits sent but not visible on Analytics console

查看:85
本文介绍了已在Google Analytics控制台上发送但未显示Google Analytics点击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图在我的应用中执行Google Analytics,方法是按照Google官方文档中的步骤进行操作。完成编码部分后,我转到分析控制台,查看是否收到任何匹配。我等了将近2天,但没有看到任何进展。然后我尝试通过在logcat中使用GAv4标签来调试问题。我得到了以下日志:

  07-14 11:11:22.734 31016-31016 / com.dhinchek.user I / GAv4 :Google Analytics 9.0.80正在启动。要在设备上运行调试日志记录:
adb shell setprop log.tag.GAv4 DEBUG
adb logcat -s GAv4
07-14 11:11:22.760 31016-31016 / com.dhinchek .user D / GAv4:setLocalDispatchPeriod(sec):30
07-14 11:11:22.896 31016-31497 / com.dhinchek.user D / GAv4:发送第一个命中属性:UA-77779576-2
07-14 11:11:22.898 31016-31497 / com.dhinchek.user D / GAv4:命中交付请求:ht = 1468501882775,_s = 0,_v = ma9.0.80,a = 239605409,aid = com.dhinchek .user,an = Dhinchek,av = 1.4,cd = Splash,cid = 0a56ad2b-533b-4a48-84ef-285fbbb6a6f3,sc = start,sf = 100.0,sr = 720x1280,t = screenview,tid = UA-77779576-2 ,ul = en-us,v = 1
07-14 11:11:22.907 31016-31497 / com.dhinchek.user D / GAv4:命中交付请求:ht = 1468501882797,_s = 1,_v = ma9 .0.80,a = 239605410,aid = com.dhinchek.user,an = Dhinchek,av = 1.4,cd = Splash,cid = 0a56ad2b-533b-4a48-84ef-285fbbb6a6f3,sf = 100.0,sr = 720x1280,t = sc reenview,tid = UA-77779576-2,ul = zh-cn,v = 1
07-14 11:11:23.023 31016-31497 / com.dhinchek.user D / GAv4:点击发送到设备AnalyticsService交付
07-14 11:11:23.042 31016-31497 / com.dhinchek.user D / GAv4:点击发送到设备AnalyticsService进行交付
07-14 11:11:26.003 31016-31497 /com.dhinchek.user D / GAv4:命中交付请求:ht = 1468501885946,_s = 2,_v = ma9.0.80,a = 239605411,aid = com.dhinchek.user,an = Dhinchek,av = 1.4,cd = Login,cid = 0a56ad2b-533b-4a48-84ef-285fbbb6a6f3,sf = 100.0,sr = 720x1280,t = screenview,tid = UA-77779576-2,ul = zh-cn,v = 1
07-14 11:11:26.048 31016-31497 / com.dhinchek.user D / GAv4:点击发送到设备AnalyticsService以交付

我在猜测是否将匹配发送到分析服务,然后代码是正确的,但我无法在分析控制台中看到任何进度。这两个匹配是在我的应用程序中的两个不同的活动。任何人都可以帮我解决如何进一步调试这个问题,或者建议如何解决这个问题?所有视图都欢迎。

解决方案

这是否在没有Google Play服务的模拟器上运行?如果是这样,它可能不会发送它们,所以你可能需要允许它发送本地调度回退。



或者它可能不够长?它只会默认每30分钟发送一次,然后将GA报告网站发送几个小时以显示。

这可能有助于审查官方GA Dispatch文档,其中包含更多详细信息并包含其他类似内容。


I have been trying to implement Google Analytics in my app by following the steps on the official documentation by Google. After completing the coding part, I moved on to the analytics console to see if I received any hits. I waited for almost 2 days but did not see any progress. I then tried to debug the problem by using GAv4 tag in my logcat. I got the following log,

07-14 11:11:22.734 31016-31016/com.dhinchek.user I/GAv4: Google Analytics 9.0.80 is starting up. To enable debug logging on a device run:
                                                           adb shell setprop log.tag.GAv4 DEBUG
                                                           adb logcat -s GAv4
07-14 11:11:22.760 31016-31016/com.dhinchek.user D/GAv4: setLocalDispatchPeriod (sec): 30
07-14 11:11:22.896 31016-31497/com.dhinchek.user D/GAv4: Sending first hit to property: UA-77779576-2
07-14 11:11:22.898 31016-31497/com.dhinchek.user D/GAv4: Hit delivery requested: ht=1468501882775, _s=0, _v=ma9.0.80, a=239605409, aid=com.dhinchek.user, an=Dhinchek, av=1.4, cd=Splash, cid=0a56ad2b-533b-4a48-84ef-285fbbb6a6f3, sc=start, sf=100.0, sr=720x1280, t=screenview, tid=UA-77779576-2, ul=en-us, v=1
07-14 11:11:22.907 31016-31497/com.dhinchek.user D/GAv4: Hit delivery requested: ht=1468501882797, _s=1, _v=ma9.0.80, a=239605410, aid=com.dhinchek.user, an=Dhinchek, av=1.4, cd=Splash, cid=0a56ad2b-533b-4a48-84ef-285fbbb6a6f3, sf=100.0, sr=720x1280, t=screenview, tid=UA-77779576-2, ul=en-us, v=1
07-14 11:11:23.023 31016-31497/com.dhinchek.user D/GAv4: Hit sent to the device AnalyticsService for delivery
07-14 11:11:23.042 31016-31497/com.dhinchek.user D/GAv4: Hit sent to the device AnalyticsService for delivery
07-14 11:11:26.003 31016-31497/com.dhinchek.user D/GAv4: Hit delivery requested: ht=1468501885946, _s=2, _v=ma9.0.80, a=239605411, aid=com.dhinchek.user, an=Dhinchek, av=1.4, cd=Login, cid=0a56ad2b-533b-4a48-84ef-285fbbb6a6f3, sf=100.0, sr=720x1280, t=screenview, tid=UA-77779576-2, ul=en-us, v=1
07-14 11:11:26.048 31016-31497/com.dhinchek.user D/GAv4: Hit sent to the device AnalyticsService for delivery

I am guessing if the hit is sent to the analytics service then the code is correct, but I am not able to see any progress in the analytics console. These two hits are for two different activities in my app. Can anyone help me out on how to further debug this issue, or suggest how to solve this problem? All views are welcome.

解决方案

Is this running on an emulator without Google Play Services? If so, it's probably not sending them, so you may need to allow it to send with the local dispatch fallback.

Or maybe it hasn't been long enough? It only sends every 30 minutes by default, then takes the GA report site a few hours for it to show up anyway.

It may help to review the official GA Dispatch docs that go into more detail and include other similar things you can try.

这篇关于已在Google Analytics控制台上发送但未显示Google Analytics点击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆