Home / Guides / Consent Initialization

Google Consent Mode

Consent Initialization

Consent Initialization guide: set Consent Mode v2 defaults to denied before GTM/gtag, map all v2 parameters, avoid granted defaults, and verify with a private-window scan.

Author

GDPRChecker Editorial Team

Reviewed by

Privacy & Compliance Research Team

Last updated

July 2026

Reading time

4 min read

Educational guidance for compliance readiness — not legal advice. Requirements vary by jurisdiction and your specific processing activities.

Introduction

Explain Consent Initialization as the early step that writes Consent Mode default states (usually denied for non-essential storage) before GA4, Ads, or other Google tags load—covering GTM Consent Initialization tags, gtag defaults, order mistakes, and clean-session verification.

This guide is written for GTM and Consent Mode implementers who need Consent Initialization defaults denied before Google tags fire on EU traffic.

What it means

Consent Initialization is the first Consent Mode write on a page load: it establishes default consent states before measurement or ads tags run, so Google tags do not assume storage is allowed.

In Google Tag Manager this is commonly a Consent Initialization (or equivalent early consent default) tag that fires on All Pages before tags that read consent state. With gtag.js it is a consent default command before config/event calls.

For EU/EEA-oriented setups, Consent Initialization should set analytics_storage, ad_storage, ad_user_data, and ad_personalization to denied until the CMP or banner sends an update.

Order is the product: Consent Initialization must win the race against GTM, hardcoded gtag snippets, and next/script analytics in the root layout. Late defaults leave a pre-consent collection window scanners detect.

Consent Initialization is not the same as a consent update. Initialization sets defaults; Accept/Reject later fire updates that flip matching parameters to granted or keep them denied.

Never publish granted defaults in Consent Initialization for convenience or Tag Assistant demos—those settings often ship to production and fail GDPR cookie rules.

Verify Consent Initialization on the live URL: View Source / Tag Assistant Consent tab, Network before interaction, then a GDPRChecker scan for pre-consent Google cookies and requests.

Why it matters

Most Consent Mode failures are Consent Initialization failures: defaults missing, granted, or after GTM.

Searchers for Consent Initialization want GTM-specific steps tied to scanner-proof verification, not only Google Help screenshots.

Fixing initialization first usually clears more scanner findings than redesigning banner copy.

Common mistakes

  • Omitting Consent Initialization so tags run with platform defaults that allow storage.
  • Setting Consent Initialization parameters to granted for testing and forgetting to revert before publish.
  • Placing Consent Initialization after GA4 Config / Google tags in the container firing order.
  • Initializing only analytics_storage and ad_storage while leaving ad_user_data and ad_personalization granted.
  • Hardcoding gtag config in the theme while Consent Initialization exists only in a staging container.
  • Checking Tag Assistant after Accept and concluding initialization works for first-time visitors.
  • Assuming Consent Initialization alone is a lawful cookie banner.

Practical checklist

  1. Add or confirm a Consent Initialization (or gtag consent default) path that runs before Google tags.
  2. Set all Consent Mode v2 parameters you use to denied for regulated regions.
  3. Place initialization above GA4, Ads, Floodlight, and other consent-reading tags.
  4. Wire CMP/banner updates separately for Accept, Reject, and preference changes.
  5. Publish the same settings to production—not only GTM Preview.
  6. Private window: confirm denied defaults before any Google cookie or hit.
  7. Reject and Accept paths: updates fire; tags obey.
  8. Scan with GDPRChecker; fix order; rescan after the next container publish.

How GDPRChecker helps

GDPRChecker’s free scanner shows whether Consent Initialization actually prevented pre-consent Google requests on your production URL.

Use findings to fix script and GTM order, then rescan after each Consent Initialization or CMP change.

GDPRChecker supports Consent Mode v2-oriented diagnostics; it is not a Google Certified CMP or IAB TCF CMP.

FAQ

What is Consent Initialization?
Consent Initialization is the early Consent Mode step that sets default consent states before Google tags load. In GTM it is often a dedicated Consent Initialization tag; with gtag it is a consent default command issued before config.
How is Consent Initialization different from Consent Signals?
Consent Signals are the granted/denied values tags read. Consent Initialization is the moment those signals are first written as defaults on page load. Updates after Accept/Reject change the same signals later.
What should Consent Initialization defaults be in the EU?
Denied for non-essential storage and ads-related parameters until the user opts in—typically analytics_storage, ad_storage, ad_user_data, and ad_personalization for Consent Mode v2 stacks.
Where does Consent Initialization sit in GTM?
It must fire earlier than tags that depend on consent state—commonly on Consent Initialization / All Pages ahead of GA4 Config and ads tags. If GA4 fires first, initialization is too late.
Can Consent Initialization replace my CMP?
No. It only sets machine defaults. You still need a Reject-capable consent UX and updates that reflect the user’s choice, plus disclosures in your privacy/cookie notices.
How do I verify Consent Initialization?
Open a private window on the live URL, confirm denied defaults before tags, ensure no Google marketing/analytics cookies before interaction, then run GDPRChecker on the same URL.
Why do scanners still fail after I added Consent Initialization?
Common causes: granted defaults, tag order, a second gtag snippet outside GTM, or missing updates on Reject. Fix order and defaults, then rescan.

GDPRChecker guides are educational resources and do not constitute legal advice. Use them to understand technical and operational privacy requirements, and consult qualified counsel for legal interpretation.

Check Your Website in Under 60 Seconds

  • No signup required
  • GDPR-focused checks
  • Cookie banner detection
  • Privacy policy verification