Skip to main content
Zonos → MixpanelIntegration guide

Connecting Zonos to Mixpanel

Zonos calculates duties and taxes so the shopper can prepay them, which removes the delivery-time surprise that causes international refusals — and creates a figure in the order that is not your revenue. 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 Zonos landed-cost 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

Zonos to Mixpanel: market by shipping destination, not IP country

Mixpanel geolocates by IP, so send the Zonos destination country as its own property for market reports. Send completed orders server-side from the order record, with distinct_id matching the browser and order ID as $insert_id. Put merchandise value in the revenue property, with duty, import tax, Zonos fees, shipping and currency kept separate.

Mixpanel geolocates every event from the shopper's IP address, and for a Zonos store that is the wrong country to report on. Zonos prices duty by the shipping destination. Gifts sent abroad, expats ordering home, shoppers on VPNs and travelers all produce orders where the IP country and the destination differ, and those are exactly the orders where duty matters. Send the destination country from the Zonos breakdown as its own property and build market reports on it.

The completed order should go server-side from the order record, where the duty split lives, with distinct_id matching the browser and the order ID as $insert_id. Put merchandise value in the property your reports treat as revenue, and duty, import tax, Zonos fees, shipping and the shopper's currency in separate properties. If one property called amount carries the customer total, every chart built on it includes money that went to customs.

Mixpanel also suits the before-and-after question. If you added Zonos to replace duties collected on delivery, compare international repeat purchase and refusal rates by destination for cohorts before and after the switch. That is the evidence that prepaying duty is worth it, and it depends on the destination country being right.

Zonos → Mixpanel · what breaks

Why this join usually fails — Zonos → Mixpanel

  1. 01

    The distinct_id never reaches Zonos

    Landed-cost calculation runs at checkout and can change the displayed total after the identifier was captured.

  2. 02

    Government duty counted as your revenue

    On high-duty markets this can be a fifth of the order total. It never reaches you, it is not margin, and including it makes exactly the most expensive markets look like the best performers.

  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.

Zonos → Mixpanel · the fix

What working looks like — Zonos → 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

Zonos → Mixpanel · architecture

How Zonos and Mixpanel actually connect

  1. 1

    Zonos holds the truth

    Prepaid duty sits inside the order total and belongs to a government, not to you. Including it in conversion value inflates international revenue by the duty rate of each market.

  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 Zonos landed-cost order.

  4. 4

    The event source decides reliability

    Send orders at merchandise value, excluding prepaid duties and taxes.

  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.

Zonos → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the order

  • Sent from the order record with the Zonos duty breakdown

  • 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

Actually broken

  • The distinct_id missing on most records

    Landed-cost calculation runs at checkout and can change the displayed total after the identifier was captured.

  • Sent from the browser

    On high-duty markets this can be a fifth of the order total. It never reaches you, it is not margin, and including it makes exactly the most expensive markets look like the best performers.

  • 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

Zonos → Mixpanel · diagnose

Diagnostic order — Zonos → Mixpanel

  1. 01

    Count orders carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether prepaid duty is inside the conversion value

    If the value matches the customer's total, it almost certainly is.

  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.

Zonos → Mixpanel · prove

How it gets proven — Zonos → Mixpanel

Source of truth

Orders net of prepaid duties and taxes, by destination.

  • 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.
  • Merchandise-value revenue reconciled per market against imported conversions, with duty excluded.

Zonos → Mixpanel · free audit

What we check in the free audit

  • Count orders carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether prepaid duty is inside the conversion value
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Orders net of prepaid duties and taxes, by destination.

Get my free conversion tracking audit

Free30 minutesNo obligation

Zonos → Mixpanel · when not to buy

When you don't need this — Zonos → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the distinct_id.
  • Domestic-only sellers have no duty component and none of this applies.
  • 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.

Zonos → Mixpanel · what we deliver

What gets built — Zonos → Mixpanel

  • Identifier capture into Zonos

    Capture on landing and record the duty component separately on the order so it can be excluded from value.

  • Event source: the order record with the Zonos duty breakdown

    Send orders at merchandise value, excluding prepaid duties and taxes.

  • Dispatch to Mixpanel

    The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.

  • Reversals where they exist

    Returns reverse the merchandise value; recovering duty is a separate and often unsuccessful process.

Written guarantee

95%+ tracking accuracy

Measured against Orders net of prepaid duties and taxes, by destination.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Zonos → Mixpanel questions, answered

The Zonos shipping destination. Mixpanel's country comes from the shopper's IP, which differs for gifts sent abroad, expats and VPN users.

Free · 30 min

Get Zonos and Mixpanel joined properly

Free30 minutesNo obligation