0

我最近开始在我的应用程序中实施 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;
}

我不想将其作为事件进行跟踪。我该怎么做 ?

4

1 回答 1

0

也许你可以试试这个:

[self.tracker trackView:@"App started"];
于 2013-01-02T15:08:10.397 回答