How To Set Up The Consent Mode

How to set up the Consent Mode

Last updated on October 17, 2025 at 10:42 AM

From the user’s perspective, the most direct experience of Consent Mode is that when entering the website, you will receive a pop-up window, also called a cookie banner. The user will be asked here whether he agrees to the collection of relevant data by the website, and the user can make the appropriate choice. When the website backend or other platforms receive relevant instructions, they will perform corresponding processing, such as whether to collect user data, what data to collect from users, etc. The picture below is the cookie banner of Amazon’s German website. Currently, when we visit the United States and other non-EU sites, we will not receive relevant reminders.

Ad 4Nxc3Lvgb8K5Fgelgcgwhvp5Zydapuxl5Zdashdf0Cjn9Pussz7Qikmaqbc Okvmx7Zvjzp9I5Tra9Oobikt5Xg9Tij95Jbp4Dcjvy0O3Cc Fgqwblumxwaxut8Pgki0Yibjtkb8Ozg?Key=Ddfl1Wspd Vgklkbq3Necvsq

Introduction to Consent Mode

What is Consent Mode?

Consent Mode is a privacy protection mechanism developed by Google that allows website and application developers to dynamically adjust the behavior of Google code and third-party tracking tools based on users’ consent to data collection.

There are two opinion solicitation modes, one is the basic opinion solicitation mode and the other is the advanced opinion solicitation mode. Their differences are shown in the table below. It is recommended that you set up the advanced opinion solicitation mode. This article also introduces the setting of this opinion solicitation mode.

FunctionBasic Consent ModeAdvanced Consent Mode
Code loadingBlocked until the user interacts with the consent banner.Loads it and sets the default consent to Deny (unless configured otherwise).
Data transferNo data is sent without the user’s consent (including default consent).If the user chooses to decline, a consent and cookie-free ping is sent.
If the user chooses to agree, the cookie is written and all measurement data is sent.
ConsentSet after user interaction.Set default consent to Deny (unless configured otherwise); update based on user consent results.
Code behavior after user interactionLoad and execute the consent mode API only after the user has given their consent.Adjust code behavior based on user input.
Estimate conversions based on modelRegular model (less detailed modeling).Advertiser-specific models (more detailed modeling).

Reasons for implementing Consent Mode

The main reason for the introduction of the Consent Mode is to comply with the requirements of relevant laws and regulations, mainly the two regulations GDPR (General Data Protection Regulation, General Data Protection Regulation) and DMA (Digital Markets Act, called Digital Act), mainly the legal requirements in the European Union. Other countries and regions also have relevant regulations on privacy and data security. Of course, the current opinion solicitation model is mainly to cope with the relevant regulations of the European Union. For other reasons, you can also refer to the table.

Reasons for implementationSpecific instructions
Legal ComplianceMeet GDPR, DMA and other regulatory requirements to ensure valid consent is obtained before storing/sharing user data
Data ContinuityAlleviate data disconnection problems caused by user rejection through signaling and machine learning modeling
Unified managementStandardize the interaction between CMP (Consent Management Platform) and tracking code to simplify multi-platform compliance management
Advertising optimizationIn advanced mode, the conversion model built based on desensitization signals is more than 30% more accurate than the basic mode.

Consent Mode setting tutorial

Consent Mode check

Here is a tool that can help us easily check whether the website has correctly set up the opinion solicitation mode. You only need to enter your website URL and you will get the corresponding results. If you need to use it, you can directly click on the picture below to use it. If your website does not have the opinion solicitation mode set up correctly, you can continue reading below to complete the relevant settings.

Ad 4Nxcqufllfqixsaus48Mshvrmwkv7Ad Csm5X7 Ou24Apdjhcnp0Xxdrm5Lssnxfnvggkbewfxqq Kf8Fmtv6Hmlk79Gws1Aukiya9Fck1Dgp Tpvcgeni Eo70Zjqhblytdt8Phw3Q?Key=Ddfl1Wspd Vgklkbq3Necvsq

Set up the Consent Mode via GTM + CMP

1. Click CookieYes official website, click Free Trial and register an account.

Ad 4Nxdui1B5Do H5Xjbig1Nwlhtiie Vo2Rmyi7Rewazdfpu3G1K Mgcko0Oh86V8Mnsu0G1Sgb3Bxz6Ckr8Xir Twlrcvwflzb6Jj Sqy2Oqzh8Ecpo3Cr3Tbo8K0Jf 8Ikfhuciip?Key=Ddfl1Wspd Vgklkbq3Necvsq

If your website traffic is still relatively small, you can choose the free package and upgrade to the paid package if necessary later.

Ad 4Nxf F1Medtyuovcdg2Xfk1Du9Qjpgbrdir8Nauzstvvwtgywioa3F

2. Enter your email address, website and password to complete the account registration.

Ad 4Nxdhmsxxqoflxv7Wqwtir5Oweoyjgbvyclvryah 9Lsnat2Bou8Le0 699Am I6Df20Cvsunlkqkgteznfl20X4Wfqqwobwtj Nn6

3. You can set the style, language, layout and color of your cookie banner, which can be modified later. If you are not sure what style you need, you can leave it as default and change it later.

Ad 4Nxeqqfkndgzatjgmeeaqtbdbiqb4Pzc Vcomaphlyocz0Jvge J6Tgcxwhvmwa7Bkkkzzn Sg8Mvmstiostat4Znitwqgbpzbbgzztspatstvm3Eejbr9O Ajede7Fauimck8Nlq G?Key=Ddfl1Wspd Vgklkbq3Necvsq

4. Choose how to install the code. Here we choose “Install with Google Tag Manager”.

Ad 4Nxcnp1B5Rrj04Fzkqgjahqq9Nqqjpioywyokx7 Pixq Hfpzxovijmvy2Gna Hsr35M9Rylz1Wrji6Chywndftdv8Rdykj3S0Iho6Jnw6W0No8Vd41Nbuectu6Zj6Z89Soird96Tga?Key=Ddfl1Wspd Vgklkbq3Necvsq

5. A Key will be generated here, which we will use in the next step.

Ad 4Nxcnlmici4Nqd6Plr3Zo48Ia Icbnjvy L64H1Ymrp1Y8Gzxlo

6. Next we need to log in to Google Tag Managerhttps://tagmanager.google.com/ , add the CookieYes CMP template.

7. In the workspace, click “Tags”. To add a tagl, click “New”.

8. Enter the tag name and click “Tag Configuration” > ”Discover more tag types in the Community Template Gallery” and search for “CookieYes CMP”

Ad 4Nxfgng

9. Select the CookieYes CMP template and click Add to Workspace > Add to add it to your GTM installation.

Ad 4Nxfcmifq0Ifn4Nhsop 16Lasudnbmqzonyfsdb6Aic17Bgf Getej6Gef 2Pympjt0Dui1Y1R42Whtsxhikxfsdu5Ok38Utf5Hkdoixala1Hucryf5Mcc

10. Select the banner configuration according to your needs through the configuration tag. Enter your website key (the key you created the account with earlier) and set the default consent settings and other settings.

11. Trigger selection “Consent Initialization – All Pages”

Ad 4Nxdl1Gs3S4Ydye0Svi46Kt8Ib4Dcx9Pvsopcxuhnj7E O6Lecz0Ftug2Metgp Kykyh0Xqgcabqd5Lew49Kwrcuica0Ewctu9Lwg8O6Pfizkh9Voryws3 Ih3Ylaivi3 Hwo3Ek Eg?Key=Ddfl1Wspd Vgklkbq3Necvsq

12. Finally, click Save and Publish.

13. Return to this interface and click Verify. If passed, it means we have set it up successfully.

Ad 4Nxfhzuxi9Esurnikr7Aytxuzsydflb 6D7H5Q6Ck Bwie0I9Kkr4Wn4Kn6Nabyb2Wskzwqecew07Ktcs8Dzywmmyuz7Htwuidtmlxzsz96S7Fpntpim43Gdi Udf0Ojry0Bnrg5C6Q?Key=Ddfl1Wspd Vgklkbq3Necvsq

14. In the backend, we can set the content of Consent Mode.

Ad 4Nxejgppsud9 Hol 69 Vws Onpvpaksnhiw Ncvnsgqg8Gbaoh Wnjssfjd9Jwzh4Miclujyqzhpggus0Ietsiiha7Umxp0Kp8Gbeubxhbtxogbnrdzqvtabkghdrdxseb3Fpymfwg?Key=Ddfl1Wspd Vgklkbq3Necvsq

The above is the tutorial for setting up the Consent Mode. I hope it can help you. If you have any questions, you can leave me a message.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top