Connecting WooCommerce Subscriptions to GA4
WooCommerce Subscriptions turns a store into a recurring business, and every renewal creates a real WooCommerce order — which is exactly why renewals get counted as sales. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the WooCommerce subscription before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
WooCommerce Subscriptions in GA4: renewals aren't new purchases
Browser purchase tags miss renewals by accident, but a Measurement Protocol sender must check wcs_order_contains_renewal() and send purchase only for parent orders. Send renewals as a custom subscription_renewal event with the client_id stored on the subscription. Send zero-value trials as purchase with a trial parameter or a separate event.
The browser-side purchase tag from most GA4 plugins fires on the thank-you page, and renewal orders never reach a thank-you page, so GA4 usually escapes the renewal problem by accident. It reappears the moment you add server-side purchase events: a Measurement Protocol sender hooked to every completed order will send each renewal as a new purchase. Check the order with wcs_order_contains_renewal() before sending, and send purchase only when wcs_order_contains_subscription() finds a parent order.
If you want renewal revenue in GA4, send it as a custom event such as subscription_renewal with the client_id stored on the subscription at signup. Because Measurement Protocol does not create sessions, renewals attach to the original user without inventing new traffic. Do not send renewals as purchase with that client_id either; it would credit the original campaign with a fresh transaction every billing cycle.
Free trials create a parent order at $0 with the subscription attached. Send it as purchase with zero value plus a trial parameter, or as a separate trial event, and send the first paid renewal as subscription_renewal with a first-payment flag. Sign-up fees belong in the parent order's value.
WooCommerce Subscriptions → GA4 · what breaks
Why this join usually fails — WooCommerce Subscriptions → GA4
- 01
The GA4 client_id never reaches WooCommerce Subscriptions
Renewal orders are created by a scheduled task with no browser, no referrer and no session.
- 02
Renewal orders indistinguishable from new sales
This is the single most common WooCommerce Subscriptions error. Renewals are real orders in the same table, so a default order-based integration counts every one, and the conversion count inflates by exactly your retention rate.
- 03
Everything lands under (direct)/(none)
The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.
- 04
Nothing reconciles afterwards
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
WooCommerce Subscriptions → GA4 · the fix
What working looks like — WooCommerce Subscriptions → GA4
The GA4 client_id on every subscription
Conversions arriving in GA4
Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.
Reconciled against the source
WooCommerce Subscriptions → GA4 · architecture
How WooCommerce Subscriptions and GA4 actually connect
- 1
WooCommerce Subscriptions holds the truth
A renewal is a full order in the orders table, indistinguishable from a new purchase unless you check the parent subscription. That is the trap.
- 2
GA4 needs a click to match
GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.
- 3
The identifier is the bridge
The GA4 client_id, captured at the visit and carried into the WooCommerce subscription.
- 4
The event source decides reliability
Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.
- 5
Deduplication at the destination
GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.
WooCommerce Subscriptions → GA4 · normal or broken
Working vs. broken, side by side — WooCommerce Subscriptions → GA4
Normal, not a fault
The GA4 client_id present on the subscription
Sent from the WooCommerce subscription record
Deduplicated correctly
GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.
Reconciles with the source
Actually broken
The GA4 client_id missing on most records
Renewal orders are created by a scheduled task with no browser, no referrer and no session.
Sent from the browser
This is the single most common WooCommerce Subscriptions error. Renewals are real orders in the same table, so a default order-based integration counts every one, and the conversion count inflates by exactly your retention rate.
Counted twice, or not at all
The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.
Nobody has reconciled it
WooCommerce Subscriptions → GA4 · diagnose
Diagnostic order — WooCommerce Subscriptions → GA4
- 01
Count subscriptions carrying the GA4 client_id
- 02
Follow one real conversion end to end
- 03
Compare order count against new subscription count
If orders substantially exceed new subscriptions, renewals are in your conversion feed.
- 04
Check whether server events carry a session and a source
In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.
- 05
Read the match rate, not the success message
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
WooCommerce Subscriptions → GA4 · prove
How it gets proven — WooCommerce Subscriptions → GA4
Source of truth
New subscriptions by start date, held apart from the renewal orders they generate.
- The GA4 client_id confirmed present on a live subscription.
- Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
- New subscriptions reconciled against imported conversions, with renewal orders demonstrably excluded.
WooCommerce Subscriptions → GA4 · free audit
What we check in the free audit
- Count subscriptions carrying the GA4 client_id
- Follow one real conversion end to end
- Compare order count against new subscription count
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
New subscriptions by start date, held apart from the renewal orders they generate.
Free30 minutesNo obligation
WooCommerce Subscriptions → GA4 · when not to buy
When you don't need this — WooCommerce Subscriptions → GA4
- Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the GA4 client_id.
- Stores selling only one-time products do not generate renewal orders and are unaffected.
- GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.
WooCommerce Subscriptions → GA4 · what we deliver
What gets built — WooCommerce Subscriptions → GA4
Identifier capture into WooCommerce Subscriptions
Capture on the original purchase and store on the subscription, then filter renewals out of the conversion feed by parent subscription.
Event source: the WooCommerce subscription record
Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.
Dispatch to GA4
Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.
Reversals where they exist
Cancellations inside the first period reverse.
Written guarantee
95%+ tracking accuracy
Measured against New subscriptions by start date, held apart from the renewal orders they generate.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
WooCommerce Subscriptions → GA4 questions, answered
A server-side sender is firing on every completed order. Filter with wcs_order_contains_renewal() and send renewals as a separate custom event instead of purchase.
Send the $0 parent order as a trial event or zero-value purchase, and the first paid renewal as a renewal event with a first-payment flag.
Almost always because the GA4 client_id never reached the WooCommerce subscription. Renewal orders are created by a scheduled task with no browser, no referrer and no session. Measure coverage before debugging the dispatch.
The client_id, from the _ga cookie. Measurement Protocol events without it are rejected or create a brand-new user with no session and no source, which is how server events end up filed under (direct)/(none) and make paid channels look worse than they are. Send session_id alongside it so the event joins the existing session, and include engagement_time_msec or the event may not appear as expected in reports.
The WooCommerce subscription record. Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
More on WooCommerce Subscriptions → GA4
- WooCommerce → GA4Connecting WooCommerce to GA4
- WooCommerce Subscriptions → Google AdsConnecting WooCommerce Subscriptions to Google Ads
- WooCommerce Subscriptions → MetaConnecting WooCommerce Subscriptions to Meta Conversions API
RELATED GUIDES
Where WooCommerce Subscriptions → GA4 fits in the rest of your tracking
- Braintree → GA4Connecting Braintree to GA4
- Magento → GA4Connecting Magento to GA4
- Checkout Extensibility → GA4Connecting Shopify Checkout Extensibility to GA4
- WooCommerce Subscriptions → Adobe AnalyticsConnecting WooCommerce Subscriptions to Adobe Analytics
- WooCommerce Subscriptions → AmplitudeConnecting WooCommerce Subscriptions to Amplitude
- Jewelry ecommerceConversion tracking for jewelry ecommerce, measured in settled orders
- Shopify POS → GA4Connecting Shopify POS to GA4
- Ecwid → GA4Connecting Ecwid to GA4
Free · 30 min
Get WooCommerce Subscriptions and GA4 joined properly
Free30 minutesNo obligation
