Skip to main content
NS
Ecommerce21 Nov 2026·By Nazmun Sakib·5 min read

Google Consent Mode v2 for WooCommerce: what it is and how to set it up

Consent Mode v2 tells Google's tags what a visitor has agreed to. This guide explains the signals, the basic and advanced modes, and a safe setup for a WooCommerce store.

Privacy rules mean a store cannot simply fire every tag on every visitor. Google Consent Mode is how your site passes a visitor's choices to Google's tags, such as GA4 and Google Ads, so they behave accordingly. Version 2 is the current form and matters for any store that advertises to people in Europe or the UK. This is the practical picture for a WooCommerce store. It is not legal advice, so confirm the rules that apply to your business.

What Consent Mode actually does

Your consent banner records what a visitor accepted. Consent Mode passes that choice to Google tags as signals, and the tags change what they collect and store. The four signals to know are:

  • analytics_storage: whether analytics cookies and identifiers can be used.
  • ad_storage: whether advertising cookies and identifiers can be used.
  • ad_user_data: whether user data may be sent to Google for advertising purposes.
  • ad_personalization: whether data may be used for personalised advertising such as remarketing.

Version 2 added the last two. Each signal is either granted or denied.

Default first, update on choice

The order matters. Before any Google tag runs, your page sets a default consent state, which in regions with strict rules is usually denied. When the visitor makes a choice in the banner, you send an update with the new state. Tags then react to the signals. If the default is set too late, tags can fire before consent is known, which defeats the purpose.

Basic and advanced mode

There are two ways to implement it.

  • Basic: Google tags are blocked completely until the visitor consents. Nothing is sent before consent. You lose data from visitors who decline or ignore the banner, and there is no modelling for them.
  • Advanced: Google tags load right away but, while consent is denied, send limited cookieless signals. After consent they behave normally. Google can use the limited signals to model some conversions that were not directly observed.

Which one you choose is a legal and policy decision as well as a measurement one, so decide it with whoever is responsible for privacy in your business.

You need a consent banner that talks to the tags

Consent Mode does not collect consent. A consent management platform does that, shows the banner, stores the choice and sends the signals. For advertising in the European Economic Area and the UK, Google expects a compatible consent platform, so choose one that supports Consent Mode and is on its list of certified partners. Make the banner clear: equal prominence for accept and reject, no pre-ticked boxes and an easy way to change the choice later.

Setting it up with Google Tag Manager

A reliable GTM setup has a few parts.

  • Set the default consent state in a tag that fires first, before every other tag, on all pages.
  • Connect your consent platform so it sends the update when the visitor chooses.
  • In tag settings, check that each Google tag respects the relevant consent types, and require consent for any tag that uses data for advertising.
  • Use GTM Preview to confirm the default state, the update after a choice and the behaviour of each tag in both states.

What it means for WooCommerce

A store is affected in a few specific ways.

  • Purchase events from visitors who deny consent will not be collected in the usual way, so GA4 and Google Ads will show fewer conversions than WooCommerce records. Advanced mode and conversion modelling can narrow the gap but not close it.
  • Remarketing audiences are smaller, because ad personalisation signals are denied.
  • Your own server-side events must follow the same choices. Sending a purchase from the server does not remove the need to respect consent.
  • Always compare tracked purchases with WooCommerce orders and expect a gap that reflects your consent rate.

Other platforms are separate

Consent Mode applies to Google tags. Meta, TikTok, Pinterest and others have their own consent controls, and a Meta Conversions API setup needs to check the visitor's consent before sending customer data. Treat consent as one shared decision that every tool, in the browser and on the server, has to honour.

Common mistakes

  • Setting the default state after tags have already fired.
  • Using a banner that does not send the update signals.
  • Forgetting the server-side events, which keep sending regardless of choice.
  • Assuming denied consent means no data at all in advanced mode, without explaining that to users in the privacy policy.
  • Never testing both states.

Test it properly

Test with consent denied, then granted. Confirm that in the denied state tags behave as you intended, that cookies are set only when they should be and that conversions appear after consent. Check again after any change to the banner, the tags or the theme.

Need help?

I set up GA4, Google Tag Manager, consent handling and server-side tracking for WooCommerce stores so that measurement is reliable and respects visitor choices. Describe your setup and I can review it.

Frequently asked questions

What is Google Consent Mode v2?

It is a way for your site to tell Google tags whether a visitor has agreed to analytics and advertising storage and data use, so the tags adjust their behaviour. Version 2 added signals for sending user data to Google and for ad personalisation.

What is the difference between basic and advanced consent mode?

In basic mode, Google tags do not load until the visitor consents. In advanced mode, tags load immediately but send limited, cookieless signals until consent is given, which allows Google to model some of the missing conversions.

Do I need Consent Mode v2 on a WooCommerce store?

If you serve visitors in the European Economic Area or the UK and use Google advertising or measurement features, you generally need to pass consent signals, usually through a consent management platform. Check the current requirements for your situation.

Does Consent Mode control Meta and other tools?

No. It governs Google tags. Meta, TikTok and other tools need their own consent handling, and server-side events must respect the same choices.

ShareX / TwitterLinkedIn