Skip to main content
Flow → AmplitudeIntegration guide

Connecting Flow Commerce to Amplitude

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. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Flow international order before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Flow orders in Amplitude: revenue per country in one currency

Set an Amplitude user ID at account creation or the checkout email step, then send the completed order server-side from the Flow order record with that ID and the order number as insert_id, since the device ID may not cross to Flow's checkout. Use one reporting currency, add destination country and a duties-included flag, and send returns as negative revenue.

Amplitude is useful on a Flow store for one question the ad platforms will not answer: how shoppers in each market behave before they buy, and whether the ones who buy come back. Landed-cost pricing changes conversion rates by country, and Amplitude can show where a shopper drops off once duties and taxes appear in the price.

Run the browser SDK on your storefront and set a user ID at account creation or the email step of checkout. Then send the completed order server-side from the Flow order record with that same user ID and the order number as insert_id. If the localized checkout runs on a surface where your SDK does not load, the device ID will not carry across, so the user ID is the only thing tying a browsing session to an order. Use the revenue fields per line item, and pick one currency deliberately: check how your Amplitude project handles currency, and by default send a converted reporting value with the original currency and amount as properties.

Add destination country, a duties-included flag and shipping charged as event properties. Without them, a funnel split by country shows differences nobody can explain. Send international returns as their own event with negative revenue, because Flow returns often settle weeks after the order and editing the original purchase loses that timing.

Flow → Amplitude · what breaks

Why this join usually fails — Flow → Amplitude

  1. 01

    The user ID and device ID pair never reaches Flow

    Localised checkout can run on a Flow-managed surface with its own currency and pricing.

  2. 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.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Flow → Amplitude · the fix

What working looks like — Flow → Amplitude

  • The user ID and device ID pair on every order

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

    Flow Commerce's own records are the reference, not either dashboard.

Flow → Amplitude · architecture

How Flow and Amplitude actually connect

  1. 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. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the Flow international order.

  4. 4

    The event source decides reliability

    Send orders at net-to-merchant value, split by destination market.

  5. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

Flow → Amplitude · normal or broken

Working vs. broken, side by side — Flow → Amplitude

Normal, not a fault

  • The user ID and device ID pair 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

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

    Amplitude's count and Flow Commerce's records agree within a few percent over a closed window.

Actually broken

  • The user ID and device ID pair 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

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

    The dashboard shows a number and no one has compared it to Flow Commerce.

Flow → Amplitude · diagnose

Diagnostic order — Flow → Amplitude

  1. 01

    Count orders carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Report net margin by destination country, not by region

    Regional grouping hides the variation that actually decides where to spend.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Flow → Amplitude · prove

How it gets proven — Flow → Amplitude

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 user ID and device ID pair confirmed present on a live order.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Net-to-merchant revenue reconciled per country against imported conversions.

Flow → Amplitude · free audit

What we check in the free audit

  • Count orders carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Report net margin by destination country, not by region
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Orders net of duties, taxes and cross-border fees, by destination market.

Get my free conversion tracking audit

Free30 minutesNo obligation

Flow → Amplitude · when not to buy

When you don't need this — Flow → Amplitude

  • If Amplitude 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 user ID and device ID pair.
  • If you ship to one or two nearby markets at similar cost, a blended figure is adequate.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Flow → Amplitude · what we deliver

What gets built — Flow → Amplitude

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

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Flow → Amplitude questions, answered

Check your project's revenue settings. The safe default is to send one converted reporting currency and keep the local currency and amount as separate properties.

Free · 30 min

Get Flow and Amplitude joined properly

Free30 minutesNo obligation