各位开发者大家好! 我正在对 iphone 应用程序的分析产品进行一些研究。我遇到了看起来不错的谷歌分析。不知何故,我没有找到很多关于它的文档。基本上我关心的是:
当没有 Internet 连接时,trackPageview 或事件跟踪调用会发生什么情况? 当有可用连接时,这些方法调用是否会保留以供将来分派(dispatch),或者它们是否会生成错误,仅此而已?
预先感谢您的帮助!
最佳答案
根据谷歌。他们的文件说
If a user loses network access or quits your app while there are still hits waiting to be dispatched, those hits are persisted in local storage. They will be dispatched the next time your app is running and dispatch is called.
您可以在以下位置阅读更多有关调度如何发生的信息: https://developers.google.com/analytics/devguides/collection/ios/v2/dispatch
关于iphone - 没有互联网连接时,iphone google analytics 调用会发生什么情况?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4484748/