我最近开始在我的应用中实施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;
}
我不想将其视为一个事件。我该怎么办?
答案 0 :(得分:0)
也许你可以试试这个:
[self.tracker trackView:@"App started"];