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.
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.
| Function | Basic Consent Mode | Advanced Consent Mode |
| Code loading | Blocked until the user interacts with the consent banner. | Loads it and sets the default consent to Deny (unless configured otherwise). |
| Data transfer | No 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. |
| Consent | Set after user interaction. | Set default consent to Deny (unless configured otherwise); update based on user consent results. |
| Code behavior after user interaction | Load 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 model | Regular 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 implementation | Specific instructions |
| Legal Compliance | Meet GDPR, DMA and other regulatory requirements to ensure valid consent is obtained before storing/sharing user data |
| Data Continuity | Alleviate data disconnection problems caused by user rejection through signaling and machine learning modeling |
| Unified management | Standardize the interaction between CMP (Consent Management Platform) and tracking code to simplify multi-platform compliance management |
| Advertising optimization | In 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.
Set up the Consent Mode via GTM + CMP
1. Click CookieYes official website, click Free Trial and register an account.
If your website traffic is still relatively small, you can choose the free package and upgrade to the paid package if necessary later.
2. Enter your email address, website and password to complete the account registration.
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.
4. Choose how to install the code. Here we choose “Install with Google Tag Manager”.
5. A Key will be generated here, which we will use in the next step.
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”
9. Select the CookieYes CMP template and click Add to Workspace > Add to add it to your GTM installation.
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”
12. Finally, click Save and Publish.
13. Return to this interface and click Verify. If passed, it means we have set it up successfully.
14. In the backend, we can set the content of Consent Mode.
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.

