Connecting ShipStation to Mixpanel
ShipStation is where the shipping cost of an order finally becomes known, which is the number that decides whether the conversion your ad platform reported was actually profitable. 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 ShipStation 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
ShipStation in Mixpanel: did slow delivery cost the reorder?
Send shipped and delivered events to Mixpanel with carrier, service level and transit days, on the same distinct_id as the store purchase, found by joining on order number. Build $insert_id from shipment ID plus event name so resent tracking updates don't duplicate. Never name a shipment event Purchase. Then report repeat purchase by delivery speed bucket.
Mixpanel's job here is post-purchase behavior. A customer whose order arrived in two days and one whose order took nine behave differently afterwards, and ShipStation holds both dates. Send shipped and delivered events with carrier, service level and transit days as properties, then build a report of repeat purchase by delivery speed bucket. That usually says more about carrier choice than any shipping dashboard.
The events must land on the same distinct_id as the original purchase, which comes from the store customer, not from ShipStation. Join on order number before sending, and make $insert_id from the shipment ID plus event name so tracking updates resent by a webhook or poll do not duplicate a delivery. A shipment for a guest order with no customer account should reuse whatever key the store's purchase event used, or the shipment arrives on a stranger.
Keep shipping cost on the event as a property for analysis, but do not name the event in a way that collides with the store's purchase event. A shipment event called Purchase, or a second order_completed fired when the label prints, is the quickest way to make Mixpanel's order counts disagree with the store.
ShipStation → Mixpanel · what breaks
Why this join usually fails — ShipStation → Mixpanel
- 01
The distinct_id never reaches ShipStation
The shipment is created after the order, in a different system, with no session behind it.
- 02
Free shipping absorbing the whole margin
An order that reported forty pounds of revenue and cost twelve to ship to a remote postcode is a different outcome from the same order shipped locally. Optimizing on revenue steers spend toward whichever geography is most expensive to serve.
- 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.
- 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.
ShipStation → Mixpanel · the fix
What working looks like — ShipStation → 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
ShipStation → Mixpanel · architecture
How ShipStation and Mixpanel actually connect
- 1
ShipStation holds the truth
Shipping is frequently the difference between margin and none, and it varies by weight, destination and carrier in ways the order value does not predict.
- 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
The identifier is the bridge
The distinct_id, captured at the visit and carried into the ShipStation shipment.
- 4
The event source decides reliability
Send orders at contribution margin where you can compute it — order value minus cost of goods and actual shipping.
- 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.
ShipStation → Mixpanel · normal or broken
Working vs. broken, side by side — ShipStation → Mixpanel
Normal, not a fault
The distinct_id present on the shipment
Sent from your order system, enriched with shipping 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
The shipment is created after the order, in a different system, with no session behind it.
Sent from the browser
An order that reported forty pounds of revenue and cost twelve to ship to a remote postcode is a different outcome from the same order shipped locally. Optimizing on revenue steers spend toward whichever geography is most expensive to serve.
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
ShipStation → Mixpanel · diagnose
Diagnostic order — ShipStation → Mixpanel
- 01
Count shipments carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Compare average shipping cost by campaign and by region
The spread is usually larger than expected and it can reverse which campaigns look profitable.
- 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.
- 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.
ShipStation → Mixpanel · prove
How it gets proven — ShipStation → Mixpanel
Source of truth
Orders joined to their actual shipping cost and delivery outcome.
- 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 contribution margin against imported conversions for a settled month.
ShipStation → Mixpanel · free audit
What we check in the free audit
- Count shipments carrying the distinct_id
- Follow one real conversion end to end
- Compare average shipping cost by campaign and by region
- 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 their actual shipping cost and delivery outcome.
Free30 minutesNo obligation
ShipStation → Mixpanel · when not to buy
When you don't need this — ShipStation → Mixpanel
- Measure identifier coverage yourself first — pull your last hundred shipments and count how many carry the distinct_id.
- If you sell digital goods or charge shipping at cost, this refinement does not apply.
- 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.
ShipStation → Mixpanel · what we deliver
What gets built — ShipStation → Mixpanel
Identifier capture into ShipStation
Join on the order identifier. There is no identifier to capture here — the work is carrying the order's one through.
Event source: your order system, enriched with shipping cost
Send orders at contribution margin where you can compute it — order value minus cost of goods and actual shipping.
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 should carry the return shipping cost too.
Written guarantee
95%+ tracking accuracy
Measured against Orders joined to their actual shipping cost and delivery outcome.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
ShipStation → Mixpanel questions, answered
Yes, if ShipStation shipped and delivered events with transit days reach the same distinct_id as the purchase. Break repeat purchase down by delivery time.
The shipment ID combined with the event name, so resent tracking updates do not create duplicate deliveries.
Almost always because the distinct_id never reached the ShipStation shipment. The shipment is created after the order, in a different system, with no session behind it. Measure coverage before debugging the dispatch.
Mixpanel identifies people by distinct_id, which starts as an anonymous device value and should be aliased to your own user ID at signup. Getting that alias wrong is the single most common Mixpanel implementation failure: the anonymous pre-signup activity and the identified user become two separate people, and every funnel that crosses signup is broken.
Your order system, enriched with shipping cost. Send orders at contribution margin where you can compute it — order value minus cost of goods and actual shipping.
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.
More on ShipStation → Mixpanel
- Stripe → MixpanelConnecting Stripe to Mixpanel
- PayPal → MixpanelConnecting PayPal to Mixpanel
- Shopify → MixpanelConnecting Shopify to Mixpanel
RELATED GUIDES
Where ShipStation → Mixpanel fits in the rest of your tracking
- Shippo → MixpanelConnecting Shippo to Mixpanel
- ShipBob → MixpanelConnecting ShipBob to Mixpanel
- Easyship → MixpanelConnecting Easyship to Mixpanel
- ShipStation → AmplitudeConnecting ShipStation to Amplitude
- ShipStation → GA4Connecting ShipStation to GA4
- Wholesale distributionConversion tracking for wholesale, measured in trading accounts
Free · 30 min
Get ShipStation and Mixpanel joined properly
Free30 minutesNo obligation
