我想禁用并启用GoogleAnalytics动态使用带有应用级别选择退出的按钮。我在SharedPreference变量上设置了“on”/“off”值,并将其监听器设置为Google的tutorial。 启用GA后,它会显示如下日志:
10-15 12:22:58.001: V/GAV3(29429): Thread[GAThread,5,main]: Sending hit to service PATH: https: PARAMS: cd6=android, ul=en-ph, cd1=logout, ht=1413350577995, sr=720x1280, aid=jp.co.mti.yomeljp, cid=e931c34c-1844-4542-9a04-92cf25133153, av=3.1.0, v=1, t=appview, an=m.book(rc), tid=UA-49102867-3, _u=.r3qKKK-AL, cd=yl_help,
当GA被禁用时,它会显示如下日志:
10-15 12:22:00.743: V/GAV3(1356): Thread[GAThread,5,main]: clearHits called
10-15 12:22:00.853: V/GAV3(1356): Thread[GAThread,5,main]: PowerSaveMode initiated.
10-15 12:22:01.873: V/GAV3(1356): Thread[GAThread,5,main]: clearHits called
10-15 12:22:02.003: V/GAV3(1356): Thread[GAThread,5,main]: clearHits called
10-15 12:22:02.013: V/GAV3(1356): Thread[GAThread,5,main]: clearHits called
当我启用GA时,日志显示它发送命中到存储路径。但问题是,我无法在网上看到它的结果。我错过了什么?任何线索都会有所帮助,谢谢。
我使用GAV3,我已将其设置为正确的UA代理,并且WiFi连接良好。