I am using the Google Analytics iOS SDK
on a few of the projects I work on. I've been trying to install it on the latest one and have run into the weirdest issue. The issue i'm having is that the libraries and everything builds fine, I have generated a config file for the app I am working on and that looks fine too but as soon as I run the app I get the following message in my console:
Attempted to configure [Identity, Analytics, AdMob, SignIn, AppInvite, CloudMessaging].
2015-07-09 09:02:10.738 [19018:5111252] Successfully configured [].
2015-07-09 09:02:10.738 [19018:5111252] Failed to configure [].
2015-07-09 09:02:10.738 [19018:5111252] Subspecs not present, so not configured [Identity, Analytics, AdMob, SignIn, AppInvite, CloudMessaging].
No matter what I've tried I cannot get Analytics to configure properly :/
Has anyone else run into the problem? I even tried a config file for a different app that was working but that did not work either. Any help would be much appreciated!
I've posted on the Google developer forum here too: https://groups.google.com/forum/?fromgroups#!topic/ga-mobile-app-analytics/aqM-SqNqQLo
Thanks,
Nick
If (not set) appears in your Google Ads reports, it means that the website or app you're tracking in the Analytics account is receiving traffic from a Google Ads account that is not linked to the reporting view.
Google Analytics uses a third-party datasource to determine your visitors' geographical locations. If our third-party vendor does not have an accurate record of the visitor location, Google Analytics displays a (not set) entry.
Disabling Google Analytics Cookies: Simple Solution Disabling cookies with Google Analytics is quite simple: make sure you're using the analytics. js script and set storage to none in the create command (details). That works quite well, but it breaks part of Google Analytics' functionality.
It's OK. You can ignore it. For me I used the code below to implement event tracking:
id<GAITracker> tracker = [[GAI sharedInstance] trackerWithTrackingId:@"UA-000000-1"];
NSMutableDictionary *event = [[GAIDictionaryBuilder createEventWithCategory:category
action:action
label:nil
value:nil] build];
[tracker send:event];
instead of
id<GAITracker> tracker = [[GAI sharedInstance] defaultTracker];
You should add GoogleService-Info.plist in your app. https://developers.google.com/mobile/add?platform=ios&cntapi=analytics&cnturl=https:%2F%2Fdevelopers.google.com%2Fanalytics%2Fdevguides%2Fcollection%2Fios%2Fv3%2Fapp%3Fconfigured%3Dtrue%23add%2Dconfig&cntlbl=Continue%20Adding%20Analytics
Your tracking id and app bundle should be included in the plist document. Also be sure that IS_ANALYTICS_ENABLED TRUE in the document.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With