I saw the following message in my Google Analytics dashboard.
“Your Demographics and Interest Reports have been enabled, but your Analytics tracking code does not include the necessary support to show them. Learn more about the simple, one-line, one-time change to your tracking code to add this support.”
To enable these features for Android, modify your Analytics tracking code to collect the advertising id. Call the enableAdvertisingIdCollection method on the tracker for which you want to enable these features. For example:
// Get tracker. Tracker t = ((AnalyticsSampleApp) getActivity().getApplication()).getTracker( TrackerName.APP\_TRACKER); // Enable Display Features. t.enableAdvertisingIdCollection(true);
For iOS
To enable these features for iOS, collect the IDFA (Identifier for Advertisers). To enable IDFA collection, link the libAdIdAccess.a and AdSupport.framework libraries to your application and set the allowIDFACollection to YES on each tracker that will collect the IDFA.
// Assumes a tracker has already been initialized with a property ID, otherwise // getDefaultTracker returns nil. id tracker = [[GAI sharedInstance] defaultTracker]; // Enable IDFA collection. tracker.allowIDFACollection = YES;
I’m inquiring about this. Normally I would request you fill out a feature request for this and getting it voted up, but there is a bug report around issues with the IDFA collection. Perhaps it’s related. Lets see what Engineering has to say about this.
I didn’t get a response back. Perhaps I emailed the wrong person, or it got lost along the way. This is one reason we don’t like bug reports and feature requests in forum posts, they are too easy to misplaced.
Anyway, lets get it in the system and get it voted up. Given the people commenting on this, it should get a good number of votes.