我最近开始在我的应用程序中实施 Google Analytics V2 测试版,我想知道如何跟踪它何时启动。我的代码是:
- (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;
}
我不想将其作为事件进行跟踪。我该怎么做 ?