Set up and manage consent
Consent mode reference
Overview: Consent mode parameters
The visual representation below is for illustrative purposes only and should not be considered legal guidance.
👁 An illustration of a cookie consent banner.
| Consent Type | Description |
| ad_storage | Enables storage (such as cookies) related to advertising. |
| ad_user_data | Sets consent for sending user data related to advertising to Google. The ad_user_data consent type is required for measurement use cases, such as enhanced conversions and tag-based conversion tracking. |
| ad_personalization | Sets consent for personalized advertising. |
| analytics_storage | Enables storage (such as cookies) related to analytics e.g. visit duration. |
The visual representation below is for illustrative purposes only and should not be considered legal guidance.
👁 An animation showing a cookie consent banner and what happens if you accept or deny cookies.
In addition to the consent mode parameters, there are the following privacy parameters:
| Storage Type | Description |
| functionality_storage | Enables storage that supports the functionality of the website or app e.g. language settings. |
| personalization_storage | Enables storage related to personalization e.g. video recommendations |
| security_storage | Enables storage related to security such as authentication functionality, fraud prevention, and other user protection. |
Tag behavior with consent mode
If all consent options are granted, tags behave as follows:
|
Web |
Mobile apps |
|
|
When one or more forms of consent are not granted (not set or denied), there are additional behaviors to consider:
|
|
|
Web & Mobile apps |
|
Personalized advertising is disabled, the following features won't receive data:
|
|
|
|
Web & Mobile apps |
|
|
|
|
|
Web |
Mobile apps |
|
|
|
|
|
|
Web |
Mobile apps |
|
|
|
Web & Mobile apps When Cookieless pings, as part of regular HTTP/browser communication, may include the following information: user agent, screen resolution, IP address. Note that Google Analytics does not store or log IP addresses. If an advertiser sets other fields, such as user_id and custom dimensions, they will be sent normally. The data collected in the cookieless ping is used for behavioral and conversion modeling, to fill the gaps in your data. |
|
|
|
|
Web |
|
