Skip to main content
Easyship → MatomoIntegration guide

Connecting Easyship to Matomo

Easyship is built for cross-border shipping, where duties, taxes and customs make the difference between the price a customer paid and what you keep genuinely unpredictable. 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 Easyship 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

Easyship costs in Matomo: fill the order fields, then join in SQL

Send the paid order to Matomo from your server with duties and taxes collected at checkout in the tax field and the shipping charge in the shipping field. Since Matomo deduplicates on order ID, load Easyship's settled costs into a table beside your self-hosted ecommerce data and join in SQL. Record destination country as a custom dimension.

Matomo records an ecommerce order with an order ID, a grand total and separate fields for subtotal, tax, shipping and discount. Most implementations fill only the total, which throws away exactly what a cross-border seller needs. Send the order from your server when it is paid, with the duties and taxes collected at checkout in the tax field and the shipping charge in the shipping field, so the split is stored from the start.

What the customer paid is still not what the order cost. Easyship's postage and the duties that settle after dispatch arrive weeks later, and resending the order with corrected figures does nothing because Matomo deduplicates on the order ID. This is where self-hosting helps: the ecommerce data sits in your own database, so you can load Easyship's settled costs into a table beside it and join on order ID in SQL. Hosted analytics tools rarely let you do that.

Record the destination country from the shipment as a custom dimension on the order. Matomo's location reports come from the visitor's IP, and a buyer browsing from one country and shipping to another shows up in the wrong market.

Easyship → Matomo · what breaks

Why this join usually fails — Easyship → Matomo

  1. 01

    The first-party visitor ID never reaches Easyship

    Duties and taxes are frequently determined after dispatch, so the true cost of an order can settle weeks later.

  2. 02

    One margin figure across very different markets

    A campaign performing well in a nearby market and badly in a distant one will average to acceptable, and the budget will keep flowing to 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.

Easyship → Matomo · the fix

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

Easyship → Matomo · architecture

How Easyship and Matomo actually connect

  1. 1

    Easyship holds the truth

    Cross-border economics differ by country far more than by campaign. A single blended margin figure across markets describes none of them.

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

  4. 4

    The event source decides reliability

    Send contribution margin by destination country, so per-market performance is readable.

  5. 5

    Deduplication at the destination

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

Easyship → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the shipment

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

    Duties and taxes are frequently determined after dispatch, so the true cost of an order can settle weeks later.

  • Sent from the browser

    A campaign performing well in a nearby market and badly in a distant one will average to acceptable, and the budget will keep flowing to 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

Easyship → Matomo · diagnose

Diagnostic order — Easyship → Matomo

  1. 01

    Count shipments carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Split contribution margin by destination country

    The variation is usually large enough to change which markets you advertise in at all.

  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.

Easyship → Matomo · prove

How it gets proven — Easyship → Matomo

Source of truth

Orders joined to landed cost — shipping plus duties and taxes — by destination country.

  • 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 landed-cost margin per country against imported conversions.

Easyship → 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
  • Split contribution margin by destination country
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Orders joined to landed cost — shipping plus duties and taxes — by destination country.

Get my free conversion tracking audit

Free30 minutesNo obligation

Easyship → Matomo · when not to buy

When you don't need this — Easyship → Matomo

  • Measure identifier coverage yourself first — pull your last hundred shipments and count how many carry the first-party visitor ID.
  • Domestic-only sellers do not have this problem and a flat shipping assumption will serve them fine.
  • 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.

Easyship → Matomo · what we deliver

What gets built — Easyship → Matomo

  • Identifier capture into Easyship

    Join on the order and update the margin when landed cost is final, rather than reporting the estimate.

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

    Send contribution margin by destination country, so per-market performance is readable.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Returns reverse, and cross-border returns cost more than domestic ones.

Written guarantee

95%+ tracking accuracy

Measured against Orders joined to landed cost — shipping plus duties and taxes — by destination country.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Easyship → Matomo questions, answered

Use the order's tax and shipping fields when you send it, and join Easyship's settled costs to the order ID in your Matomo database for margin.

Free · 30 min

Get Easyship and Matomo joined properly

Free30 minutesNo obligation