Connecting Wix Stores to GA4
Wix is a closed, hosted platform whose ecommerce layer gives you a clean order record and limited control over everything around it. 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 Wix order 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
Wix Stores to GA4: the built-in integration, and what it misses
Wix's built-in GA4 integration sends purchase from checkout on your own domain, so avoid adding a GTM container that duplicates it. Use Measurement Protocol from the Wix order webhook for gaps, chiefly refund events using the same transaction_id, confirmed as the Wix order number. Moving purchase server-side requires Velo writing the _ga client_id onto the order.
Wix's Marketing Integrations include a GA4 connection that sends ecommerce events, purchase among them; check which events your site sends in DebugView. Wix checkout runs on your own domain, so there is no cross-domain jump to fix, which is rarer than it should be. The common Wix duplicate is the built-in integration plus a GTM container added through custom code, both sending purchase. GA4 does not deduplicate, so revenue doubles.
Measurement Protocol from the Wix order webhook is worth adding for what the browser misses, not as a second purchase stream. Refunds are the clear case: send a refund event with the same transaction_id the built-in integration used (confirm it is the Wix order number on a test order) when the order is refunded. Orders completed by payment methods that leave the site and do not always return to the thank-you page are the other gap; compare GA4 purchases with Wix orders by payment method.
If you do move purchase server-side, the client_id has to be attached to the Wix order, which in practice means Velo code reading the _ga cookie and writing it to a supported order field, confirmed on a real purchase. Without Velo, keep the built-in browser purchase and use the server only for refunds.
Wix → GA4 · what breaks
Why this join usually fails — Wix → GA4
- 01
The GA4 client_id never reaches Wix
Wix controls the page lifecycle and the checkout, so scripts run in an environment you do not fully govern. Velo gives programmatic access, and without it the options are narrow.
- 02
A page lifecycle you do not control
Wix decides when and whether your code runs. Approaches that assume ordinary DOM timing behave unpredictably here, and the failures are intermittent.
- 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.
Wix → GA4 · the fix
What working looks like — Wix → GA4
The GA4 client_id on every order
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
Wix Stores's own records are the reference, not either dashboard.
Wix → GA4 · architecture
How Wix and GA4 actually connect — Wix → GA4
- 1
Wix Stores holds the truth
Wix holds the order reliably. The question is always what can reach it from your side, since the platform mediates most of what runs on the page.
- 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 Wix order.
- 4
The event source decides reliability
Send from the webhook rather than any page-based trigger, given how much of the page lifecycle Wix manages itself.
- 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.
Wix → GA4 · normal or broken
Working vs. broken, side by side — Wix → GA4
Normal, not a fault
The GA4 client_id present on the order
Visible on the record itself in Wix Stores, not merely captured somewhere on the site.
Sent from the Wix order webhook
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
GA4's count and Wix Stores's records agree within a few percent over a closed window.
Actually broken
The GA4 client_id missing on most records
Wix controls the page lifecycle and the checkout, so scripts run in an environment you do not fully govern. Velo gives programmatic access, and without it the options are narrow.
Sent from the browser
Wix decides when and whether your code runs. Approaches that assume ordinary DOM timing behave unpredictably here, and the failures are intermittent.
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
The dashboard shows a number and no one has compared it to Wix Stores.
Wix → GA4 · diagnose
Diagnostic order — Wix → GA4
- 01
Count orders carrying the GA4 client_id
- 02
Follow one real conversion end to end
- 03
Verify the identifier lands on a real Wix order
Assumptions carried over from open platforms do not hold; test it directly.
- 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.
Wix → GA4 · prove
How it gets proven — Wix → GA4
Against Wix Stores's own records, not against either platform's dashboard.
Source of truth
Wix's order records for the same window.
- The GA4 client_id confirmed present on a live order.
- Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
- A purchase confirmed to carry the identifier onto the Wix order record.
Wix → GA4 · free audit
What we check in the free audit
- Count orders carrying the GA4 client_id
- Follow one real conversion end to end
- Verify the identifier lands on a real Wix order
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
Wix's order records for the same window.
Free30 minutesNo obligation
Wix → GA4 · when not to buy
When you don't need this — Wix → GA4
- If GA4 already reports conversions that reconcile against Wix Stores's records within a few percent, this join is working and there is nothing to buy.
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the GA4 client_id.
- If your store is small and Wix's own analytics answers your questions, the platform ceiling makes further investment poor value.
- 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.
Wix → GA4 · what we deliver
What gets built — Wix → GA4
Identifier capture into Wix
Capture the identifier and attach it to the order through Velo or the supported order fields, confirming on a real purchase that it persisted.
Event source: the Wix order webhook
Send from the webhook rather than any page-based trigger, given how much of the page lifecycle Wix manages itself.
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 are recorded against the order.
Written guarantee
95%+ tracking accuracy
Measured against Wix's order records for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Wix → GA4 questions, answered
Yes, if GA4 is connected in Wix Marketing Integrations. Check in DebugView which ecommerce events arrive and that transaction_id matches the Wix order number.
The built-in GA4 integration and a separately added GTM tag are both sending purchase. Remove one; GA4 will not deduplicate them.
Almost always because the GA4 client_id never reached the Wix order. Wix controls the page lifecycle and the checkout, so scripts run in an environment you do not fully govern. Velo gives programmatic access, and without it the options are narrow. 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 Wix order webhook. Send from the webhook rather than any page-based trigger, given how much of the page lifecycle Wix manages itself.
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 Wix → GA4
- Wix → Google AdsConnecting Wix Stores to Google Ads
- Wix → MetaConnecting Wix Stores to Meta Conversions API
- Wix → HubSpotConnecting Wix Stores to HubSpot
RELATED GUIDES
Where Wix → GA4 fits in the rest of your tracking
- Shopify → GA4Connecting Shopify to GA4
- PrestaShop → GA4Connecting PrestaShop to GA4
- nopCommerce → GA4Connecting nopCommerce to GA4
- Wix → PostHogConnecting Wix Stores to PostHog
- Wix → MatomoConnecting Wix Stores to Matomo
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- Saleor → GA4Connecting Saleor to GA4
- OpenCart → GA4Connecting OpenCart to GA4
