AdMob/Analytics Demographics and Interest Reports

Dain Binder

Member
@appyet, could you add the below code to the build to enhance the Google Analytics and AdMob data collection?

Below taken from: https://developers.google.com/analytics/devguides/collection/android/v4/display-features

To enable these features for Android, modify your Google 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);
 
Top