Consent Management
Learn about the Consent Management feature for mobile.
Tealium Consent Management adds consent and data privacy support to your mobile app. It also adds the ability to prompt your users for consent, retain their selection, and honor that selection throughout the tracking behavior.
The behavior of the Consent Manager is controlled by a consent policy, which is based on the region of the app user.
Consent Policies
The Tealium Consent Manager is designed to support multiple regulatory requirements and can be adapted to support new ones as they emerge. These policies are configured at initialization time by setting the TealiumConfig
consentPolicy
property.
GDPR
Tealium iQ Tag Management and EventStream support the General Data Protection Regulation (GDPR) as the default policy.
Consent Status | Description |
---|---|
Not Set (default) | Tracking calls are queued locally until consent status is set. |
Consent | Tracking calls are sent. Consent categories are included in all tracking calls. If consent logging is enabled the grant_consent event is sent. |
Declined | Tracking calls are not sent. If consent logging in enabled the decline_consent event is sent. |
CCPA
Tealium iQ Tag Management supports the California Consumer Privacy Act (CCPA) policy.
Consent Status | Description |
---|---|
Not Set (default) | Tracking calls are sent. The do_not_sell flag is set to false .Tags are unaffected. |
Consent | Tracking calls are sent. The do_not_sell flag set to false .Tags are unaffected. |
Declined | Tracking calls are sent. The do_not_sell flag is set to true .Tags configured in the “Affected Tags” section of the CCPA Consent Manager are not triggered. |
Available Actions
The following actions are available with the Consent Management module.
- Set Consent Status
- Set User Consent Categories
- Reset User Consent Preferences
- Set Consent Logging Enabled
- Set Consent Policy
- Get Consent Policy
Supported Platforms
Support for the following libraries is provided:
- Android (Java) - Included in the library and enabled in the native code upon initialization.
- Android (Kotlin) - Included in the library and enabled in the native code upon initialization.
- Cordova
- iOS (Objective-C) - Included in the CocoaPods framework builds.
- iOS (Swift) - Included and enabled in Carthage and CocoaPods framework builds when the
ConsentManager
module is added to your Podfile. - React Native
- Xamarin
For a full feature comparison, see the Mobile Feature Comparison.
Data Layer
The following data layer variables are included with each tracking call when the Consent Management module is in use:
Variable Name | Description | Examples |
---|---|---|
policy |
The policy under which consent was collected (default: gdpr ) |
gdpr or ccpa |
consent_status |
The user’s current consent status | consented or notConsented |
consent_categories |
An array of the user’s selected consent categories | ["analytics", "cdp"] |
do_not_sell |
Only set if the CCPA consent policy is active | true or false |
This page was last updated: February 21, 2023