Skip to content
Back to Documentation

COKIQ docs

Basic vs Advanced Consent Mode

Choose basic or advanced Google Consent Mode v2 per site in COKIQ, see what each mode sends to Google, and test it with Tag Assistant.

Best for

Site owners, marketers and agencies who run GA4, Google Ads or Google Tag Manager behind the COKIQ banner.

What the report shows

These are the product-side evidence areas COKIQ can surface when the site has the required scan, banner, consent log, and blocker data.

Basic (default for existing sites)

Google describes basic consent mode like this: Google tags are blocked from loading until the user interacts with a consent banner; before the interaction, no data is transmitted to Google. In COKIQ, basic mode holds gtag.js and the GTM container until the visitor accepts analytics or marketing. If the visitor declines, Google tags never load on that visit.

Advanced

Google describes advanced consent mode like this: Google tags are loaded when the user opens the website; they set the consent defaults (denied unless otherwise configured), send cookieless pings while consent is denied, and send full measurement data only when consent for the corresponding consent types is granted. In COKIQ, advanced mode lets your Google tags load and COKIQ sets ad_storage, analytics_storage, ad_user_data and ad_personalization to denied before any tag runs.

Same in both modes

Denied defaults are set first (with wait_for_update 500 ms), the consent update is sent after every choice, the cokiq_consent_update event is pushed to the dataLayer, and the choice is logged as evidence.

Setup steps

Step 1

Open Banner settings

In the COKIQ dashboard, open Banner, pick the domain and find the Google Consent Mode v2 card.

Step 2

Pick a mode and save

Choose Basic or Advanced and save. The live script for that domain changes on the next page load; no new embed code is needed.

Step 3

Keep the COKIQ script first

Load the COKIQ script before your Google tag or GTM container (top of <head>, or the COKIQ GTM template on the Consent Initialization trigger).

Step 4

Test with Tag Assistant

Open tagassistant.google.com, connect your site, and check the Consent tab: the default state should show all four signals denied, and an update should appear after you click a banner button. In basic mode the Google tag only appears after you accept.

Step 5

Compare with our demo

Our public demo pages show both modes side by side: cokiq.com/demo/consent-mode/basic and cokiq.com/demo/consent-mode/advanced.

Implementation checklist

  • COKIQ script loads before Google tags
  • Default consent shows denied for ad_storage, analytics_storage, ad_user_data, ad_personalization
  • Update fires after Accept, Reject and Save
  • Basic: gtag.js / gtm.js not requested before consent
  • Advanced: gtag.js requested on load, pings carry gcs=G100 until consent

Important boundaries

  • Advanced mode sends cookieless pings to Google before consent. Decide with your own advisers whether that fits your site; if unsure, use basic.
  • Basic mode holds Google tags added by code (the standard GTM snippet, our GTM template) and, when COKIQ is the first script in <head> without async, also a plain <script src="googletagmanager.com/gtag/js"> written in the HTML: the browser may pre-download the file, but it does not run until consent. If COKIQ loads later (async or in the footer), mark such tags type="text/plain" data-cokiq="google" data-src="..." so COKIQ can hold and release them.
  • Consent Mode does not make a site compliant on its own. Your banner text, categories and tags still need review.

FAQ

Which mode should I choose?

If you run Google Ads and want conversion modelling, and your legal adviser accepts cookieless pings before consent, choose advanced. If you want nothing sent to Google before consent, choose basic.

Did my existing site change?

No. Sites created before this option keep basic behaviour (Google tags held until consent) until you switch.

Does this work with Google Tag Manager?

Yes. With the standard GTM snippet or the COKIQ GTM template, basic mode holds the container and advanced mode lets it load with denied defaults.

Who do I contact if Consent Mode signals are missing?

Contact COKIQ support first (support@cokiq.com or the contact form), not Google. We troubleshoot Consent Mode, GTM and the banner on every plan. Google support asks for proof that you contacted your CMP before it helps.