Connecting Antavo to GA4
Antavo runs enterprise loyalty across online and in-store, which makes the redemption pattern span channels your advertising cannot see. 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 Antavo loyalty transaction 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
Antavo in GA4: user_id for members, points as virtual currency
Set GA4 user_id to an internal Antavo member key, send enrollment as sign_up, and map online points to earn_virtual_currency and spend_virtual_currency. Purchase value should be cash paid after points, with the discount recorded separately; don't duplicate a storefront purchase server-side, and never push in-store redemptions through Measurement Protocol.
GA4 is the one destination here where loyalty behavior itself belongs in the data, as long as it stays out of revenue. Set user_id to an internal Antavo member key (never the email) when a shopper logs in, so sessions from the same member join up across devices, and send enrollment as a sign_up event with method set to the loyalty program. Points earned and burned online map onto GA4's recommended earn_virtual_currency and spend_virtual_currency events, with virtual_currency_name set to your points name.
Revenue is where this pair goes wrong. The purchase value should be what the customer paid after points were applied, with the points discount recorded as a coupon or discount rather than left inside revenue. A server-sent purchase through Measurement Protocol needs the client_id stored on the order to attach to the session. If the storefront tag already fires purchase, keep it and add only the loyalty events server-side, because GA4 will not reconcile two purchases for the same order.
Do not push in-store redemptions into GA4 through Measurement Protocol. They arrive with no client_id, become new users under (direct), and make the website look as though it drives till activity it never saw. Report them from Antavo or your BI layer next to GA4, not inside it.
Antavo → GA4 · what breaks
Why this join usually fails — Antavo → GA4
- 01
The GA4 client_id never reaches Antavo
Redemption happens at a till or in an app with no browser session of yours.
- 02
Earning measured online, redemption spent in store
The half of the programme that costs money happens where your web analytics cannot see it. Reporting only the online side shows a loyalty programme with all of the engagement and none of the liability.
- 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.
Antavo → GA4 · the fix
What working looks like — Antavo → GA4
The GA4 client_id on every redemption
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
Antavo → GA4 · architecture
How Antavo and GA4 actually connect
- 1
Antavo holds the truth
Points earned online and redeemed in store are the normal pattern for enterprise loyalty. Online-only measurement sees the earning and never the redemption, which makes the programme look free.
- 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 Antavo loyalty transaction.
- 4
The event source decides reliability
Send online orders net of redemption, with cross-channel earn and burn reported separately.
- 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.
Antavo → GA4 · normal or broken
Working vs. broken, side by side — Antavo → GA4
Normal, not a fault
The GA4 client_id present on the redemption
Sent from your order system with loyalty attributes attached
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
Redemption happens at a till or in an app with no browser session of yours.
Sent from the browser
The half of the programme that costs money happens where your web analytics cannot see it. Reporting only the online side shows a loyalty programme with all of the engagement and none of the liability.
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
Antavo → GA4 · diagnose
Diagnostic order — Antavo → GA4
- 01
Count redemptions carrying the GA4 client_id
- 02
Follow one real conversion end to end
- 03
Measure the share of redemptions that happen off the website
In enterprise retail it is usually the majority, and it is the number that makes the programme's cost real.
- 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.
Antavo → GA4 · prove
How it gets proven — Antavo → GA4
Source of truth
Orders across all channels, with loyalty earn and burn recorded per transaction.
- The GA4 client_id confirmed present on a live redemption.
- Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
- Online orders reconciled net of redemption, with off-channel redemption reported as programme cost.
Antavo → GA4 · free audit
What we check in the free audit
- Count redemptions carrying the GA4 client_id
- Follow one real conversion end to end
- Measure the share of redemptions that happen off the website
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
Orders across all channels, with loyalty earn and burn recorded per transaction.
Free30 minutesNo obligation
Antavo → GA4 · when not to buy
When you don't need this — Antavo → GA4
- Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the GA4 client_id.
- Online-only retailers see both sides and do not have this blind spot.
- 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.
Antavo → GA4 · what we deliver
What gets built — Antavo → GA4
Identifier capture into Antavo
Attribute online acquisition only, and report cross-channel redemption as a cost of the programme rather than trying to attribute it.
Event source: your order system with loyalty attributes attached
Send online orders net of redemption, with cross-channel earn and burn reported separately.
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
Refunds reverse and reclaim points.
Written guarantee
95%+ tracking accuracy
Measured against Orders across all channels, with loyalty earn and burn recorded per transaction.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Antavo → GA4 questions, answered
Yes, as a user-scoped custom dimension set from the tier you pass at login or enrollment. Register the dimension in Admin first, or the values are collected but never show up in reports.
No. Mark purchase and sign_up as key events and leave spend_virtual_currency as an ordinary event, otherwise every member spending points reads as a conversion.
Almost always because the GA4 client_id never reached the Antavo loyalty transaction. Redemption happens at a till or in an app with no browser session of yours. 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.
Your order system with loyalty attributes attached. Send online orders net of redemption, with cross-channel earn and burn reported separately.
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 Antavo → GA4
- Stripe → GA4Connecting Stripe to GA4
- PayPal → GA4Connecting PayPal to GA4
- HubSpot → GA4Connecting HubSpot to GA4
RELATED GUIDES
Where Antavo → GA4 fits in the rest of your tracking
- Talon.One → GA4Connecting Talon.One to GA4
- LoyaltyLion → GA4Connecting LoyaltyLion to GA4
- Smile.io → GA4Connecting Smile.io to GA4
- Antavo → MixpanelConnecting Antavo to Mixpanel
- Antavo → PostHogConnecting Antavo to PostHog
- RestaurantsConversion tracking for restaurants, across reservations, orders and calls
- Punchh → GA4Connecting Punchh to GA4
Free · 30 min
Get Antavo and GA4 joined properly
Free30 minutesNo obligation
