Consent Mode Implementation
Consent Mode Implementation
Consent mode
EMEA user presence
PCM IMPLEMENTATION GUIDE
User clicks on ad
Cookie settings
Cookies are used to provide you with the best
possible experience. They also allow the
system to analyze user behavior in order to
constantly improve the website for you.
Privacy Policy.
User rejects User consents
MARKETING Accept all Accept selection Reject all MARKETING
Conversions
User converts
User provides consent reported normally
Attribution recovered by
User does not gs ed
Ta ock Conversion Modeling -
User clicks on a provide consent bl Advanced setup
Un
digital ad Unconsented ping sent to Google; User converts
T
Blo ags
Google tags load no ad click identifier sent unless Attribution recovered by
URL passthrough enabled cke Conversion modeling -
d Basic setup
No conversions
User does not convert reported
Working with the advanced setup means that data from both consented and unconsented users can be used to
build the model. This leads to the more accurate modelling. The advanced setup does not have a click threshold for
modeling to be active. The basic setup means that only data from consented users will be used, which leads to a
less accurate modelling. It comes with a click threshold that has to be met in order for the modeling to be active.
As with any other data from our tags, Google will keep your data confidential and secure using the same
industry-leading standards used to protect our own users’ data.
Early results from Google Ads have shown that, on average, conversion modeling through Consent mode recovers
>70% of ad-click-to-conversion journeys lost due to user cookie consent choices.
No Yes
No Yes
3a. Are you using Google tag or 3b. Is the CMP integrated as per
Google Tag Manager? this Help center article?
High ease of use as integrated CMPs It is recommended to create your You will have to manually add
provide implementation support and own template using Tag Manager consent code to each page of your
templates for Google tag and Google Consent APIs. site as direct commands or in a
Tag Manager. custom HTML snippet.
Consent Management Platforms allow for simpler implementation of Consent Mode. Find the implementation
steps for the most common CMPs below and the full overview of integrated CMPs and links to their
implementation guidance in this Google Help Center article.
Cookies previously
set on Google /
Cookies
Doubleclick
domains; Conversion
cookies set on
advertiser domain
More observable data, less modeling Less observable data, more modeling
Full details available in the Ads Help Center; Across all cases, as part of regular HTTP / browser communications, pings may
include: Functional Information: time stamp, user-agent, referrer Aggregate / Non-identifying Information: random number
generated on each page load, boolean indicating consent state, indication of whether the current page or a prior page in the user's
navigation on the site included ad-click information in the URL (e.g., GCLID / DCLID) Other fields set by the advertiser: continue to
be sent normally (e.g., order_id, conversion value).
As with any other data from our tags, Google will keep your data confidential
Note and secure using the same industry-leading standards used to protect our own
users’ data. For more details, review this article.
Implementing Consent mode
Step 1: Ensure your tag is aligned with the default of your banner
By default your banner does not track cookies, By default your banner tracks cookies, unless a
unless a user specifies they want to use user specifics they don’t want to track cookies
cookies for analytics and marketing purposes. for analytics and marketing purposes.
Update your tag based on your Update your tag based on your
default cookie setting: default cookie setting:
In this example, a user actively decides to In this example, a user decides deny
check the boxes to accept cookie for cookies for analytics and marketing
analytics and marketing purposes, sending purposes, sending an update call that the
an update call to Google that the default default setting has changed by adding:
setting has changed by adding:
<!-- Update this section based on your business <!-- Update this section based on your business
requirements. --> requirements. -->
<script> <script>
function consentGranted() { function consentGranted() {
gtag('consent', 'update', { gtag('consent', 'update', {
'ad_storage': 'granted' 'ad_storage': 'denied'
}); });
Step 1: Ensure your tag is aligned with the default of your banner
By default, your banner does not track cookies, By default, your banner tracks cookies, unless a
unless a user specifies they want to use user specifics they don’t want to track cookies
cookies for analytics and marketing purposes. for analytics and marketing purposes.
Update your DataLayer push based Update your DataLayer push based
on your default cookie setting: on your default cookie setting:
dataLayer.push({ dataLayer.push({
'event': 'default_consent' 'event': 'default_consent'
}); });
In this example, a user actively decides to check the In this example, a user decides deny cookies for
boxes to accept cookie for analytics and marketing analytics and marketing purposes, sending an
purposes, sending an update call to Google that the update call that the default setting has changed
default setting has changed by adding: by adding:
Update your DataLayer push based Update your DataLayer push based
on your default cookie setting: on your default cookie setting:
<!-- Update this section based on your business <!-- Update this section based on your business
requirements --> requirements -->
<script> <script>
function consentGranted() { function consentGranted() {
gtag('consent', 'update', { gtag('consent', 'update', {
'ad_storage': 'granted' 'ad_storage': 'denied'
}); });
} }
</script> </script>
<body> <body>
... ...
<button onclick="consentGranted">Yes</button> <button onclick="consentGranted">Yes</button>
... ...
</body> </body>
There are two implementation status that indicate Consent Mode has been implemented successfully. Consent
Mode could be implemented, with no modeling active yet. In that case, modeling will be active once the click
threshold is met. Also, Consent Mode could be implemented with modeling being active. In that case you will be
able to see modeling uplift impact results about 7 days after you implement Consent Mode. Modeling uplift
numbers on a domain x country level will be shown for 4 weeks after the publish time, which starts once you meet
volume and modeling thresholds for a country.
There are two methods to find your Consent Mode implementation status and impact results in Google Ads:
1. Click the Tools and settings icon on the upper right corner
of the navigation menu.
2. Under “Measurement”, click Conversions.
3. Find the conversion action you want to check. Under the
“Tracking status” column, your conversion action should
indicate “Recording conversions”. Hover over it and a card
will show the status of the conversion tag.
4. The hovercard should indicate “Conversion modeling for
Consent mode is active.”
5. Click View impact to be redirected to the Diagnostics page.