Connecting Recharge to GA4
Recharge holds the subscription, which means it holds the only complete record of what a Shopify subscription store actually earns over time. 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 Recharge 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
Recharge to GA4: first order as purchase, renewals kept apart
GA4 receives the first Recharge order as a browser purchase. Write the GA4 client_id and click identifiers into the subscription's metadata at creation, then send renewals through Measurement Protocol as a separate subscription_renewal event, not purchase, with that client_id, value and charge number. Send cancellations too, and check renewals are not already arriving as purchases.
The first subscription order goes through Shopify checkout, so GA4 gets it as a normal `purchase` from the browser. Renewal orders do not: Recharge creates them on schedule with no visitor present. If your Shopify GA4 setup reports all orders server-side, check whether Recharge renewals are arriving as purchases; they show up as unassigned revenue with no session and inflate purchase counts every billing day.
Write the GA4 `client_id` into the subscription's properties or metadata at creation, alongside the click identifiers. Then, if you want renewals in GA4 at all, send them through the Measurement Protocol as a separate event such as `subscription_renewal`, not as `purchase`, with that `client_id`, the charge value and the charge number. Because they carry the original `client_id`, user-scoped dimensions like first user source still apply, so retention by acquisition channel becomes visible.
Send cancellations as their own event with the same `client_id`. Joined in the BigQuery export, `purchase`, renewal and cancellation events give subscriber lifetime by first channel, which neither Recharge's dashboards nor GA4's standard reports show alone. Filter Recharge orders by their recurring-order tag in Shopify to make sure nothing else is double-reporting them.
Recharge → GA4 · what breaks
Why this join usually fails — Recharge → GA4
- 01
The GA4 client_id never reaches Recharge
The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is.
- 02
Renewals happen with no browser present
Charges run on a schedule with no customer there. Nothing that fires from a page can see them, and stores routinely report only acquisition and undercount total revenue by whatever their retention is worth.
- 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.
Recharge → GA4 · the fix
What working looks like — Recharge → 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
Recharge → GA4 · architecture
How Recharge and GA4 actually connect
- 1
Recharge holds the truth
Every charge creates a Shopify order, so the two systems should agree. Recharge is authoritative for the recurring relationship; Shopify is authoritative for what the store banked.
- 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 Recharge subscription.
- 4
The event source decides reliability
Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.
- 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.
Recharge → GA4 · normal or broken
Working vs. broken, side by side — Recharge → GA4
Normal, not a fault
The GA4 client_id present on the subscription
Sent from the Recharge subscription and charge webhooks
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
The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is.
Sent from the browser
Charges run on a schedule with no customer there. Nothing that fires from a page can see them, and stores routinely report only acquisition and undercount total revenue by whatever their retention is worth.
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
Recharge → GA4 · diagnose
Diagnostic order — Recharge → GA4
- 01
Count subscriptions carrying the GA4 client_id
- 02
Follow one real conversion end to end
- 03
Check whether a subscription carries the identifier
Not the order. If it is on the order only, renewals can never be attributed no matter what you build downstream.
- 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.
Recharge → GA4 · prove
How it gets proven — Recharge → GA4
Source of truth
Recharge's subscription and charge records, cross-checked against the Shopify orders they create.
- 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.
- A renewal confirmed to land wherever the written policy says it should, and a cancellation confirmed to reverse.
Recharge → GA4 · free audit
What we check in the free audit
- Count subscriptions carrying the GA4 client_id
- Follow one real conversion end to end
- Check whether a subscription carries the identifier
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
Recharge's subscription and charge records, cross-checked against the Shopify orders they create.
Free30 minutesNo obligation
Recharge → GA4 · when not to buy
When you don't need this — Recharge → GA4
- Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the GA4 client_id.
- If you sell one-off products with a small subscription tail, the store's native integration may already be adequate. Measure the recurring share first.
- 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.
Recharge → GA4 · what we deliver
What gets built — Recharge → GA4
Identifier capture into Recharge
Capture the click identifier on the storefront and write it to the Recharge subscription's metadata at creation, so it is available on every subsequent charge.
Event source: the Recharge subscription and charge webhooks
Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.
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
Recharge exposes cancellation, which should reverse the lifetime value you claimed at acquisition. Almost nobody wires this, so reported subscriber value only ever rises.
Written guarantee
95%+ tracking accuracy
Measured against Recharge's subscription and charge records, cross-checked against the Shopify orders they create.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Recharge → GA4 questions, answered
Usually not. They have no session, land as unassigned, and inflate purchase counts. Send them as a separate event with the stored client_id or analyze them in BigQuery.
Store the original client_id on the Recharge subscription, send renewals and cancellations with it, and join them to the first purchase's channel in the BigQuery export.
Almost always because the GA4 client_id never reached the Recharge subscription. The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is. 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 Recharge subscription and charge webhooks. Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.
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 Recharge → GA4
- Recharge + GoogleGoogle Ads and GA4 tracking for Recharge
- Stripe → GA4Connecting Stripe to GA4
- PayPal → GA4Connecting PayPal to GA4
RELATED GUIDES
Where Recharge → GA4 fits in the rest of your tracking
- Maxio → GA4Connecting Maxio to GA4
- Afterpay → GA4Connecting Afterpay to GA4
- Adyen → GA4Connecting Adyen to GA4
- Recharge → MixpanelConnecting Recharge to Mixpanel
- Recharge → MatomoConnecting Recharge to Matomo
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Zuora → GA4Connecting Zuora to GA4
- Klarna → GA4Connecting Klarna to GA4
Free · 30 min
Get Recharge and GA4 joined properly
Free30 minutesNo obligation
