Skip to main content
Flow → MatomoIntegration guide

Connecting Flow Commerce to Matomo

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. Matomo can be self-hosted with no third party in the chain, which makes it the one analytics destination where the data genuinely never leaves infrastructure you control. The join between them succeeds or fails on one thing: whether the first-party visitor ID reaches the Flow international order before the conversion happens, because Matomo can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Flow orders in Matomo: one site currency, many markets

Put Flow duties and taxes in Matomo's tax slot and international shipping in shipping, converting each order to the site currency at the order-date rate, with local currency in a custom dimension. Write the visitor ID into cart attributes before localization and send via the HTTP Tracking API with the Flow order number, passing the shopper's IP or country.

Matomo's ecommerce order has separate slots for subtotal, tax, shipping and discount, which suits Flow better than most destinations: you can put duties and taxes in the tax slot, international shipping in shipping, and keep the grand total honest. The catch is currency. A Matomo website is configured with a single currency, and Flow orders arrive in euros, pounds, yen and dollars. Convert every order to the site currency at the order-date rate before sending, and record the local currency in a custom dimension, or Matomo will add 10,000 yen to 100 dollars as if they were the same unit.

The visitor ID has to cross the localization step. Matomo's first-party cookie lives on your domain; if the Flow checkout runs on a different surface, the shopper arrives there as nobody. Write the Matomo visitor ID into the cart or order attributes before localization, and send the order server-side through the HTTP Tracking API with that ID and the Flow order number as the order ID, so a refreshed confirmation page cannot record it twice.

One trap is specific to sending server-side for an international store: Matomo geolocates by the request IP, which is now your server, so every country report shows your data center. Pass the shopper's IP or set the country explicitly on an authenticated request, otherwise the per-country view you wanted from Flow data collapses into one location.

Flow → Matomo · what breaks

Why this join usually fails — Flow → Matomo

  1. 01

    The first-party visitor ID 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

    Owning the pipeline means owning the outage

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  4. 04

    Nothing reconciles afterwards

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

Flow → Matomo · the fix

What working looks like — Flow → Matomo

  • The first-party visitor ID on every order

  • Conversions arriving in Matomo

    The event lands in your own database and is queryable directly, including the raw log, which most analytics products do not expose.

  • Reconciled against the source

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

Flow → Matomo · architecture

How Flow and Matomo 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

    Matomo needs a click to match

    The site ID, the visitor identifier and the event or ecommerce order. Self-hosted instances additionally need the tracker endpoint reachable and the database keeping up, which hosted tools do not fail at.

  3. 3

    The identifier is the bridge

    The first-party visitor ID, 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

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

Flow → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor 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

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

  • Reconciles with the source

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

Actually broken

  • The first-party visitor 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

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  • Nobody has reconciled it

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

Flow → Matomo · diagnose

Diagnostic order — Flow → Matomo

  1. 01

    Count orders carrying the first-party visitor ID

  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 tracker reachability and database lag before debugging any tag

    On self-hosted analytics the answer is infrastructure more often than instrumentation.

  5. 05

    Read the match rate, not the success message

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

Flow → Matomo · prove

How it gets proven — Flow → Matomo

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 first-party visitor ID confirmed present on a live order.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Net-to-merchant revenue reconciled per country against imported conversions.

Flow → Matomo · free audit

What we check in the free audit

  • Count orders carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Report net margin by destination country, not by region
  • Check tracker reachability and database lag before debugging any tag
  • 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 → Matomo · when not to buy

When you don't need this — Flow → Matomo

  • If Matomo 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 first-party visitor ID.
  • If you ship to one or two nearby markets at similar cost, a blended figure is adequate.
  • If you have no privacy or ownership requirement and no team to run it, a hosted product removes the only real cost of this one.

Flow → Matomo · what we deliver

What gets built — Flow → Matomo

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

    The Matomo HTTP Tracking API, posted server-side from your order system.

  • 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 → Matomo questions, answered

Because the order is sent from your server and Matomo geolocates the server's IP. Override the visitor IP or country on the tracking request, which requires an authenticated call.

Free · 30 min

Get Flow and Matomo joined properly

Free30 minutesNo obligation