我在我的-didFinishLaunchingWithOptions 中使用以下代码。但我在 GA 中看不到任何活跃用户。我需要添加更多配置吗?
注意:UAYourTrackingID 是正确的。
// Optional: automatically send uncaught exceptions to Google Analytics.
[GAI sharedInstance].trackUncaughtExceptions = YES;
// Optional: set Google Analytics dispatch interval to e.g. 20 seconds.
[GAI sharedInstance].dispatchInterval = 20;
// Optional: set debug to YES for extra debugging information.
[GAI sharedInstance].debug = YES;
// Create tracker instance.
[[GAI sharedInstance] trackerWithTrackingId:UAYourTrackingID];
[[[GAI sharedInstance] defaultTracker] sendView:@"RootView"];