Load only after consent (positive or negative)
In this scenario, tags are loaded only after consent (positive or negative). If the user consent status is available because the user has already given consent through the CMP, the user consent status is passed to the tag. If the user consent status is not available yet (the CMP is still displayed), the tag is loaded only after consent regardless of the status.
Tags and vendors are split into four categories:
The behavior may vary depending on the type of tags and vendors. Please contact your vendors if the behavior you are looking for is not the one currently applied.
Vendors that block the tag by default
You have nothing to add on your side. The current consent state will be sent automatically on each request.
Vendors
There is no clear list of vendors that automatically collect the user consent status from AMP. They can usually be identified through their AMP configuration by checking if they reference the consentState
parameter.
List of vendors and their configurations:
amp-ad
with a RTC config
amp-ad
with a RTC configIf you want to send the bid request regardless of the consent state, you can add a sendRegardlessOfConsentState
in the RTC config JSON object and set it to true
. Even if the consent is rejected
or dismissed
, a call will be made to the vendor. It is particularly useful when the vendor support the IAB consent string. For more information related to the support of the IAB consent string, please contact your vendors.
To see if the vendor is able to receive the consent state or the consent string, you can take a look at this list and see if the macros CONSENT_STATE or CONSENT_STRING are available in their configuration.
Example of amp-ad
with the type DoubleClick
and a RTC Config with APS
.
Send RTC call regardless of consent state
This option allows you to send the bid requests of the vendors present in the RTC configuration regardless of the consent state (accept/reject/dismiss). By default, the bid request is only sent if the user accept the consent.
You can find more information on the AMP documentation.
Summary
Case
RTC Call
Consent State
Consent String
Ad
Page load
Not sent
Not available
Not available
Not displayed
Dismiss the banner
Sent
Unknown
Not available
Not displayed
With use of data-npa-on-unknown-consent: Non-personalized
Accept consent
Sent
Accepted
Available
Personalized
Reject consent
Sent
Rejected
Available
Non-personalized
More information about the amp-ad
with RTC configuration.
amp-ad
without a RTC config
amp-ad
without a RTC configIf you want to unblock an amp-ad
when a consent (positive/negative) is given, you can add the _till_responded
value to the data-block-on-consent
attribute.
More information about the amp-ad
without RTC configuration.
Summary
Vendors supporting non-personalized ads
Case
Ad
Page load
Not displayed
Dismiss the banner
Not displayed With use of data-npa-on-unknown-consent: Non-personalized
Accept consent
Personalized
Reject consent
Non-personalized
Vendors not supporting non-personalized ads
Case
Ad
Page load
Not displayed
Dismiss the banner
Personalized
Accept consent
Personalized
Reject consent
Personalized
Other tags/vendors
If you want to unblock any other tags supporting the data-block-on-consent
attribute when a consent (positive/negative) is given, you can add the _till_responded
value to the data-block-on-consent
attribute.
Summary
Configuration
When is the tag loaded
Default (no data-block-on-consent
)
Tag is loaded on page load.
With data-block-on-consent="_till_responded"
Tag is loaded once a consent (positive or negative) is given.
Last updated