Skip to main content
Wix → MixpanelIntegration guide

Connecting Wix Stores to Mixpanel

Wix is a closed, hosted platform whose ecommerce layer gives you a clean order record and limited control over everything around it. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Wix order before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Wix Stores to Mixpanel: one distinct_id from page to paid order

Verify Mixpanel events fire after Wix's in-page navigation, not just hard loads. Send purchases from a Velo backend handler on paid orders, with the browser's distinct_id attached to the order or stored against the cart ID, and the Wix order ID plus event name as $insert_id. Purchases on profiles with no earlier events mean the distinct_id never arrived.

Mixpanel on a Wix store runs from custom code, and the first thing to verify is that events fire after Wix's in-page navigation, not only on the first page load. A funnel from product view to purchase built on events that only fire on hard reloads will show most product views as missing.

Purchases should come from the server, through a Velo backend handler on paid orders, so they do not depend on the thank-you page running your script. That handler needs the browser's distinct_id. Read it from the Mixpanel SDK in Velo frontend code and attach it to the order through a supported custom field, or store it against the cart ID in a data collection. Use the Wix order ID with the event name as $insert_id.

Logged-in Wix members can be identified with their member ID when they sign in, and Mixpanel merges that with their anonymous history. Guest buyers cannot, so their purchase lands on the anonymous distinct_id from the browser, which is correct as long as it is the same one. The breakage to look for is purchases landing on profiles with no earlier events, which means the distinct_id never reached the order.

Wix → Mixpanel · what breaks

Why this join usually fails — Wix → Mixpanel

  1. 01

    The distinct_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.

  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

    One event schema, two teams, no agreement

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  4. 04

    Nothing reconciles afterwards

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Wix → Mixpanel · the fix

What working looks like — Wix → Mixpanel

  • The distinct_id on every order

  • Conversions arriving in Mixpanel

    The event lands on the user profile and becomes available in funnels, retention and cohort analysis.

  • Reconciled against the source

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

Wix → Mixpanel · architecture

How Wix and Mixpanel 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

    Mixpanel needs a click to match

    Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.

  3. 3

    The identifier is the bridge

    The distinct_id, 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

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

Wix → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_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

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

  • Reconciles with the source

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

Actually broken

  • The distinct_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

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  • Nobody has reconciled it

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

Wix → Mixpanel · diagnose

Diagnostic order — Wix → Mixpanel

  1. 01

    Count orders carrying the distinct_id

  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

    List every event name in the project and look for near-duplicates

    Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.

  5. 05

    Read the match rate, not the success message

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Wix → Mixpanel · prove

How it gets proven — Wix → Mixpanel

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

Source of truth

Wix's order records for the same window.

  • The distinct_id confirmed present on a live order.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • A purchase confirmed to carry the identifier onto the Wix order record.

Wix → Mixpanel · free audit

What we check in the free audit

  • Count orders carrying the distinct_id
  • Follow one real conversion end to end
  • Verify the identifier lands on a real Wix order
  • List every event name in the project and look for near-duplicates
  • 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 → Mixpanel · when not to buy

When you don't need this — Wix → Mixpanel

  • If Mixpanel 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 distinct_id.
  • If your store is small and Wix's own analytics answers your questions, the platform ceiling makes further investment poor value.
  • If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.

Wix → Mixpanel · what we deliver

What gets built — Wix → Mixpanel

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

    The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event 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 → Mixpanel questions, answered

Partly from the browser, but the reliable purchase event comes from a Velo backend handler on paid orders that carries the browser's distinct_id.

Free · 30 min

Get Wix and Mixpanel joined properly

Free30 minutesNo obligation