Issue summary:
In your documentation
"https://developers.google.com/analytics/devguides/collection/ios/v3/advanced"
there is a small documentation bug that might first glance confuse developers
without some experience (as me):
The method "initializeGoogleAnalytics" has no arguments, so the method
definition should have no ":", therefore correct would be
- (void)initializeGoogleAnalytics {
[[GAI sharedInstance] setDispatchInterval:kGaDispatchPeriod];
[[GAI sharedInstance] setDryRun:kGaDryRun];
self.tracker = [[GAI sharedInstance] trackerWithTrackingId:kGaPropertyId];
}
But you write it with ":"
- (void)initializeGoogleAnalytics: {
[[GAI sharedInstance] setDispatchInterval:kGaDispatchPeriod];
[[GAI sharedInstance] setDryRun:kGaDryRun];
self.tracker = [[GAI sharedInstance] trackerWithTrackingId:kGaPropertyId];
}
Kind regards and thank you for fixing it!
Thomas Wolf
Original issue reported on code.google.com by thomas.w...@googlemail.com on 2 Jan 2016 at 2:35
Original issue reported on code.google.com by
thomas.w...@googlemail.com
on 2 Jan 2016 at 2:35Attachments: