Optional Features

Enabling advertising features

After you've configured your Android app, you can optionally enable advertising features in the app to collect advertising identifiers. These features allow you to take advantage of Demographics and Interests reports.

To enable advertising features in your app, call the enableAdvertisingIdCollection method on the tracker:

// Enable Advertising Features.
mTracker.enableAdvertisingIdCollection(true);

When using these features, please make sure to review and adhere to all applicable SDK policies.