在没有互联网连接的情况下,iPhone谷歌分析电话会发生什么情况? [英] What happens with iphone google analytics calls when there's no internet connection?

查看:81
本文介绍了在没有互联网连接的情况下,iPhone谷歌分析电话会发生什么情况?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨研究员开发者!
我正在为iPhone应用程序做一些关于Google Analytics产品的调查。我遇到的谷歌分析似乎很不错。不知何故,我没有找到很多关于它的文档。基本上我的担心是:

当没有互联网连接时,trackPageview或事件跟踪调用会发生什么?
这些方法调用是否在有连接可用或者它们产生错误时持久保存以便将来调度?就是这样吗?



预先感谢您的帮助!

解决方案

GA SDK具有批处理可能性,这也是推荐使用的。

为了节省连接和电池的开销,我们建议批量处理您的跟踪请求。您可以在任何时候调用跟踪对象来发出批量请求,并且您可以手动或按特定时间间隔进行此操作。



http://code.google.com/intl/de-DE/mobile/analytics/docs/iphone/


Hey Fellow Developers! I'm doing a little research about Analytics products for iphone apps. I came across google analytics which seems pretty good. Somehow I'm not finding lot's of documentation about it. Basically my concern is:

What happens to a trackPageview or event tracking call when there's no Internet connection? Are these method calls persisted for future dispatch when there's a connection available or do they generate an error and that's it?

Thank you in advance for your help!

解决方案

The GA SDK has batching possibility, which is als recommended to use.

"To save on connection and battery overhead, we recommend batching your tracking requests. You can call dispatch on the tracking object any time you want to make a batch request, and you can do this either manually or at specific time intervals."

http://code.google.com/intl/de-DE/mobile/analytics/docs/iphone/

这篇关于在没有互联网连接的情况下,iPhone谷歌分析电话会发生什么情况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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