当没有互联网连接时,iphone 谷歌分析调用会发生什么? [英] What happens with iphone google analytics calls when there's no internet connection?

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

问题描述

嘿,开发人员!我正在对 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:

如果没有互联网连接,trackPageview 或事件跟踪调用会怎样?当有可用连接时,这些方法调用是否会保留以备将来分派,或者它们是否会生成错误,仅此而已?

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?

预先感谢您的帮助!

推荐答案

GA SDK 有批处理的可能性,也推荐使用.

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

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

"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天全站免登陆