DaletGuard supports civilians affected by armed conflict through Families Beyond War. All sides, no political affiliation. About our humanitarian work

Consent Mode v2 and Cookie Banners for Small Sites

Consent Mode v2 sends signals that tell Google tags what each new visitor agreed to on the site's cookie banner. The input is one answer per category, given or refused by the visitor on the first visit to the site. The process is plain: the banner records the answer, and each tag reads it before it stores or sends anything. The output is a page where optional tags behave as the visitor asked, not as the tag vendor would prefer. Four signals, one well-behaved banner and a short list of tags that must wait cover it, plus errors worth testing.

It sits under our technical SEO guide, which treats consent as part of how a site is built. However, consent is the one rule where timing matters as much as content. A tag that fires half a second early has already broken the rule. Consequently, a consent mode v2 test is about order, not only about settings.

Illustration of database, clipboard, pin for consent mode v2
Key takeaway

Consent Mode v2 passes four signals from the banner to Google tags. The banner must load first, offer reject as easily as accept, and let visitors change their mind later. Optional tags wait for a yes, and the timing is the part to test.

A consent signal is a small flag with two states: granted or denied. First, the banner sets each flag from the visitor consent choice. Next, every tag that supports the mode reads the flags before it acts. In short, the consent mode v2 states are the contract between the banner and the tags.

What are the four signals the new mode can send?

The consent mode documentation (opens in new tab) lists the consent mode v2 parameters. The first two, ad_storage and analytics_storage, control what tags may store in the browser. Version two added ad_user_data and ad_personalization. These newer consent mode v2 signals cover sending user data to ad services and using it to personalise ads.

Which of the two modes is a fit for a small site?

In basic mode, tags are blocked until the visitor agrees. In advanced mode, however, tags load at once and send limited pings, with consent mode v2 defaults set to denied. Basic mode, therefore, is simpler to explain and to test. Advanced mode, in contrast, needs a closer read of each provider's terms and your local rules.

In DaletForge, optional tags load only after a yes, so a site behaves like basic mode. As a result, no cookieless pings are sent before the visitor chooses.

Where do other ad platforms and the TCF fit in?

Google's mode is one consent API among several. Also, other ad platforms publish their own consent settings, and each one must read the same answer. Many ad vendors read their signal from the IAB Europe Transparency and Consent Framework (opens in new tab). Either way, the banner stays the single source of the consent choice.

The banner is the first thing a new visitor meets, and it runs before any optional tag. Its job is narrow: show the choices, record the answer, and pass the signals on. Also, a clear cookie banner never hides the page text behind a wall of design. Overall, a good banner is short, readable and easy to dismiss.

What must the banner show before any tag can run?

A good banner names each category in plain words, with a short line on what it covers. For example, a common set of cookie banner categories is essential, analytics, marketing and personalization. In DaletForge, the banner uses four categories and works with Google Consent Mode v2. Each category then maps to one group of consent mode v2 tags, so one answer controls the right set.

DaletForge Settings: Consent mode v2 screen

Why must reject be as easy to find as accept?

The EDPB guidelines on consent (opens in new tab) treat consent as valid only when it is freely given. In practice, that means a reject button as clear as accept, on the same layer. Notably, pre-ticked boxes and scrolling do not count as a yes. Similarly, a banner that hides reject behind a settings page invites both complaints and bad data.

How can a visitor change a choice on a later day?

Withdrawing consent should be as easy as giving it. Therefore, a small link on every page reopens the cookie banner settings. After a consent choice change, a consent mode v2 update is sent at once. Tags that were allowed before must then stop on the next page view.

Which tags must wait, and which can load right away?

Every tag on a site belongs to one category, and tracking tags are no exception. The tags the site needs to work can run at once. In contrast, optional tracking tags wait for a yes in their own category.

For example, a short tracking tags list, with an owner for each line, makes that split easy to check. It also shows which consent mode v2 tags need a category.

Why do analytics and ad tags wait for a yes?

Analytics tracking tags store identifiers and send visit data to other services, and ad tags do the same. As a result, they load only after consent in the matching category. In DaletForge, seven of nine tracking integrations wait this way. Hence, a visitor who declines does not pay for those tracking tags in speed.

Which tags may run before a choice has been made?

Tags that the site strictly needs may run, such as security checks or the banner itself. In DaletForge, the other two integrations are verification tags that set no cookies. They confirm the site to search services and set nothing on the visitor's device. Even so, each one belongs on the list, with a note on why it runs at once.

Most failures are timing faults, not missing settings. A tag that loads in the wrong order looks fine in a settings screen. However, it still breaks the rule in the browser.

A consent mode v2 check should therefore watch the network, not only the dashboard. Similarly, each consent mode v2 update needs the same network test.

Illustration for Consent Mode v2 and Cookie Banners for Small Sites

What fails when the tags load in the wrong order?

The common faults are easy to list, and each one passes a casual look.

  • A tag fires before the banner loads. The page template places it above the consent script.
  • Defaults are never set at all. Tags start with no state, so they behave as if consent were granted.
  • A saved consent choice is never sent. The visitor rejects, yet the tags keep the old answer.
  • Only one language is wired up. A translated cookie banner on other pages controls nothing.

How do you test a banner the way a visitor would?

Open the site in a clean browser profile, and watch the requests before you answer. Next, reject everything, browse three pages, and confirm that no optional tag loads. Then accept one category and confirm that only its tags appear.

Indeed, a cookie banner test of this kind takes a few minutes and catches most timing faults. Keep that consent mode v2 test in the release checklist.

Start with an inventory of every tag, its category, its owner and its reason to exist. Next, build the consent mode v2 setup with all consent mode v2 defaults denied. Then load the banner before any optional tag.

Also, translate the banner with the rest of the site. In DaletForge, the banner and its settings are translated with every page, as our multilingual WordPress page explains.

Consent rules differ by market, so check local requirements for each country you serve. Nevertheless, the consent mode v2 basics stay the same everywhere: ask first, record the consent choice, and pass it on. Our page on website generator security shows how consent sits with the other site controls.

The engineering recommendation is short. Run the clean-browser test on every release, because one template change can move a tag above the banner. Specifically, treat any optional tag that loads before a yes as a failed release. Teams can practise these checks through our training page.

A diagram with the topic at the centre and four connected parts: Cookie banner, Tracking tags, Reject.

What do owners ask before they switch on a banner?

Does Consent Mode v2 make a cookie banner legally sufficient?

No, the mode only passes the visitor's answer to tags that read it. Whether the banner itself meets the law depends on its wording, its choices and the rules of each market. Check the local requirements for each country where you have visitors, and ask counsel if the answer is unclear.

Which tracking tags can load before the visitor makes a consent choice?

Tags the site strictly needs, such as security checks, can load if they set no optional cookies at all. In DaletForge, two verification tags set no cookies and do not wait. The other seven tracking integrations load only after consent in the matching category on the banner, never before it.

Is the advanced mode better than the basic mode for a small site?

Neither is better in general, because each mode suits a different view of risk and effort. Basic mode keeps tags blocked until the visitor agrees, which is simple to explain and test. Advanced mode loads tags with storage denied, so read the provider's documentation and your local rules before you choose it.

Does DaletForge translate the cookie banner on multilingual sites?

Yes, the banner and its settings are translated with the rest of the site, in any of 68 languages. A language gate blocks deploy when source text is left behind, and that check covers the banner too. A visitor reads the choice in the same language as the page they are on.

See how DaletForge fits the providers your team uses today

Book a short meeting for a walkthrough with your own providers in mind, or join an in-person class to learn the method first.