Skip to main content
ShipStation → MatomoIntegration guide

Connecting ShipStation to Matomo

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

ShipStation to Matomo: use shipped orders to audit tracking coverage

Don't post orders to Matomo from ShipStation: by ship time the visit is over, and the order would arrive with no channel. Post the order to the Matomo HTTP Tracking API from your server at checkout, with the browser's visitor ID and the same order ID, then use ShipStation's own-store shipped orders weekly to measure Matomo's coverage.

ShipStation holds the most honest order count you have: every site order that actually shipped. Matomo records orders by order ID from the browser or your server. Comparing the two each week, with ShipStation filtered to your own store, shows what share of real orders Matomo saw and which ones it missed. Self-hosted Matomo on your own domain should see more than a third-party tag would, but consent refusals and blocked scripts still leave gaps.

Close the gap by posting the order to the Matomo HTTP Tracking API from your server at checkout, with the visitor ID passed from the browser and the same order ID the browser uses, so Matomo keeps the first copy and ignores the duplicate. Do not post from ShipStation: by ship time the visit is long over, and the order would arrive days late with no channel attached.

Shipping cost can go into Matomo only if you are comfortable with everyone who has report access seeing it; most teams keep it in their own table joined on order ID. Exclude marketplace stores from the comparison entirely. Amazon or eBay orders in ShipStation never had a Matomo visit, and counting them as untracked makes coverage look far worse than it is.

ShipStation → Matomo · what breaks

Why this join usually fails — ShipStation → Matomo

  1. 01

    The first-party visitor ID never reaches ShipStation

    The shipment is created after the order, in a different system, with no session behind it.

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

  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.

ShipStation → Matomo · the fix

What working looks like — ShipStation → Matomo

  • The first-party visitor ID on every shipment

  • 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

ShipStation → Matomo · architecture

How ShipStation and Matomo actually connect

  1. 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. 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 ShipStation shipment.

  4. 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. 5

    Deduplication at the destination

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

ShipStation → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the shipment

  • Sent from your order system, enriched with shipping cost

  • Deduplicated correctly

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

  • Reconciles with the source

Actually broken

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

    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

ShipStation → Matomo · diagnose

Diagnostic order — ShipStation → Matomo

  1. 01

    Count shipments carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

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

  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.

ShipStation → Matomo · prove

How it gets proven — ShipStation → Matomo

Source of truth

Orders joined to their actual shipping cost and delivery outcome.

  • The first-party visitor ID confirmed present on a live shipment.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Orders reconciled at contribution margin against imported conversions for a settled month.

ShipStation → Matomo · free audit

What we check in the free audit

  • Count shipments carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Compare average shipping cost by campaign and by region
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Orders joined to their actual shipping cost and delivery outcome.

Get my free conversion tracking audit

Free30 minutesNo obligation

ShipStation → Matomo · when not to buy

When you don't need this — ShipStation → Matomo

  • Measure identifier coverage yourself first — pull your last hundred shipments and count how many carry the first-party visitor ID.
  • If you sell digital goods or charge shipping at cost, this refinement does not apply.
  • 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.

ShipStation → Matomo · what we deliver

What gets built — ShipStation → Matomo

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

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

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

Get my free conversion tracking audit

From $400 · See packages

FAQ

ShipStation → Matomo questions, answered

Marketplace orders, consent refusals and blocked scripts. Filter ShipStation to your own store, then add a server-side order call with the same order ID.

Free · 30 min

Get ShipStation and Matomo joined properly

Free30 minutesNo obligation