Google Analytics not working in ios app

I am using google analytics v3 in ios app (ios7). I have insatlled libraires and framweworks.I follow instructions from https://developers.google.com/analytics/devguides/collection/ios/v3/ . But Google analytics doesn’t work from the magazine I found INFO: GoogleAnalytics 3.06 - [GAIBatchingDispatcher hitsForDispatch] (GAIBatchingDispatcher.m: 281): no pending views. "

+4
source share
2 answers

Perhaps there is no sending?

After initializing the tracker:

[[GAI sharedInstance] trackerWithTrackingId:@"UA-xxxx-x"];

Try this example:

id<GAITracker> tracker = [[GAI sharedInstance] defaultTracker];

NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys:
                        @"appview", kGAIHitType, @"Home Screen", kGAIScreenName, nil];
[tracker send:params];
+2
source

. , , , .

:

  • ( @sjoerd perfors)
  • 1 (, self.screenName = @"posting details";)

.

+1

Source: https://habr.com/ru/post/1538539/


All Articles