Skip to content
Start free Sign in

Google Consent Mode v2: basic vs advanced

Last updated

Google Consent Mode v2 is Google's API framework for communicating user consent decisions to Google tags (Analytics, Ads, Floodlight, and others). When enabled in Kukie, consent signals are sent to Google automatically - no custom code required. Kukie is a Google CMP Partner (Tag Developer ID: dOTA0OT).

Consent Mode v2 lets your Google tags adjust their behaviour based on the consent status of your visitors. Instead of only blocking or allowing Google scripts, Consent Mode tells Google tags exactly what they are and are not permitted to do. In advanced consent mode, Google tags can still send measurements without cookies while a visitor has not consented, which Google uses for conversion modelling in Google Ads.

Version 2 added two parameters to the original five: ad_user_data and ad_personalization. Kukie.io sets all seven.

Basic vs Advanced Consent Mode

Google defines two ways to implement Consent Mode, in its Consent mode overview. The difference is when Google tags load.

Basic mode

In basic mode, Google tags do not load until the visitor interacts with the consent banner. When the visitor consents, the tags load and receive the consent state through Consent Mode. When the visitor does not consent, no data goes to Google at all, not even measurements without cookies.

  • No Google tag runs before a choice
  • No conversion modelling for visitors who do not consent
  • Google Ads optimisation has less data to work with

Basic mode still uses Consent Mode: the consent default is set first, and the visitor's choice goes to Google tags when they load. Turning Consent Mode off in Kukie.io is not basic mode. Google tags then get no consent signals from your banner at all. With Auto-block Scripts on, Kukie.io holds Google's scripts until the visitor accepts the matching category, but tells them nothing about the choice.

Advanced mode

In advanced mode, Google tags load before consent, with the consent default set first. While consent is denied, the tags send measurements without cookies. After the visitor consents, the parameters update to granted and full measurement begins.

  • Enables Google's conversion modelling, which fills measurement gaps from visitors who do not consent
  • Google Ads receives more complete data for bid optimisation
  • While consent is denied, Google tags write no advertising or analytics cookies

Choose a mode in Kukie.io

Which mode you get depends on how Google tags reach your pages. Turn on Google Consent Mode v2 first in every case: new sites start with it on, and existing sites turn it on in Banner Editor > Integrations. In regions whose rule is Opt-out, Notice Only or Hidden, your rules allow data by default, so Google tags load at page load whichever mode you choose. The modes differ in regions where visitors must choose first (Opt-in).

Google Tag Manager loaded by Kukie.io

If you enter your GTM Container ID in Banner Editor > Integrations > Google Tag Manager, Kukie.io loads the container for you. By default it loads the container after a visitor accepts analytics or marketing cookies. That is basic mode: before a choice, and after Reject all, the container does not run at all.

For advanced mode, turn on Load the container before consent under the Container ID. The switch needs Google Consent Mode v2: Kukie.io then loads the container on every page straight after the consent defaults, so the Google tags in it send measurements without cookies before a visitor chooses and switch to full measurement when the visitor consents.

Check the other tags in your container first. Consent Mode only governs Google tags. A tag from another company in the same container, such as a Meta Pixel, ignores the consent signals and would run before the visitor chooses. Fire those tags on the cookie_consent_update event, or add consent checks to them in GTM, before you turn the switch on.

Google tags on your own pages

If your site loads gtag.js or a GTM snippet itself (in your theme, your CMS or a plugin), Google Consent Mode v2 lets those Google scripts through the auto-blocker, so they run in advanced mode.

For basic mode, hold the tag until consent with type="text/plain" and a data-cc-category attribute. The banner script runs it once the visitor accepts that category, and still sends the consent default and the visitor's choice:

<script type="text/plain" data-cc-category="analytics" src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXX"></script>
<script type="text/plain" data-cc-category="analytics">
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-XXXXXXX');
</script>

Replace G-XXXXXXX with your Google tag ID, and use marketing instead of analytics for a Google Ads tag. The tags run only on pages that also load the Kukie.io banner script.

The Kukie CMP template in Google Tag Manager

With the Kukie CMP template, your GTM container loads the banner, so the container is already running before any choice. That is advanced mode, and the template cannot give you basic mode: Google asks you not to load the consent banner through the container in basic mode. For basic mode with GTM, let Kukie.io load your container instead (above).

What Kukie.io cannot do

  • Kukie.io cannot hold a Google tag that your page or your GTM container loads unless you mark it with data-cc-category, or let Kukie.io load the container.
  • Kukie.io does not change consent settings inside your GTM container. Consent checks you add to tags in GTM are yours to keep in step with your banner.

Comparison

Feature Basic Advanced
Google tags load before consent No Yes, without cookies while consent is denied
Conversion modelling No Yes
Data when the visitor declines None Measurements without cookies
Google Ads optimisation Limited Full
Setup in Kukie.io Consent Mode on, and either let Kukie.io load your GTM container after consent (the GTM default) or mark your own Google tags with data-cc-category Consent Mode on, with Google tags on your own pages, the Kukie CMP template, or Load the container before consent for a container Kukie.io loads

Google Consent Mode v2 uses seven parameters. Kukie maps these to cookie consent categories automatically:

Parameter Description Kukie category
analytics_storage Google Analytics cookies Analytics
ad_storage Advertising cookies Marketing
ad_user_data Send user data to Google for ads Marketing
ad_personalization Personalised advertising Marketing
functionality_storage Functional features (e.g. language preferences) Functional
personalization_storage Personalisation (e.g. video recommendations) Functional
security_storage Security features (fraud detection, authentication) Always granted

Tip: Kukie handles this mapping automatically. You do not need to configure individual parameters - just organise your cookies into the correct categories in the Banner Editor.

How Kukie implements Consent Mode v2

Here is the step-by-step flow when a visitor lands on your site with GCM v2 enabled:

  1. Consent defaults set: Kukie's banner script loads and immediately calls gtag('consent', 'default', {...}) with all parameters set to denied (except security_storage, which is always granted). Where your region rules allow data by default, a second default scoped to those regions sets granted (see Region-specific consent defaults).
  2. Developer ID registered: Kukie registers its Google CMP Partner developer ID (dOTA0OT) so Google can identify the CMP.
  3. Banner displayed: The consent banner appears to the visitor.
  4. User accepts: Kukie calls gtag('consent', 'update', {...}) with accepted categories mapped to granted.
  5. User declines: Parameters stay denied. Google tags receive cookieless pings only.
  6. GTM injection: If a GTM Container ID is configured, Kukie loads the container after the visitor accepts analytics or marketing cookies (on Opt-out, Notice Only and Hidden pages, at page load). With Load the container before consent on, it loads straight after the consent defaults instead, on every page. Either way the container starts after the defaults are set, so it picks up the correct consent state.
  7. dataLayer event: A cookie_consent_update event is pushed to the dataLayer for GTM trigger conditions.

Tip: Kukie sets consent defaults with wait_for_update: 500 (milliseconds). This tells Google tags to wait up to 500ms for a consent update before proceeding. This is the Google-recommended value.

Enabling Google Consent Mode v2

A new site starts with Consent Mode on, unless you turned off the Google Consent Mode v2 switch on the Add site form. To turn it on for an existing site:

  1. Open the site's Banner Editor and go to the Integrations tab.
  2. In the Google Consent Mode v2 card, turn on Enable GCM v2.
  3. If you want Kukie.io to load Google Tag Manager, turn on Enable GTM Integration and enter your Container ID.
  4. Select Save configuration.

Note: If you manage Google tags via GTM, enter your Container ID in the field provided. Kukie will inject GTM after setting consent defaults, ensuring the correct initialisation order. Do not add the GTM snippet manually to your site if you use this feature.

Important: Consent Mode passes the visitor's choice on; the banner asks for it. Google also sets out what the banner tells visitors, and the Google Consent Mode v2 card recommends Google's banner text. See Google's banner requirements for Consent Mode.

Using Consent Mode with Google Tag Manager

Option A: Kukie's built-in GTM injection (recommended)

Kukie can inject your GTM container automatically with the correct loading order:

  1. Turn on Enable GCM v2 in the Integrations tab
  2. Turn on Enable GTM Integration
  3. Enter your Container ID (format: GTM-XXXXXXX)
  4. Select Save configuration

Kukie guarantees the correct loading order:

  1. Consent defaults set via gtag('consent', 'default', {...})
  2. GTM container injected into the page
  3. GTM reads consent state from the dataLayer
  4. On consent update, Kukie pushes a cookie_consent_update event to the dataLayer

Tip: With this setup, you do not need to add the GTM snippet to your site manually. Kukie injects it at the correct point in the consent lifecycle.

Option B: Manual GTM with Kukie consent signals

If you prefer to load GTM yourself (e.g. via your CMS or theme):

  1. Enable GCM v2 in Kukie but leave the GTM toggle off
  2. Add the GTM snippet to your site as normal
  3. Kukie will still set consent defaults and fire consent updates via the dataLayer

Important: Ensure the Kukie script loads before the GTM snippet in your HTML. If GTM loads first, tags may fire before consent defaults are set.

Configuring tags in GTM

Google's own tags (GA4, Google Ads, Floodlight) have built-in consent checks. In advanced mode, these tags load immediately but adjust their behaviour based on the consent state. No additional GTM configuration is needed for Google tags.

The same holds in an optimised container, where Google Analytics, Google Ads and Floodlight are destinations with their own tags and share one set of Google tag settings (Updates to Google tag and Google Tag Manager). The destination tags read the consent state Kukie.io sets. If you also set consent defaults in the container's settings, keep them the same as your Kukie region rules, as Google tag settings in your container explains.

For third-party tags in GTM (Meta Pixel, LinkedIn, TikTok, etc.):

  • These do not have built-in consent checks
  • You must add consent requirements in GTM: go to Tag Editor > Advanced Settings > Consent Settings > "Require additional consent for tag to fire" and select ad_storage (or analytics_storage)
  • Replace the "All Pages" trigger with a custom trigger on the cookie_consent_update dataLayer event
  • This ensures third-party tags only fire after consent is granted

Important: Google Consent Mode only controls Google's own tags. Third-party tags like Meta Pixel, LinkedIn Insight Tag, and TikTok Pixel must be blocked separately. Use GTM's consent settings or Kukie's auto-blocker to prevent these tags from firing without consent.

Non-Google tags and script blocking

Google Consent Mode does not control non-Google scripts. If your site uses Meta Pixel, LinkedIn, TikTok, HubSpot, Hotjar, or any other third-party tracking, you need a separate blocking mechanism.

Kukie provides two options:

  1. Auto-blocker: Kukie automatically detects and blocks 30+ known tracker patterns (including Facebook, LinkedIn, TikTok, HubSpot) until the user consents to the relevant category. No configuration needed.
  2. Manual blocking: Add data-cc-category="marketing" (or "analytics") to script tags to block them until the matching category is accepted.

See: Auto-block Scripts for full auto-blocker documentation.

What Google tags are told before a choice depends on the consent model of the visitor's region rule:

Consent model Before a choice After the visitor acts
Opt-in Denied (the global default) Granted for accepted categories
Opt-out Granted by a region default; no update while the banner is on screen Denied for the categories the visitor refuses
Notice Only Granted by a region default; no update while the banner is on screen A granted update when the notice closes by itself, or the visitor's own choice
Hidden Granted by a region default, and a granted update at page load No banner is shown

In every model, the banner script sets the global default to denied first. A visitor whose browser sends a Global Privacy Control or Do Not Track signal your site honours, and who has no choice saved, gets a denied update at page load, whatever the model. The Google Consent Mode v2 article describes each case.

Verifying your implementation

How to check that Consent Mode is working correctly:

  1. Open your site in an incognito/private window
  2. Open DevTools (F12) and go to the Console tab
  3. Before interacting with the banner, type dataLayer and press Enter - you should see a consent default event with all parameters set to denied, and, if some of your region rules allow data by default, a second default with a region list
  4. Accept the banner
  5. Type dataLayer again - you should see a consent update event with granted values for the accepted categories
  6. In a region whose rule is Opt-in, check the Network tab: requests from Google tags before your choice carry no cookies, and with basic mode there are none until you consent

Using Google Tag Assistant

Google Tag Assistant (tagassistant.google.com) provides the most reliable verification:

  1. Open Tag Assistant and connect to your site
  2. Check the Consent tab - it shows all consent parameters and their current state
  3. Before banner interaction: in a region whose rule is Opt-in, all parameters should show denied; in an Opt-out or Notice Only region, they show granted from the region default
  4. After accepting: relevant parameters should show granted
  5. If using GTM: check the Tags tab to verify tags fire according to consent state

Kukie debug mode

Add ?kukie_debug=1 to your URL to see detailed Kukie consent logs in the browser console, including all GCM parameter updates. See Consent Mode debug mode for how to read the report. If a Google tag on your site is served through your own domain or CDN, read Google tag gateway too.

Alternatively, use Kukie's free GCM v2 Checker tool to verify any site's Consent Mode implementation.

Region-specific consent defaults

Kukie's region rules allow different consent behaviour per region, and the banner tells Google tags about it with region-scoped defaults, the method Google describes under "Region-specific behavior" in Set up consent mode on websites:

  • Every visitor gets the global default first: all parameters denied, except security_storage. A visitor Google cannot place in a region keeps it.
  • Regions whose rule is Opt-out, Notice Only or Hidden get a second default with a region list (country codes such as US, and state or province codes such as US-CA), granting what Accept all would grant. Google applies the most specific default for a visitor's region.
  • A stricter state or province inside a country that allows data by default gets a denied default of its own.
  • A visitor who already chose on this device, or whose browser sends a privacy signal your site honours, gets no granted region default. Their stored choice, or the refusal, is sent as an update.

Configure region rules in Banner Editor > Regions. Kukie.io builds the region lists from your rules each time it rebuilds your banner, so there is no per-region Consent Mode setting. If you use the Kukie CMP template in Google Tag Manager, the template's Default Consent Settings table sets the defaults instead.

Two Google settings sit next to the consent signals. Kukie sets them with gtag('set', ...) before the consent default, so they apply from the first page view.

  • ads_data_redaction is always on when Google Consent Mode v2 is enabled. While ad_storage is denied, Google tags remove ad click identifiers from their requests. It has no effect once a visitor accepts marketing cookies, so there is nothing to switch.
  • url_passthrough is off unless you turn on Pass ad clicks through links under Google Consent Mode v2 in Banner Editor > Integrations. While ad_storage is denied, Google tags then keep the ad click identifier in the links a visitor follows on your site instead of in a cookie, so a conversion can still be measured. Your internal links show longer addresses while it is on.

Earlier versions of this article described an "Additional Consent parameters" switch. It was removed in July 2026, because every consent signal is now always sent. Google's Additional Consent, the list of ad technology providers used with the IAB Transparency and Consent Framework, is a different thing and Kukie does not set it.

Troubleshooting

Google tags not firing after consent

  • Check that your GTM Container ID is correct (format: GTM-XXXXXXX)
  • Ensure the GCM v2 toggle is enabled and the configuration is saved
  • Test in a private window: browsers can keep the previous version of your banner for up to 24 hours after you save
  • Verify that the Kukie script is loading on the page (check the Network tab for c.js)

Conversion modelling not appearing in GA4/Ads

  • Conversion modelling requires advanced mode: Google tags that load before consent, with GCM v2 enabled in Kukie
  • Google requires a minimum traffic threshold: approximately 700 ad clicks over 7 days for a given domain and country combination
  • Allow 1-2 weeks for modelling data to appear in your reports
  • Modelling only works for Google's own tags - third-party conversion tracking is not included
  • Ensure the Kukie script loads before any Google tags
  • If using a manual GTM snippet, consider removing it and using Kukie's built-in GTM injection instead
  • Clear your browser cache and cookies, then test again in an incognito window

Help with Consent Mode

If Google tags are not getting Consent Mode signals, or you run into another Consent Mode setup, timing or measurement problem, email Kukie.io's Google client support at google-support@kukie.io first, before you contact Google. We answer within 1 business day.

To copy Google's Consent Mode support team, add cmp-support-helper@google.com to your email, or choose the Google Consent Mode topic in the contact form and select the box.

Official Google Documentation

For Google's authoritative reference on Consent Mode v2, see:

Tip: The ?consentmode=advanced query parameter on the Google Tag Platform link switches the documentation to the Advanced Mode tab. Google tags you load yourself run in this mode while Consent Mode is on, unless you hold them with data-cc-category (see Google tags on your own pages). The page also has a Basic tab.

Follow this guide in your own account

Create a free account to follow this guide: add your site, scan it for cookies and publish your consent banner.

Start free
Was this helpful?

Listed on