{"id":895,"date":"2023-11-29T20:46:04","date_gmt":"2023-11-29T19:46:04","guid":{"rendered":"https:\/\/www.cookiebot.com\/en\/?p=895"},"modified":"2026-03-12T08:19:10","modified_gmt":"2026-03-12T08:19:10","slug":"google-consent-mode","status":"publish","type":"post","link":"https:\/\/www.cookiebot.com\/us\/google-consent-mode\/","title":{"rendered":"Google Consent Mode and Cookiebot CMP"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-what-is-google-consent-mode-and-why-is-it-a-big-deal\"><strong>What is Google Consent Mode and why is it a big deal?<\/strong><\/h2>\n\n\n\n<p>Mass collection of users\u2019 personal data from users for targeted advertising online has created a rift. On one side are efforts to protect users from abuse and privacy infringements, and on the other is securing marketing revenue and analytics for websites that rely on this. This data and revenue are needed not only to survive, but also to provide the free content and information that has come to define the Internet as we know it.<\/p>\n\n\n\n<p>Google Consent Mode is a tool that bridges the gap between data privacy and data-driven digital advertising by helping to make sure that your website\u2019s analytics and marketing can run seamlessly based on each specific user\u2019s consent choice.<\/p>\n\n\n\n<p>Consent Mode adjusts how Google services collect users\u2019 data based on their consent preferences. When a visitor opts in or out, Google Consent Mode directs Google Analytics and advertising services to either collect full data (opt in) or only anonymized data (opt out), which doesn't include personally identifiable information.<\/p>\n\n\n\n<p>Originally designed to communicate users\u2019 consent preferences to Google tags for analytics and advertising cookies, Google Consent Mode has since evolved to function more as a signaling tool. Its latest update in November 2023 enables website owners to comply with global data privacy laws, integrate systems, and respect users\u2019 consent choices automatically.<\/p>\n\n\n\n<p><em>Consent<\/em> is becoming a stable requirement of most data privacy laws in the world, including the<strong> <\/strong>EU\u2019s<a href=\"https:\/\/www.cookiebot.com\/en\/gdpr\/\"><strong> General Data Protection Regulation (GDPR)<\/strong><\/a>, which assigns the responsibility of obtaining end-users\u2019 consent prior to processing personal data to website owners and data controllers.<\/p>\n\n\n\n<p>Google Consent Mode helps <strong>build a more sustainable internet economy<\/strong> that brings both elements into greater balance. The tool helps move towards a consent-based dynamic system that respects the privacy and dignity of each individual user without breaking the underlying business model of large parts of the Internet.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What services does Google Consent Mode support?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Google Analytics<\/li>\n\n\n\n<li>Google Ads (Google Ads Conversion Tracking and Remarketing)<\/li>\n\n\n\n<li>Floodlight<\/li>\n\n\n\n<li>Conversion Linker<\/li>\n<\/ul>\n\n\n\n<p>Google Consent Mode can also signal consent state for third-party tags using the \u201cadditional consent\u201d settings if it is manually configured for this purpose.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How does Google Consent Mode work?<\/h2>\n\n\n\n<p>Google Consent Mode is an API that can be used with a consent management platform (CMP) like Cookiebot CMP, with the global site tag (tag.js) or Google Tag Manager (GTM).userce<\/p>\n\n\n\n<p>It enables your users\u2019 consent state to determine how Google\u2019s tags and scripts behave on your website, even though they load before the consent banner appears for users. These tags won't be able to use browser storage though, and personal data will be redacted.&nbsp;<\/p>\n\n\n\n<p>Once consent has been granted these tags gain their normal capabilities.<\/p>\n\n\n\n<p>Your CMP collects user consent preferences, and Google Consent Mode transmits these to Google for further processing. Tags dynamically adjust their behavior, i.e. whether they collect full or anonymised data, based on whether users accept or reject cookies for a specific purpose.<\/p>\n\n\n\n<p>An additional feature, <a href=\"https:\/\/support.google.com\/tagmanager\/answer\/10718549#consent-initialization-trigger\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Consent Initialization<\/strong><\/a>, enables tags that require user consent choice to fire before all other tags.&nbsp;<\/p>\n\n\n\n<p>With the Google Consent Mode updates to Google Tag Manager, you can now see and customize each tag\u2019s consent settings, as well as see which types of consent each tag requires in the<a href=\"https:\/\/support.google.com\/tagmanager\/answer\/10718549#consent-overview\" target=\"_blank\" rel=\"noreferrer noopener\"><strong> Consent Overview<\/strong><\/a>.<\/p>\n\n\n\n<p>Google Consent Mode introduced<strong> two new tag settings<\/strong> that will manage cookies for analytics and advertising purposes on your website:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>analytics_storage<\/strong><\/li>\n\n\n\n<li><strong>ad_storage<\/strong><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Google Analytics 4 (GA4) Consent Mode<\/strong><\/h3>\n\n\n\n<p>With the <strong>\u201canalytics_storage\u201d <\/strong>tag setting, Google Consent Mode controls the behavior of statistics cookies on your website based on the consent state of your end users, making Google Analytics 4 adjust its data collection based on the granular consent choice of each individual user.<\/p>\n\n\n\n<p>If users don\u2019t give consent to statistics cookies, for example, your website will still receive aggregate and non-identifying basic measurements and modeling data, such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>timestamps of visits to your website<\/li>\n\n\n\n<li>user agent, i.e. whether users landed on your website<\/li>\n\n\n\n<li>referrer, i.e. how the user landed on your website<\/li>\n\n\n\n<li>whether the current or prior page in user\u2019s navigation includes ad click information in the URL<\/li>\n\n\n\n<li>random number per each page load<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Google Ads Consent Mode<\/strong><\/h3>\n\n\n\n<p>With the \u201cad_storage\u201d tag setting, Google Consent Mode controls the behavior of marketing cookies on your website based on the consent state of your end users. For example, if a user doesn\u2019t consent to marketing or advertising cookies, Google Consent Mode will ensure that all marketing-related Google tags will adjust and not use those cookies.<\/p>\n\n\n\n<p>If users do not give consent to marketing cookies, your website will still be able to show contextual advertisements based on anonymous data instead of targeted advertising based on tracking of personal data..<\/p>\n\n\n\n<p>Google Consent Mode enables your website to measure conversions related to a specific campaign on an aggregate level, rather than on an individual user level. This helps ensure that you get insights into the performance of your website\u2019s marketing in a fully GDPR-compliant way without the use of personal data.<\/p>\n\n\n\n<p>Additionally, Google Consent Mode enables Google tags to change behavior if a user later changes their consent state. It also enables you to configure Google tag behaviors to specific regions, e.g. automatically ensuring that no cookies are activated without consent for users inside the EU, while using cookies for users in the US.<\/p>\n\n\n\n<p>By using Cookiebot CMP and Google Tag Manager together you can now <strong>control all tags<\/strong> on your <strong>website based on the consent state of your end users<\/strong> without manual configuration.<\/p>\n\n\n\n<p>Combining Google Consent Mode with Cookiebot CMP enables you to receive vital insights and analytics through conversion modeling and non-identifying data if your end users choose to opt out of cookies.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conversion modeling for Google Ads<\/h3>\n\n\n\n<p>Another feature of Google Consent Mode, introduced in April 2021, is <a href=\"https:\/\/support.google.com\/google-ads\/answer\/10081327\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>conversion modeling<\/strong><\/a>, a probability-based and privacy-friendly measurement tool for ad interactions and conversions on your website.<\/p>\n\n\n\n<p>Conversion modeling provides anonymous analytics data on your website for users who choose to reject or decline cookies, filling in missing attribution paths by using observable data from people who chose to opt in to cookies and thereby giving you an estimate of how the anonymous users might have behaved on your domain as well.<\/p>\n\n\n\n<p>Conversion modeling is integrated automatically in your Google Ads campaign reports.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What changes does Google Consent Mode v2 bring?<\/h3>\n\n\n\n<p>Google has introduced two new tag settings with the latest version of Google Consent Mode released in November 2023. These two new tag settings are set based on the same trigger as the \u201cad_storage\u201d key:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u201dad_user_data\u201d: determines whether personal data is sent to a Google service<\/li>\n\n\n\n<li>\u201cad_personalization\u201d: determines whether data can be used for displaying personalized ads (e.g. for remarketing)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How do you integrate Google Consent Mode with Google Tag Manager?<\/h2>\n\n\n\n<p>Google Tag Manager (GTM) can be integrated with or without a Consent Management Platform (CMP).<\/p>\n\n\n\n<p>With a CMP: Some CMPs, including Cookiebot CMP, come with a Tag Manager template that\u2019s designed to work with the Consent API. This template is readily available within the Google Tag Manager interface, which reduces the need for coding and makes the integration process easy to set up.<\/p>\n\n\n\n<p>Without a CMP: Implementing Google Consent Mode without the Cookiebot CMP template tag is only slightly more difficult, as you would need to add an additional script that must be loaded before the Google Tag Manager container.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Cookiebot CMP and Google Consent Mode<\/strong><\/h3>\n\n\n\n<p>Cookiebot CMP fully integrates with Google Consent Mode right out of the box.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" height=\"430\" width=\"770\" src=\"https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2022\/01\/Cookie-consent-2.svg\" alt=\"Usercentrics Cookiebot CMP banner example\" class=\"wp-image-15613\"\/><figcaption class=\"wp-element-caption\">Cookiebot CMP consent banner displayed on your website that enables users to give consent to each cookie category.<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cookiebot CMP scans and detects all cookies and trackers on your website, automatically blocking them until your end users give their consent.<\/li>\n\n\n\n<li>Cookiebot CMP enables users to give their consent through a highly customizable consent banner on your website that is user-friendly details on each specific cookie (such as purpose, provider and duration).<\/li>\n\n\n\n<li>Cookiebot CMP forwards the consent state of the user to the <a href=\"https:\/\/blog.google\/products\/marketingplatform\/360\/measure-conversions-while-respecting-user-consent-choices\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Google Consent Mode<\/strong><\/a>, which then determines the behavior of all tags and scripts from its services based on the consent state, e.g. through Gtag.<\/li>\n<\/ul>\n\n\n\n<p>Once users give their consent through Cookiebot CMP, <strong>only the consent state is forwarded <\/strong>to Google \u2013 i.e. no personal data is sent from Cookiebot CMP to Google, but only the specifics of the anonymous user\u2019s consent, e.g. whether they have accepted marketing cookies or not.<\/p>\n\n\n\n<p><strong><em>Example: Cookiebot CMP and Google Consent Mode at work<\/em><\/strong><\/p>\n\n\n\n<p>A user visits your website and is presented with a Cookiebot CMP consent banner that shows them <strong>four cookie categories<\/strong> up front and the option to see how many cookies and trackers the Cookiebot\u2122 scanner has found on your domain.<\/p>\n\n\n\n<p>The user chooses <strong>not to give their consent<\/strong> to any analytics or marketing cookies, and Cookiebot CMP <strong>keeps<\/strong> <strong>blocking all such trackers from activation<\/strong>, respecting the user\u2019s consent choice.<\/p>\n\n\n\n<p>Cookiebot CMP <strong>sends the user\u2019s consent<\/strong> <strong>state <\/strong>to Google Consent Mode, and this specific consent state becomes the <strong>basis of operation for all Google services<\/strong> that you are using on your website, e.g. by controlling Google Analytics data collection based&nbsp; on user consent states.<\/p>\n\n\n\n<p><a href=\"https:\/\/admin.cookiebot.com\/signup\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Try Cookiebot free for 14 days<\/strong><\/a>\u2026 or forever if you have a small website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Consent is sustainable, targeted advertisement is not<\/h2>\n\n\n\n<p>A \u201cwild west\u201d environment where the mass collection of user data has existed for years on the Internet, but only really surfaced to public knowledge over the last few years. Major news headlines about data breaches and questionable operations by large tech companies have contributed to creating distrust in big tech companies, in addition to growing public awareness of data privacy.<\/p>\n\n\n\n<p>Landmark data protection laws have emerged, partly as a response, most notably the EU\u2019s General Data Protection Regulation (GDPR)<strong>. <\/strong>That regulation empowers individuals in Europe with enforceable rights over the data they generate every day, and defines clear rules and responsibilities for websites and tech companies when processing this data.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Google, consent and the \u201chard block\u201d<\/h3>\n\n\n\n<p>Consent management platforms are a safe and effective way for websites to become compliant with the GDPR, by handing over the controls for the activation of cookies and trackers to the user through consent.<\/p>\n\n\n\n<p>But <strong>when users choose not to consent<\/strong> to analytics and marketing cookies through a website\u2019s CMP, this often means <strong>a hard block<\/strong> of the domain\u2019s analytics and marketing services. These run on such cookies and trackers, so such actions effectively cut off vital analytics insights and marketing revenue streams that are crucial for the commercial survival of not only major tech companies or media domains, but smaller, independent websites and ecommerce operations as well.<\/p>\n\n\n\n<p>Ad blockers and privacy browsers have acted as self-defense tools for end users, but have not been able to solve the larger, structural issues around the coexistence of data privacy and digital advertisement, partly because of their blanket approach to blocking everything, and partly because many users don\u2019t have the time or the skills to defend themselves in this way to begin with.<\/p>\n\n\n\n<p>Add to this <a href=\"https:\/\/www.wsj.com\/articles\/behavioral-ad-targeting-not-paying-off-for-publishers-study-suggests-11559167195\/?redirect=amp#click=https:\/\/t.co\/ai1PWrLffM&amp;ns=prod\/accounts-wsj\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>research showing targeted advertisements provide only marginally better results compared to contextual advertising<\/strong><\/a> that isn\u2019t based on users\u2019 personal data, and the industry move away from mass personal data collection for privacy-infringing behavioral advertising seems to have been an event horizon coming ever closer.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Google moves the Internet, again<\/strong><\/h3>\n\n\n\n<p>When Google launched <a href=\"https:\/\/blog.google\/products\/marketingplatform\/360\/measure-conversions-while-respecting-user-consent-choices\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Consent Mode<\/strong><\/a> in September 2020, website operators got new options so it was no longer only a choice between protecting user privacy and optimizing opt-in rates for websites big and small.<\/p>\n\n\n\n<p>Harvard Professor Emeritus Shoshana Zuboff <strong>argues in <\/strong><a href=\"https:\/\/shoshanazuboff.com\/book\/about\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>The Age Of Surveillance Capitalism<\/em><\/a> that surveillance capitalism \u2014 the business model of mass data collection for user behavioral predictions \u2014 started in 2002 when Google decided to commodify the unfathomable amounts of data their search engine collected.<\/p>\n\n\n\n<p>In 2020, Google\u2019s decision to move the digital advertising industry in the direction of consent with the launch of the Google Consent Mode marks a defining chapter in this story, providing a way forward to a more safe, private and fair Internet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Consent in the making<\/h2>\n\n\n\n<p><strong>Consent<\/strong> is the basis of the <strong>EU\u2019s GDPR<\/strong><a href=\"https:\/\/www.cookiebot.com\/en\/gdpr\/\"><strong>, <\/strong><\/a><strong>ePrivacy Directive and the <\/strong><a href=\"https:\/\/www.cookiebot.com\/en\/european-digital-markets-act-explained\/\"><strong>Digital Markets Act (DMA)<\/strong><\/a>, as well as data privacy laws in other countries, such as Brazil\u2019s <a href=\"https:\/\/www.cookiebot.com\/en\/lgpd\/\"><strong>LGPD<\/strong><\/a>, because it empowers individuals with enforceable rights over all the digital traces of their lives, they live online every day.<\/p>\n\n\n\n<p>But in practice, <strong>consent<\/strong> keeps evolving to become more complex. It was once a mere scroll on a web page or pre-ticked checkboxes on <a href=\"https:\/\/www.cookiebot.com\/en\/cookie-banner\/\">cookie banners<\/a>.<\/p>\n\n\n\n<p>In 2002 and 2009, <strong>the ePrivacy Directive<\/strong> (also known as the <a href=\"https:\/\/www.cookiebot.com\/en\/cookie-law\/\">\u201cEU cookie law\u201d<\/a>) first introduced a requirement for cookie banners on websites. But these cookie banners only required website owners to state that the website uses cookies, with an accompanying \u201cOK\u201d button for users to click on. But cookies and trackers would already be in activation, rendering their consent meaningless.<\/p>\n\n\n\n<p>In 2018, <strong>the GDPR<\/strong> carved out a clear definition of <strong>consent<\/strong> that many data privacy laws around the world have adopted or at the least reflected. Together with courts and data protection authorities this fundamental digital right keeps evolving.<\/p>\n\n\n\n<p>The GDPR defines <strong>consent<\/strong> <strong>as the informed, prior, clear and unambiguous indication of a user\u2019s wishes<\/strong>, i.e. that users must be made aware of exactly how your website processes personal data, what cookies and trackers are in use (including their purpose, provider and duration), and that users have the ability to give their explicit consent to each of these before any processing of their personal data can take place.<\/p>\n\n\n\n<p>The <strong>Digital Markets Act (DMA)<\/strong>, which came into force on November 2022 in the European Union and European Economic Area, reinforces the definition of consent under the GDPR, and requires the companies it has designated as \u201cgatekeepers\u201d under the regulation, as well as third-party businesses using the gatekeepers\u2019 platforms, to collect and process user data only after obtaining valid consent, per this definition.<\/p>\n\n\n\n<p><strong>Cookiebot<\/strong> CMP has pushed to shape <strong>consent management <\/strong>since 2012, to make \u201cconsent\u201d a no-nonsense term with real-world application: <strong>the explicit, informed and empowered voice of the individual person<\/strong> being the governing force for the processing of personal data on our digital infrastructures.<\/p>\n\n\n\n<p><a href=\"https:\/\/admin.cookiebot.com\/signup\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Try Cookiebot CMP free for 14 days<\/strong><\/a>\u2026 or forever if you have a small website.<\/p>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>What is Google Consent Mode and why is it a big deal? Mass collection of users\u2019 personal data from users for targeted advertising online has created a rift. On one side are efforts to protect users from abuse and privacy infringements, and on the other is securing marketing revenue and analytics for websites that rely [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":16658,"comment_status":"closed","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"_acf_changed":true,"editor_notices":[],"footnotes":""},"categories":[1],"tags":[25],"class_list":["post-895","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-google-consent-mode"],"acf":[],"thumbnail_status":"The image is too white. Please, check the original image for faulty SVGs. If the original image is in SVG format, try to upload the PNG or JPEG version instead.","thumbnail_url":"https:\/\/www.cookiebot.com\/us\/wp-content\/uploads\/sites\/8\/2025\/03\/google_consent_mode_and_cookiebot_cmp_hero_alt-1_1200x630_ffffff.png","_links":{"self":[{"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/posts\/895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/comments?post=895"}],"version-history":[{"count":0,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/posts\/895\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/media\/16658"}],"wp:attachment":[{"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/media?parent=895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/categories?post=895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cookiebot.com\/us\/wp-json\/wp\/v2\/tags?post=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}