I recently started to implement Google Analytics V2 beta in my app and i would like to know how can i track when it is launched. My code is:
- (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;
}
I don't want to track it as an event. How can i do it ?
也许您可以尝试以下方法:
[self.tracker trackView:@"App started"];
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.