Forma ArcGrowth Systems

Ads guide by Mark Parfenov, published 13 November 2026, updated 21 November 2026. Free to read, and free as a PDF by email

Google Tag Manager and advanced Consent Mode v2: a practical setup

For senior tech professionals building and marketing their own app; also useful for indie developers and small teams.

10-minute read

Installing analytics is not the same as obtaining consent. Advanced Consent Mode changes how Google's tags behave when a visitor has not consented; it does not remove the need for a compliant choice, clear disclosures and lawful handling of personal data.

This guide covers consent and Tag Manager. For the GA4 events and key conversions themselves, see GA4 setup and key conversion events.

A consent panel with analytics on and ads off

1. Decide which setup is appropriate

Basic consent mode blocks Google tags until consent. Advanced mode loads Google tags with denied defaults and can send limited cookieless measurement pings before consent, potentially improving modeling. It is not zero data transfer. Choose the approach based on your requirements and legal advice, not on an advertising platform's optimization score.

2. Choose an appropriate consent management platform

Use a CMP or a carefully implemented consent solution that supports your jurisdiction, preserves choices and offers reject, accept and preference controls. For EEA advertising requirements, review Google's EU user consent policy and whether a Google-certified CMP and IAB TCF integration applies to your products. Consent Mode alone is not a cookie banner or legal compliance certification.

3. Create your Google Tag Manager container

At tagmanager.google.com, create a web container under the business-owned account. Install the exact GTM snippet once on every page. Keep staging separate from production if needed, name the tags and triggers clearly, and document access, versions and rollback.

4. Declare Consent Mode v2 defaults before tags run

The four essential signals are analytics_storage, ad_storage, ad_user_data and ad_personalization. A conservative consent-required default is denied for all four until a valid choice is available. In GTM, use the CMP's supported consent template with the Consent Initialization - All Pages trigger and Tag Manager consent APIs. Do not rely on a late-running Custom HTML tag that sets defaults after other tags already fired.

5. Update every relevant consent state when users choose

On Accept, Reject or Save preferences, send consent updates on the current page before navigation or reload. Restore the recorded choice on future pages, and provide a visible way to reopen settings and withdraw consent. Advertising and analytics choices should remain independent where your banner provides that distinction.

6. Understand advanced behavior under denied consent

With advanced mode, consent-aware Google tags may load but are restricted and can send cookieless pings or consent-state signals. Non-Google marketing scripts and pixels do not automatically become consent-aware. Block or gate those tags separately as required. Do not advertise advanced mode as a way to track visitors secretly.

7. Configure Google tags without double blocking

Google tags have built-in consent checks. Adding unnecessary extra GTM consent requirements can prevent the expected advanced-mode pings and distort modeling. Apply additional checks to tags that lack built-in controls, and audit each tag for its own privacy behavior.

8. Test all consent paths in Tag Assistant

Run a clean-browser test with no saved choice, Reject, Accept, partial consent and a later change of mind. Confirm defaults appear before analytics or advertising tags, no unauthorized cookies are set, and Google tags respect the recorded consent. Check another page and a mobile browser, not just the homepage.

9. Audit data quality and document limitations

Compare Realtime and key events with consent states, where privacy-safe. Record which event counts include modeling and which customer records come from your CRM. If GA4 or Ads differs from your payment ledger, investigate duplicate tags, broken triggers and consent races before changing the media budget.

10. Maintain the setup as requirements change

Review CMP configuration, tags, access, policy links and consent settings when adding an advertising channel, moving domains or entering new countries. Use GTM version history for changes and keep a documented rollback. Let a qualified adviser review privacy obligations in your relevant markets.

What consent mode does, in plain words

Consent mode is a way for your website to tell Google’s tags what a visitor agreed to. When someone accepts or refuses cookies on your banner, the banner sends those choices to Tag Manager, and the tags adjust: they store cookies and send full data only for the purposes the visitor allowed.

There are four main signals: whether analytics storage is allowed, whether advertising storage is allowed, whether user data may be sent to Google for advertising, and whether ads may be personalised. Your banner sets a default for each before the visitor chooses, usually denied in regions where consent is required, and updates them as soon as the visitor makes a choice.

Consent mode doesn’t decide what is legal for you, and it doesn’t replace a proper banner. It is the plumbing between the banner and the tags. The legal question, what you need consent for and where, depends on your visitors’ countries and is worth checking with someone qualified. This guide isn’t legal advice.

Basic or advanced: choosing a mode

In the basic setup, Google tags don’t load at all until the visitor agrees. Nothing is sent before consent, which is simple to explain and to audit. The cost is less data: refused visits leave no trace in analytics or ads.

In the advanced setup, tags load straight away in a restricted state and send cookieless signals when consent is denied. Google can use these to estimate some of the missing conversions. The cost is complexity, more to explain on your privacy page, and a setup that needs more care to stay within the rules.

For most early-stage products and small teams, I start with the basic mode. Traffic is usually too low for the modelling in advanced mode to help much, and a simple setup that everyone understands is easier to keep correct. Revisit the choice when traffic and ad spend grow.

A worked example: one banner, three tags

An invented example. A founder’s site uses Google Analytics, a Google Ads conversion tag and Microsoft Clarity. Visitors come from Europe and the US.

The banner offers Accept and Reject with equal weight, plus a settings link. Before any choice, all four Google signals are set to denied for European visitors, and the tags wait. When a visitor accepts, the banner updates the signals to granted and Tag Manager fires analytics, ads and Clarity. When a visitor rejects, nothing fires, and the banner remembers the choice. A footer link reopens the banner, and withdrawing consent deletes the cookies that were set.

Before launch, she tests all three paths, accept, reject and change of mind, in Tag Manager’s preview and checks the network requests in the browser. The privacy page lists each tool, what it does and how to opt out.

Mistakes I see most often

  • Tags hard-coded in the site and also in Tag Manager, so one copy ignores consent.
  • Defaults set after tags fire, so the first page view goes out before consent is known.
  • A banner that makes rejecting harder than accepting, which many regulators treat as invalid consent.
  • Only analytics updated, while the advertising signals stay at their defaults.
  • Third-party tools added later outside the consent setup, such as a chat widget or a heatmap.
  • No test after changes, so a new form or page quietly breaks the flow.

How to explain it on your privacy page

Visitors and regulators both want the same thing: a clear list of what you use and why. For each tool, say what it is, what it collects, why you use it, whether it needs consent and how long data is kept. Explain how to change the choice later. Keep the wording plain, and keep the page in step with what is actually installed. If the banner, the tags and the privacy page say different things, the setup isn’t finished.

Questions founders ask me

Do I need a paid consent platform? Not always. A simple, well-built banner can be enough for a small site. A certified consent platform helps when you advertise heavily in regions with strict rules, or when ad platforms require one.

Will consent mode lower my numbers? Reported numbers drop when people refuse, because their visits aren’t recorded. That is the honest picture. Judge trends and outcomes in your own systems rather than chasing the old totals.

Do I need this if my visitors are only in the US? Rules differ by state and keep changing. Many sites use one consistent banner everywhere, which is simpler to maintain.

How do I know it works? Test each path in preview mode, check the browser’s network requests, and repeat the test after every change to tags or the banner.

A maintenance routine

  • After every new tool or tag: add it to the consent setup and the privacy page, then test.
  • Monthly: run the three test paths on the live site.
  • Quarterly: compare consented and total visits, and check that nothing fires before consent.
  • When rules or platforms change: review the defaults, the banner wording and the mode you chose.

Write down the date and result of each check. If anyone ever asks how you handle consent, that record is the answer.

Other tools need the same care

Consent mode covers Google’s tags, but most sites run others: Microsoft Clarity or another heatmap, the Meta pixel, LinkedIn’s Insight Tag, chat widgets and embedded videos. Each one needs to respect the visitor’s choice too. In Tag Manager, give every non-Google tag a consent requirement or a trigger that only fires after the right consent. For tools that have their own consent signals, such as Clarity, pass the choice to them as well. Embedded content like videos can often load in a privacy-friendly mode until the visitor interacts.

Keep a simple inventory: each tool, what it does, which consent it needs and how it is blocked until then. Review it whenever someone adds a script.

A short glossary

Consent management platform: the tool that shows the banner, records choices and sends them to your tags. Default state: what each consent signal is set to before the visitor chooses. Update: the message the banner sends when the visitor accepts, rejects or changes their mind. Tag Assistant: Google’s tool for previewing and debugging what tags fire and with which consent. Basic and advanced mode: whether Google tags wait for consent entirely, or load in a restricted state and send cookieless signals. Knowing these few terms makes conversations with developers and agencies much faster.

If a developer or agency uses other terms, ask them to map them to these. A setup you can describe in your own words is a setup you can check.

Who should own it

Name one person who approves any new tag, keeps the tool inventory and runs the monthly test. Without an owner, consent setups decay as people add scripts in a hurry.

The owner doesn’t need to be technical. They need to ask, every time, whether a new script respects the visitor’s choice and whether the privacy page still matches what runs on the site.

What works

Good practice that holds across platforms, in plain words, checked on 21 November 2026.

  • Understand what consent mode does. Consent mode lets Google tags adjust their behaviour to the visitor’s consent choices, with default states set before consent and updates when the visitor chooses.
  • Set defaults before any tag fires. Set the default consent state before tags load. Tags that fire first can set cookies without permission.
  • Test in preview before publishing. Tag Manager’s preview mode with Tag Assistant shows which tags fired and with which consent state. Test both accept and reject paths.
  • Keep personal data out of analytics. Google Analytics prohibits sending personally identifiable information such as emails and phone numbers. Check event parameters before they go live.
  • Know the legal side. In the UK and EU, non-essential cookies need consent. A banner that sets cookies before the choice doesn’t meet that.
  • Watch page speed. Every tag adds weight. Lighthouse and Core Web Vitals show whether tags slow the page; remove what nobody uses.

Practical notes

What I’ve learned and use in practice, checked on 21 November 2026. Experience, not guarantees.

  • Menu labels may change. The linked provider documentation governs current implementation steps.
  • Run a real end-to-end test before treating the configuration as complete.

Building a product?

The first call is free. After the €1,200 diagnostic, Idea to launch is a fixed €11,900: you build it or we build it together, and I set up everything that turns visitors into paying customers. I usually reply within one working day.