Regardless of your data source, the first step to setting up a consent solution is to ask your users for their consent. This step looks a little different depending on what data source you want to set consent up for:
- Obtain user consent on your website
- Obtain user consent in your app
- Obtain user consent for data uploads to Google
Obtain user consent on your website
When a user visits your website, you need to ask them for consent so that the Google tag can write and read cookies. To simplify the process of setting up a consent banner, Google partners with consent management platforms. You can also build a consent banner yourself, if your organisation requires it.
Implement a banner from a consent management platform
If you maintain a website, the easiest way to implement a consent banner is to use a consent management platform (CMP). The workflow usually looks like this:
- Choose a CMP and sign up for an account. Refer to the table below for more information on how CMPs have integrated with consent mode.
- Create a new banner through the CMP website. You might need to fill in some details about your data collection practices.
- Install the banner on your website. The CMP provides you with either a code snippet or a Google Tag Manager tag, as well as installation instructions.
- Set up consent mode. Learn more about consent mode best practices.
Consent management platform integrations
Consent management platforms (CMPs) are able to integrate with consent mode and consent settings in Google Tag Manager. Tag Manager featured CMPs have templates available in the Tag Manager Community Template Gallery which are integrated with our consent APIs.
To capture valuable insights while protecting user privacy, you need to collect consent from your website users. We recommend you use a Consent management platform (CMP) or work with your content management system (CMS) to collect consent and send it to Google.
Learn more about how to Set up your consent banner with a consent management platform or a content management system.
If you need to set up a new consent banner and consent mode:
To simplify the deployment of consent banners and consent mode, you can use an integrated CMP partner for setup. This allows you to deploy a banner and implement consent mode within the Google tag user interface with just a few clicks. Learn more about using an integrated CMP partner to set up your consent banner and consent mode
If you already have a consent banner but need to set up consent mode:
One option that you can choose is, to select one of the following CMP partners to integrate with consent mode.
Consent management platforms (CMP)
Custom consent banners
If your organisation requires you to build your own consent banner, you need to integrate with Google’s consent API yourself. For examples of consent language, read cookiechoices.org.
Learn how to integrate with consent mode in the developer documentation: Set up consent mode on websites.
Obtain user consent on your app
When a user interacts with your app, you need to ask them for consent so that the Google tag can write and read cookies. Google partners with consent management platforms to simplify the process of setting up consent settings. You can also build consent settings yourself, if your organisation requires it.
Custom consent banners
If your organisation requires you to build your own consent banner, you need to integrate with Google’s consent API yourself. See this checklist to avoid common mistakes when implementing a consent mechanism that is compliant with the EU user consent.
Learn how to integrate with consent mode in the developer documentation: Set up consent mode for apps.
Obtain user consent for data uploads to Google
To keep using measurement, ad personalisation and remarketing features, you must collect consent for use of personal data from end users based in the EEA and share consent signals with Google. The requirements also apply if you are using Google Analytics data with a Google service. This is part of Google’s ongoing commitment to our EU user consent policy and customer data policies.
When a user grants consent to these parameters, Google products can use the uploaded data for advertising purposes. When a user denies consent, their data isn’t used for measurement and ad personalisation. If you don’t send consent signals, you will lose ads personalisation capabilities.
The following capabilities need to receive user consent for ad personalisation starting March 2024:
- Shop sales uploads with Customer Match integration
- Customer Match
- Ads Data Hub
How you obtain user consent for data uploads depends on your business. Consult with your legal team to find the best solution for your business.
How to send consent for data you upload to Google
To maintain access to customer match capabilities with shop sales data originating from EEA users, you must pass shop sales data with consent values for both ad_user_data
and ad_personalization
.
Only when consent is granted, data is usable for customer match with shop sales.
Depending on how you upload data to Google, you can send consent signals by using one the following options:
- Google Ads API v15 or newer. Make sure that you send consent parameters.
- Direct uploads in Google Ads. Open Google Ads uploads.
Learn more about bulk uploads. - Ads Data Hub for Marketers
- Ads Data Hub for Measurement Partners
Next steps
Now that you have set up a mechanism to obtain user consent, you can implement Google’s consent mode.