![](/img/trans.png)
[英]Tracking Screen Hierarchy with Google Analytics SDK for iOS v2
[英]IOS Google Analytics V2 session tracking
我最近开始在我的应用程序中实现Google Analytics V2 beta,我想知道如何跟踪它的启动时间。 我的代码是:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[GAI sharedInstance].debug = YES;
[GAI sharedInstance].dispatchInterval = 120;
[GAI sharedInstance].trackUncaughtExceptions = YES;
self.tracker = [[GAI sharedInstance] trackerWithTrackingId:@"ID"];
self.tracker.sessionStart = YES;
return YES;
}
我不想将其作为事件进行跟踪。 我该怎么做 ?
也许您可以尝试以下方法:
[self.tracker trackView:@"App started"];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.