I am trying to send a screen to Google Analytics using its SDK (3.11) on iOS, but nothing is happening on the GA console, even after 24h.
I doubled checked the identifier which look like this UA-xxxxxxx-x.
Here is the code I use to setup the SDK :
in my AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [GAI sharedInstance].optOut = YES; [GAI sharedInstance].dispatchInterval = 1; [GAI sharedInstance].trackUncaughtExceptions = YES; [[[GAI sharedInstance] logger] setLogLevel:kGAILogLevelVerbose]; [[GAI sharedInstance] trackerWithTrackingId: self.config.googleAnalyticsTrackingId]; return YES; }
in my ViewController, which inherits from GAITrackedViewController
- (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; self.screenName = @"MyControllerScreen"; }
Any idea ?