0
我最近開始在我的應用中實施Google Analytics V2測試版,我想知道如何跟蹤它何時啓動。我的代碼是:IOS谷歌分析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;
}
我不想將它作爲事件進行跟蹤。我該怎麼做 ?