Impact of Google Consent Mode v2 on GA4 Transaction Tracking in WooCommerce

This article explains how Google Consent Mode v2 affects GA4 transaction tracking when users refuse consent, and how the outcome differs between Basic and Advanced mode.

Key takeaways: Consent Mode v2 and WooCommerce purchases in GA4

  • With Basic Consent Mode, purchases from users who decline consent are not recorded in GA4.
  • With Advanced Consent Mode, Google tags send cookieless pings when consent is denied, and GA4 can use them for behavioural modelling if the property is eligible.
  • Modelled data fills in user and session totals. Individual purchases from denied-consent users do not appear as transactions.
  • You only see modelled data with reporting identity set to Blended, and it is not included in the BigQuery export.
  • In a CookieYes and GTM4WP setup, check that consent updates before WooCommerce events fire.

Does GA4 record a WooCommerce purchase when consent is declined?

Whether a transaction is recorded in Google Analytics 4 (GA4) after a user declines consent depends on how CookieYes and Google Consent Mode are set up. This article answers a common question: will GA4 track a WooCommerce purchase if the user declines consent in a CookieYes banner?

The setup here is:

  • WordPress site
  • WooCommerce
  • GTM4WP plugin feeding events into Google Tag Manager (GTM)
  • GA4 implemented via GTM
  • Consent handled via CookieYes v2 with Google Consent Mode v2

The key factor is how Consent Mode v2 is implemented.

What is the difference between Basic and Advanced Consent Mode?

The biggest driver of what GA4 can collect is which Consent Mode type is active.

FeatureBasic Consent ModeAdvanced Consent Mode
Tag behaviourGoogle tags stay blocked until consent is grantedGoogle tags load before the consent banner appears
Data sent when consent is deniedNo data is sentCookieless pings can still be sent
Behavioural modellingNot possiblePossible if GA4 is eligible

If your setup is Basic, GA4 will not count purchases from users who decline consent.

If your setup is Advanced, GA4 can receive limited cookieless signals. That can support modelling.

When does GA4 model denied-consent users?

With Advanced Consent Mode, GA4 can estimate activity for users who denied consent. This is not direct tracking. It is an estimate based on patterns from users who did consent.

For purchases, that means:

  • The purchase event is not captured the same way as a normal consented event
  • Denied-consent activity can be reflected in user and session totals through modelling, but individual purchases from those users do not appear as transactions
  • The reporting identity must be set to show modelled data

GA4 eligibility rules

Google lists strict requirements for enabling behavioural modelling for Consent Mode:

  • Consent mode is enabled across all pages
  • Tags load before the consent dialog and fire in all cases (advanced setup)
  • At least 1,000 events per day with analytics_storage='denied' for at least 7 days
  • At least 1,000 daily users with analytics_storage='granted' for at least 7 of the last 28 days
  • Reporting identity is set to Blended

Even if you meet the thresholds, modelling is not guaranteed. And once eligible, it can take time before you see modelled data.

How do CookieYes, GTM4WP and GA4 affect what GA4 sees?

Here's how the tools in this stack affect what GA4 sees when consent is declined.

CookieYes

CookieYes sets and sends the consent state.

To allow behavioural modelling, CookieYes needs:

  • Advanced Consent Mode enabled
  • Tag loading before the banner
  • Correct consent updates for analytics_storage (and other consent types, if used)

If Advanced mode is not enabled, you are in Basic mode and GA4 won't count purchases from users who decline.

GTM4WP

GTM4WP pushes WooCommerce events and helps connect WordPress to GTM.

A known issue in some setups is timing:

  • WooCommerce events can fire before the consent state updates
  • That can cause mismatched consent signals
  • It can lead to missing purchases or "Unassigned" attribution in GA4

This is a setup problem, not a GA4 problem. It usually shows up as inconsistent reporting.

GTM and GA4

In an Advanced Consent Mode setup, GA4 tags can still send cookieless pings when consent is denied.

These can include purchase data like:

  • transaction ID
  • value / revenue
  • currency

But they do not include identifiers that normally support user-based reporting or full attribution.

What are the limits of modelled data?

Even in a best-case Advanced setup, there are real limits.

  • Modelled, not observed: the number is an estimate
  • Attribution is limited: you won't get clean source/medium for denied-consent users
  • Not in BigQuery export: modelled data is not exported
  • Some GA4 features won't use it: audiences and some exploration/segment features do not support modelled data

So yes, you might get a closer view of totals. But you lose detail and certainty.

What should you check in your setup?

Here's what to check and improve.

  1. Verify CookieYes settings
    Confirm whether Advanced Consent Mode is enabled.
  2. Review GTM4WP consent handling
    Make sure it passes consent states correctly and on time.
  3. Check GA4 modelling eligibility
    In GA4, open Admin → Data display → Reporting identity to see whether behavioural modelling is active or eligible. Then open Admin → Data streams, select your web stream and check Consent settings to confirm GA4 detects consent mode.
  4. Set reporting identity to Blended
    Without this, you may not see modelled data even if it exists.
  5. Consider server-side tagging
    If you need more stable purchase measurement and better control, server-side tagging is worth considering.

GA4 transaction tracking after consent is declined is not a simple yes or no. With Basic Consent Mode, purchases from denied-consent users are not counted. With Advanced Consent Mode, GA4 can model their activity into user and session totals, but only if your property qualifies and is set up to show it. The only way to know how your site behaves is to verify your Consent Mode type, your CookieYes + GTM wiring, and your GA4 modelling status.

References

  1. Ahava, S. (2021-05-28). Consent Mode V2 For Google Tags. Simo Ahava's blog.
  2. Google. (n.d.). [GA4] Behavioural modelling for consent mode. Analytics Help.
  3. CookieYes. (n.d.). Basic vs Advanced Google Consent Mode. CookieYes Blog.
  4. WordPress.org Forums. (2024-03-25). Woocommerce events load before cookie consent update state.
  5. Napkyn. (n.d.). Impact of Consent Mode on Reporting and Transaction Data in GA4.
Tower London
Out and Out
Bedstar
Hunter Boots
Care Fertility
Aroma Zone
Interflora
Unbiased
Vera John
Bubble
Mint Outdoor
EsportsJunkie
Magna Valor

Ready to Improve Your SEO?

Contact us for a free assessment. There is no commitment.

Built with ssg