Skip to main content
Zonos → MatomoIntegration guide

Connecting Zonos to Matomo

Zonos calculates duties and taxes so the shopper can prepay them, which removes the delivery-time surprise that causes international refusals — and creates a figure in the order that is not your revenue. 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 Zonos landed-cost 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

Zonos orders in Matomo: keep duty out of the revenue column

Send the Zonos order to Matomo server-side with the order ID, merchandise value as revenue and prepaid duty and import tax in the tax field, using the visitor ID written to the order before the landed-cost step. Track the landed-cost quote as an event with country and duty, and segment checkout abandonment by destination.

Matomo's ecommerce order already has separate slots for subtotal, tax, shipping and discount alongside the grand total, which makes it one of the few destinations where the Zonos duty breakdown has a natural home. The trap is that Matomo's Revenue reports use the grand total you send. Pass the landed-cost total there and every international market's revenue is inflated by its duty rate inside your own analytics.

A clean server-side call sends the order ID, merchandise value as the revenue figure, and the prepaid duty and import tax in the tax field, with the visitor ID that Matomo's tracker set on the browser before checkout. That visitor ID has to be written to the order before the landed-cost step runs, because the total the shopper sees changes there and some checkouts reload or redirect at that point.

Matomo is also good for the question the ad platforms cannot answer: how many international shoppers leave when the duty appears. Track the landed-cost quote as an event with the country and the duty amount, and segment checkout abandonment by destination. If one market loses most of its carts at that step, the fix is pricing or DDP policy, not attribution.

Zonos → Matomo · what breaks

Why this join usually fails — Zonos → Matomo

  1. 01

    The first-party visitor ID never reaches Zonos

    Landed-cost calculation runs at checkout and can change the displayed total after the identifier was captured.

  2. 02

    Government duty counted as your revenue

    On high-duty markets this can be a fifth of the order total. It never reaches you, it is not margin, and including it makes exactly the most expensive markets look like the best performers.

  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.

Zonos → Matomo · the fix

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

Zonos → Matomo · architecture

How Zonos and Matomo actually connect

  1. 1

    Zonos holds the truth

    Prepaid duty sits inside the order total and belongs to a government, not to you. Including it in conversion value inflates international revenue by the duty rate of each market.

  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 Zonos landed-cost order.

  4. 4

    The event source decides reliability

    Send orders at merchandise value, excluding prepaid duties and taxes.

  5. 5

    Deduplication at the destination

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

Zonos → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the order

  • Sent from the order record with the Zonos duty breakdown

  • 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

    Landed-cost calculation runs at checkout and can change the displayed total after the identifier was captured.

  • Sent from the browser

    On high-duty markets this can be a fifth of the order total. It never reaches you, it is not margin, and including it makes exactly the most expensive markets look like the best performers.

  • 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

Zonos → Matomo · diagnose

Diagnostic order — Zonos → Matomo

  1. 01

    Count orders carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether prepaid duty is inside the conversion value

    If the value matches the customer's total, it almost certainly is.

  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.

Zonos → Matomo · prove

How it gets proven — Zonos → Matomo

Source of truth

Orders net of prepaid duties and taxes, by destination.

  • The first-party visitor ID confirmed present on a live order.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Merchandise-value revenue reconciled per market against imported conversions, with duty excluded.

Zonos → 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
  • Check whether prepaid duty is inside the conversion value
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Orders net of prepaid duties and taxes, by destination.

Get my free conversion tracking audit

Free30 minutesNo obligation

Zonos → Matomo · when not to buy

When you don't need this — Zonos → Matomo

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the first-party visitor ID.
  • Domestic-only sellers have no duty component and none of this applies.
  • 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.

Zonos → Matomo · what we deliver

What gets built — Zonos → Matomo

  • Identifier capture into Zonos

    Capture on landing and record the duty component separately on the order so it can be excluded from value.

  • Event source: the order record with the Zonos duty breakdown

    Send orders at merchandise value, excluding prepaid duties and taxes.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Returns reverse the merchandise value; recovering duty is a separate and often unsuccessful process.

Written guarantee

95%+ tracking accuracy

Measured against Orders net of prepaid duties and taxes, by destination.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Zonos → Matomo questions, answered

Send the merchandise value as the order revenue and put the Zonos duty and tax amounts in the tax field. Matomo reports revenue from the figure you send, so it only excludes duty if you exclude it.

Free · 30 min

Get Zonos and Matomo joined properly

Free30 minutesNo obligation