简体   繁体   English

Google Analytics(分析)实时跟踪,无屏幕查看事件

[英]Google Analytics real time tracking without screen view events

I've implemented GA in my app like what it stated on the Google Developers page. 我已经在我的应用中实现了Google Analytics(分析),就像Google Developers页面上所说的那样。 I was getting real time data, events and screen views just fine. 我正在获取实时数据,事件和屏幕视图。

However, I decided to turn screen view off because I was getting too many screen views events and have to reduce the number of events sent to GA. 但是,我决定关闭屏幕视图,因为我收到了太多的屏幕视图事件,并且不得不减少发送给GA的事件数量。 So I went on to set this attribute to false. 因此,我继续将此属性设置为false。

    <bool name="ga_autoActivityTracking">false</bool>

Well, I was able to get rid of the screen view events in the app, but the real time data isn't being tracked too. 好了,我能够摆脱应用程序中的屏幕查看事件,但实时数据也无法跟踪。

Is there a way to get real time data tracking without having to track screen view events? 有没有一种方法可以实时跟踪数据,而不必跟踪屏幕查看事件?

Thanks in advance! 提前致谢!

Auto activity tracking doesn't have relationship with real time reporting and disabling it should not affect real time reporting. 自动活动跟踪与实时报告没有关系,并且禁用它不会影响实时报告。 Are you sure you are sending the events you expect to see in the real time? 您确定要发送希望实时看到的事件吗? Please enable verbose logging and check logcat for the event hits you send to Analytics. 请启用详细日志记录并检查logcat以了解发送到Google Analytics(分析)的事件匹配。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM