Skip to main content
Wix → AmplitudeIntegration guide

Connecting Wix Stores to Amplitude

Wix is a closed, hosted platform whose ecommerce layer gives you a clean order record and limited control over everything around it. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Wix order before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Wix Stores to Amplitude: revenue fields from Wix line items

Build the Amplitude purchase from Wix Stores order line items, with price, quantity and a consistent productId, so revenue reports, not just counts. Send it from a Velo backend handler when the order is paid, with insert_id from the Wix order ID and the browser SDK's device_id attached to the order. Send refunds as negative revenue.

Amplitude's revenue reporting reads specific fields, and a Wix purchase sent as a generic event with an order total property will count purchases while reporting no revenue. Build the event from the Wix order's line items: price and quantity per product, productId set to the same identifier you use elsewhere, and currency handled before sending.

Send it from a Velo backend handler when the order is paid, with insert_id from the Wix order ID. To merge it with the browsing session, the handler needs the device_id from Amplitude's browser SDK, which you attach to the order or cart in Velo frontend code. Logged-in Wix members can be identified with your user ID; guest buyers stay on the device_id, which is correct as long as it is the one the SDK used.

Decide what counts as revenue before the first event goes out. Wix orders show subtotal, discounts, shipping and tax separately, and Amplitude will report whatever you put in price. Choose whether revenue is net of discounts and excludes shipping and tax, apply it identically to refunds, which Wix records against the original order and you send as negative revenue, and write the rule where the analytics team can find it.

Wix → Amplitude · what breaks

Why this join usually fails — Wix → Amplitude

  1. 01

    The user ID and device ID pair 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.

  2. 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.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Wix → Amplitude · the fix

What working looks like — Wix → Amplitude

  • The user ID and device ID pair on every order

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

    Wix Stores's own records are the reference, not either dashboard.

Wix → Amplitude · architecture

How Wix and Amplitude actually connect

  1. 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. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the Wix order.

  4. 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. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

Wix → Amplitude · normal or broken

Working vs. broken, side by side — Wix → Amplitude

Normal, not a fault

  • The user ID and device ID pair 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

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

    Amplitude's count and Wix Stores's records agree within a few percent over a closed window.

Actually broken

  • The user ID and device ID pair 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

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

    The dashboard shows a number and no one has compared it to Wix Stores.

Wix → Amplitude · diagnose

Diagnostic order — Wix → Amplitude

  1. 01

    Count orders carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Verify the identifier lands on a real Wix order

    Assumptions carried over from open platforms do not hold; test it directly.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Wix → Amplitude · prove

How it gets proven — Wix → Amplitude

Against Wix Stores's own records, not against either platform's dashboard.

Source of truth

Wix's order records for the same window.

  • The user ID and device ID pair confirmed present on a live order.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • A purchase confirmed to carry the identifier onto the Wix order record.

Wix → Amplitude · free audit

What we check in the free audit

  • Count orders carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Verify the identifier lands on a real Wix order
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Wix's order records for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

Wix → Amplitude · when not to buy

When you don't need this — Wix → Amplitude

  • If Amplitude 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 user ID and device ID pair.
  • If your store is small and Wix's own analytics answers your questions, the platform ceiling makes further investment poor value.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Wix → Amplitude · what we deliver

What gets built — Wix → Amplitude

  • 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 Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Wix → Amplitude questions, answered

The purchase event lacks the price and quantity fields Amplitude uses for revenue. Send them per line item from the Wix order.

Free · 30 min

Get Wix and Amplitude joined properly

Free30 minutesNo obligation