I’m having trouble with Google Analytics timing data not appearing in my dashboard. The timing events seem to be sending successfully but I can’t find them anywhere in the app speed section of my Google Analytics account.
Other tracking works fine like events and crash reports. Those show up without any problems. But the speed timing stuff just doesn’t appear.
Here’s my code for sending the timing data:
self.finishTime = [NSDate date];
double duration = [_beginTime timeIntervalSinceDate:_finishTime];
NSLog(@"duration: %f", duration);
if([[[GAI sharedInstance] defaultTracker] sendTimingWithCategory:categoryName
withValue:duration
withName:@"PageLoadTime"
withLabel:categoryName]) {
NSLog(@"Timing data sent to Google Analytics");
}
The console shows this message so it looks like it’s working:
GoogleAnalytics 2.0b4 - Successfully dispatched hit (0 retries)
But still nothing shows up in the reports. Has anyone else run into this issue? Any working examples would be really helpful.