Skip to main content
Easyship → MixpanelIntegration guide

Connecting Easyship to Mixpanel

Easyship is built for cross-border shipping, where duties, taxes and customs make the difference between the price a customer paid and what you keep genuinely unpredictable. 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 Easyship shipment 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

Easyship to Mixpanel: landed cost joined on order ID

Send the Mixpanel purchase at checkout with order_id and destination country, then attach Easyship's later landed cost through lookup tables keyed on order_id rather than correction events. Optionally send label created, delivered and returned to sender events with days in transit, using shipment ID plus status as $insert_id and the order customer's distinct_id.

Mixpanel receives the purchase at checkout, with order_id and destination country as properties. Easyship's landed cost arrives weeks later, and rather than sending correction events, Mixpanel's lookup tables let you attach per-order data keyed on a property value such as order_id. Confirm lookup tables are available on your plan. Once loaded, purchase reports can be broken down by landed-cost band or margin per country without editing a single event.

Delivery is also a product metric for cross-border sellers. Sending a Shipment Delivered event from Easyship's tracking, with days in transit and the destination country, lets you test whether slow delivery to a market predicts weaker repeat purchase. The distinct_id comes from the order's customer, resolved on your server, because Easyship only knows the recipient's address and email.

Keep the event list short. Easyship shipments pass through many tracking statuses, and forwarding each one as a Mixpanel event floods the project with events nobody analyzes and makes the real ones harder to find. Send label created, delivered and returned to sender at most, and nothing else until someone asks. Use the shipment ID plus status as $insert_id so a repeated tracking update does not count a delivery twice.

Easyship → Mixpanel · what breaks

Why this join usually fails — Easyship → Mixpanel

  1. 01

    The distinct_id never reaches Easyship

    Duties and taxes are frequently determined after dispatch, so the true cost of an order can settle weeks later.

  2. 02

    One margin figure across very different markets

    A campaign performing well in a nearby market and badly in a distant one will average to acceptable, and the budget will keep flowing to both.

  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.

Easyship → Mixpanel · the fix

What working looks like — Easyship → Mixpanel

  • The distinct_id on every shipment

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

Easyship → Mixpanel · architecture

How Easyship and Mixpanel actually connect

  1. 1

    Easyship holds the truth

    Cross-border economics differ by country far more than by campaign. A single blended margin figure across markets describes none of them.

  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 Easyship shipment.

  4. 4

    The event source decides reliability

    Send contribution margin by destination country, so per-market performance is readable.

  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.

Easyship → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the shipment

  • Sent from your order system, enriched with landed cost

  • 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

    Duties and taxes are frequently determined after dispatch, so the true cost of an order can settle weeks later.

  • Sent from the browser

    A campaign performing well in a nearby market and badly in a distant one will average to acceptable, and the budget will keep flowing to both.

  • 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

Easyship → Mixpanel · diagnose

Diagnostic order — Easyship → Mixpanel

  1. 01

    Count shipments carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Split contribution margin by destination country

    The variation is usually large enough to change which markets you advertise in at all.

  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.

Easyship → Mixpanel · prove

How it gets proven — Easyship → Mixpanel

Source of truth

Orders joined to landed cost — shipping plus duties and taxes — by destination country.

  • The distinct_id confirmed present on a live shipment.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Orders reconciled at landed-cost margin per country against imported conversions.

Easyship → Mixpanel · free audit

What we check in the free audit

  • Count shipments carrying the distinct_id
  • Follow one real conversion end to end
  • Split contribution margin by destination country
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Orders joined to landed cost — shipping plus duties and taxes — by destination country.

Get my free conversion tracking audit

Free30 minutesNo obligation

Easyship → Mixpanel · when not to buy

When you don't need this — Easyship → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred shipments and count how many carry the distinct_id.
  • Domestic-only sellers do not have this problem and a flat shipping assumption will serve them fine.
  • 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.

Easyship → Mixpanel · what we deliver

What gets built — Easyship → Mixpanel

  • Identifier capture into Easyship

    Join on the order and update the margin when landed cost is final, rather than reporting the estimate.

  • Event source: your order system, enriched with landed cost

    Send contribution margin by destination country, so per-market performance is readable.

  • 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, and cross-border returns cost more than domestic ones.

Written guarantee

95%+ tracking accuracy

Measured against Orders joined to landed cost — shipping plus duties and taxes — by destination country.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Easyship → Mixpanel questions, answered

Only if you bring landed cost in, for example through a lookup table keyed on order_id. Mixpanel will not compute it from the purchase event alone.

Free · 30 min

Get Easyship and Mixpanel joined properly

Free30 minutesNo obligation