谷歌分析ios sdk V2.0短会话持续时间 [英] google analytics ios sdk V2.0 short session durations

查看:144
本文介绍了谷歌分析ios sdk V2.0短会话持续时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用的应用程序在零售显示器的iPad上使用。该设备已关闭自动锁定功能,该应用将在一分钟不活动后将视频循环显示为一种屏幕保护程序。我们使用GA iOS SDK 2.0测试版来跟踪会话,会话超时时间为60秒。该应用程序在启动时启动会话,并在屏幕保护程序被触摸解除时启动会话。除了我们获得的多个0-10秒的会话之外,这一切都正常工作,平均持续时间为0:00。我们可以启动应用程序,经历几个60秒。会话,然后将这些会话与0-10秒内的2-3次一起报告。会话。从我所看到的应用程序开始会话时,它应该是,所以我想知道这是否与Google如何计算会话有关。

The app I'm working on is used on an iPad in a retail display. The device has auto-lock turned off, and the app will show a video loop as a type of screensaver after a minute of inactivity. We are using the GA iOS SDK 2.0 beta to track sessions, with a session timeout of 60 seconds. The app starts a session on startup, and also when the screensaver is dismissed by a touch. This is all working fine except for the multiple 0-10 second long sessions we get, with average duration of 0:00. We can start the app, go through a couple of 60 sec. sessions, then get those sessions reported along with 2-3 of the 0-10 sec. sessions. From what I can see the app only starts sessions when it is supposed to, so I'm wondering if this is related to how Google calculates a session. I haven't seen anything in the documentation that explains this and I'm stumped.

推荐答案

刚刚从我的朋友那里找到了这个答案

Just found this answer from my friend

http://support.google.com/analytics/bin/answer.py?hl=zh_CN&answer=1144430&topic=1011345&ctx=topic

在我的应用程序中,我只有一个视图控制器使用[tracker trackView:@我的屏幕名称],并且现在我已将此卡在AppDelegate.m中,目前还没有跟踪视图/屏幕。根据链接材料,GA计算会话持续时间的方式基于视图之间的时间。由于我只定义了一个视图(并且在viewController中没有正确定义),这可能是我获得这么多0-10秒会话的原因。去探索。

In my app I only have one view controller that uses [tracker trackView:@"my screen name"] and I have this stuck this in the AppDelegate.m for now as I hadn't got around to tracking views/screens yet. According to the linked material, the way GA calculates session duration is based on time between views. Since I only have one view defined (and not properly within the viewController), this may be the reason I'm getting so many 0-10sec sessions. Going to explore.

这篇关于谷歌分析ios sdk V2.0短会话持续时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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