Skip to main content
ShipBob → MatomoIntegration guide

Connecting ShipBob to Matomo

ShipBob is outsourced fulfilment, which means pick, pack and storage fees sit between the order value and what you keep — and none of them are visible at checkout. 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 ShipBob 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

Joining ShipBob costs to Matomo orders in your own database

Track the order in Matomo at checkout through the ecommerce API with the store's order ID, then join ShipBob fulfilment cost in SQL against Matomo's self-hosted tables, never by resending the order. Keep costs in your own one-row-per-order table to get contribution by campaign, and compare Matomo order counts with ShipBob shipments to catch tracking failures.

Matomo's self-hosted database is what makes this pair work. Track the order through the ecommerce API at checkout with the store's order ID, and Matomo stores it with the visit's campaign data in tables you can query directly. ShipBob's fulfilment cost never needs to pass through the tracker; it can be joined in SQL on the order ID once ShipBob bills the order.

That is a better design than trying to update the tracked order. The ecommerce order in Matomo records revenue, tax, shipping charged and discount at the time of sale, and resending it with a corrected value either duplicates or is ignored, depending on whether the order ID matches. Keep the tracker on what the customer paid and keep ShipBob costs in a table of your own beside it, with one row per order.

The join then answers the question ShipBob brands actually have: contribution by campaign, after pick fees per item, packaging and postage. Run it on a schedule and watch the order count first; if Matomo shows fewer orders than ShipBob shipped, the gap is checkout-tracking failure, which on a self-hosted tracker often means the endpoint was unreachable, not that customers blocked anything.

ShipBob → Matomo · what breaks

Why this join usually fails — ShipBob → Matomo

  1. 01

    The first-party visitor ID never reaches ShipBob

    Fulfilment happens in a third party's system days after the order.

  2. 02

    Per-item fulfilment costs invisible in order value

    A campaign driving small multi-item baskets can look strong on revenue and be unprofitable once pick fees are counted. The order value never sees it and neither does the ad platform.

  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.

ShipBob → Matomo · the fix

What working looks like — ShipBob → 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

ShipBob → Matomo · architecture

How ShipBob and Matomo actually connect

  1. 1

    ShipBob holds the truth

    Third-party logistics costs are per-order and per-item, so a multi-item order and a single-item order of the same value have quite different economics.

  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 ShipBob order.

  4. 4

    The event source decides reliability

    Send contribution margin rather than order value where fulfilment cost is available.

  5. 5

    Deduplication at the destination

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

ShipBob → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the shipment

  • Sent from your order system, enriched with fulfilment 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

    Fulfilment happens in a third party's system days after the order.

  • Sent from the browser

    A campaign driving small multi-item baskets can look strong on revenue and be unprofitable once pick fees are counted. The order value never sees it and neither does the ad platform.

  • 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

ShipBob → Matomo · diagnose

Diagnostic order — ShipBob → Matomo

  1. 01

    Count shipments carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compute contribution margin per campaign for one month

    It is a join, not a project, and it frequently reorders the campaign ranking.

  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.

ShipBob → Matomo · prove

How it gets proven — ShipBob → Matomo

Source of truth

Orders joined to their fulfilment cost, including pick, pack, storage and shipping.

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

ShipBob → 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
  • Compute contribution margin per campaign for one month
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Orders joined to their fulfilment cost, including pick, pack, storage and shipping.

Get my free conversion tracking audit

Free30 minutesNo obligation

ShipBob → Matomo · when not to buy

When you don't need this — ShipBob → Matomo

  • Measure identifier coverage yourself first — pull your last hundred shipments and count how many carry the first-party visitor ID.
  • If your fulfilment cost is flat per order and small relative to basket value, order value is a fine proxy.
  • 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.

ShipBob → Matomo · what we deliver

What gets built — ShipBob → Matomo

  • Identifier capture into ShipBob

    Join on the order identifier and pull the fulfilment cost back onto the order before valuing the conversion.

  • Event source: your order system, enriched with fulfilment cost

    Send contribution margin rather than order value where fulfilment cost is available.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Returns reverse, including the return handling fee.

Written guarantee

95%+ tracking accuracy

Measured against Orders joined to their fulfilment cost, including pick, pack, storage and shipping.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ShipBob → Matomo questions, answered

Do not resend the order. Load ShipBob costs into your own table and join it to Matomo's ecommerce conversions on the order ID in SQL.

Free · 30 min

Get ShipBob and Matomo joined properly

Free30 minutesNo obligation