Connecting Flow Commerce to Mixpanel
Flow handles cross-border pricing, duties and landed cost, which means the price a shopper sees is calculated per market and your margin varies by destination in ways the order value does not show. 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 Flow international 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
Flow orders in Mixpanel: keeping distinct_id through localization
Call identify with your customer ID at login or the checkout email step, then send the completed order from the Flow order record server-side with that ID as distinct_id and the order number as $insert_id. Use one reporting currency with local currency, local amount, destination country and duties-paid versus duties-due as properties. Send returns as a separate event.
Mixpanel on a Flow store answers product questions per market: where shoppers from Germany abandon compared with shoppers from Japan, and whether showing duties earlier changes that. It is not where you prove ad ROAS. It is useful only if identity holds across the step where Flow takes over pricing and checkout.
Call identify with your customer ID at login or at the email step of checkout, then send the completed order from the Flow order record server-side with that customer ID as distinct_id and the order number as $insert_id. If localized checkout runs on a surface your Mixpanel SDK does not load on, the device-based distinct_id ends at the handoff, and a server event sent under the email or order number becomes a separate profile with no browsing history. Send the amount in one reporting currency and keep local currency, local amount and destination country as properties.
If you offer both duties-paid and duties-due-on-delivery options in some markets, record which one the shopper saw so funnels can be split on it; the difference in completion rate is often the most useful number Mixpanel produces for a cross-border store. Send returns as a separate event keyed to the original order rather than editing the purchase. When incrementing revenue on the user profile, use the reporting currency only, because a lifetime total mixing yen and euros is meaningless.
Flow → Mixpanel · what breaks
Why this join usually fails — Flow → Mixpanel
- 01
The distinct_id never reaches Flow
Localised checkout can run on a Flow-managed surface with its own currency and pricing.
- 02
One international figure across many economies
Duty rates, shipping costs and return rates all differ by country. A single international line in the report averages profitable markets with loss-making ones and keeps funding both.
- 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.
Flow → Mixpanel · the fix
What working looks like — Flow → 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
Flow Commerce's own records are the reference, not either dashboard.
Flow → Mixpanel · architecture
How Flow and Mixpanel actually connect
- 1
Flow Commerce holds the truth
Landed-cost pricing means two orders of identical value to different countries can leave you materially different amounts. A blended international figure describes neither.
- 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 Flow international order.
- 4
The event source decides reliability
Send orders at net-to-merchant value, split by destination market.
- 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.
Flow → Mixpanel · normal or broken
Working vs. broken, side by side — Flow → Mixpanel
Normal, not a fault
The distinct_id present on the order
Visible on the record itself in Flow Commerce, not merely captured somewhere on the site.
Sent from the Flow order record
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 Flow Commerce's records agree within a few percent over a closed window.
Actually broken
The distinct_id missing on most records
Localised checkout can run on a Flow-managed surface with its own currency and pricing.
Sent from the browser
Duty rates, shipping costs and return rates all differ by country. A single international line in the report averages profitable markets with loss-making ones and keeps funding 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
The dashboard shows a number and no one has compared it to Flow Commerce.
Flow → Mixpanel · diagnose
Diagnostic order — Flow → Mixpanel
- 01
Count orders carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Report net margin by destination country, not by region
Regional grouping hides the variation that actually decides where to spend.
- 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.
Flow → Mixpanel · prove
How it gets proven — Flow → Mixpanel
Against Flow Commerce's own records, not against either platform's dashboard.
Source of truth
Orders net of duties, taxes and cross-border fees, by destination market.
- 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.
- Net-to-merchant revenue reconciled per country against imported conversions.
Flow → Mixpanel · free audit
What we check in the free audit
- Count orders carrying the distinct_id
- Follow one real conversion end to end
- Report net margin by destination country, not 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 net of duties, taxes and cross-border fees, by destination market.
Free30 minutesNo obligation
Flow → Mixpanel · when not to buy
When you don't need this — Flow → Mixpanel
- If Mixpanel already reports conversions that reconcile against Flow Commerce'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 you ship to one or two nearby markets at similar cost, a blended figure is adequate.
- 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.
Flow → Mixpanel · what we deliver
What gets built — Flow → Mixpanel
Identifier capture into Flow
Capture before localisation and carry the identifier through to the international order.
Event source: the Flow order record
Send orders at net-to-merchant value, split by destination market.
Dispatch to Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.
Reversals where they exist
International returns reverse at full logistics cost.
Written guarantee
95%+ tracking accuracy
Measured against Orders net of duties, taxes and cross-border fees, by destination market.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Flow → Mixpanel questions, answered
The server-side order used a different distinct_id from the browser, often because checkout ran outside your page. Identify with your customer ID before the handoff and send the order under the same ID.
Send one converted reporting currency as the revenue property and keep the original currency and amount as separate properties. Never sum mixed currencies.
Almost always because the distinct_id never reached the Flow international order. Localised checkout can run on a Flow-managed surface with its own currency and pricing. 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.
The Flow order record. Send orders at net-to-merchant value, split by destination market.
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 Flow → Mixpanel
- Squarespace → MixpanelConnecting Squarespace Commerce to Mixpanel
- Drupal Commerce → MixpanelConnecting Drupal Commerce to Mixpanel
- Flow → Google AdsConnecting Flow Commerce to Google Ads
RELATED GUIDES
Where Flow → Mixpanel fits in the rest of your tracking
- Zonos → MixpanelConnecting Zonos to Mixpanel
- Global-e → MixpanelConnecting Global-e to Mixpanel
- Flow → AmplitudeConnecting Flow Commerce to Amplitude
- Flow → MatomoConnecting Flow Commerce to Matomo
- FashionConversion tracking for fashion brands, reported net of returns
- Global-e → Adobe AnalyticsConnecting Global-e to Adobe Analytics
- Global-e → MatomoConnecting Global-e to Matomo
- Zonos → AmplitudeConnecting Zonos to Amplitude
Free · 30 min
Get Flow and Mixpanel joined properly
Free30 minutesNo obligation
