Skip to main content
BigCommerce → MatomoIntegration guide

Connecting BigCommerce to Matomo

BigCommerce is a hosted store with an unusually open API, which makes it one of the easier ecommerce platforms to instrument properly. 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 BigCommerce 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

BigCommerce orders in Matomo, on the right visitor

A BigCommerce order carries every field Matomo's ecommerce call wants. Read Matomo's _id visitor ID on the storefront, store it on the cart, and send the server-side order with the BigCommerce order ID as ec_id plus the total, subtotal, tax, shipping and discount. Report refunds separately, and handle multi-currency stores per site or by conversion.

Matomo's ecommerce order call wants a visitor ID, an order ID and a breakdown of grand total, subtotal, tax, shipping and discount, and a BigCommerce order carries every one of those fields, which makes this one of the cleaner mappings on the site. Send the BigCommerce order ID as Matomo's order ID (ec_id) so a reloaded confirmation page cannot record a second order.

The join is the visitor ID. Matomo's _id is a 16-character hex value from its first-party cookie; read it on the storefront, store it on the cart, and send it with the server-side order so the purchase lands on the same visit history as the browsing that led to it. Without it, Matomo creates a fresh visitor for every server-sent order, and funnel reports show purchases with no sessions before them. On hosted checkout, a browser tag on the confirmation page usually fires, but wallet payments and closed tabs are where it misses.

Matomo's tracking API has no refund call that we know of — confirm against your version's documentation — so a refunded BigCommerce order stays in Matomo's revenue. Report refunds from the BigCommerce Orders API separately rather than forcing them into Matomo. Matomo also reports one currency per site and will not convert a multi-currency store's orders, so either run one site per currency or convert before sending, and say which you did.

BigCommerce → Matomo · what breaks

Why this join usually fails — BigCommerce → Matomo

  1. 01

    The first-party visitor ID never reaches BigCommerce

    BigCommerce offers both a hosted checkout and an embedded one, and which you use changes whether your storefront scripts run during checkout. On the hosted flow the identifier has to travel through the cart rather than through a cookie.

  2. 02

    Two checkout modes with different script access

    Hosted and embedded checkout behave differently, and a setup built for one silently misses conversions on the other.

  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.

BigCommerce → Matomo · the fix

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

BigCommerce → Matomo · architecture

How BigCommerce and Matomo actually connect

  1. 1

    BigCommerce holds the truth

    The order carries line items, tax, shipping and currency. Decide whether you report the order total or a net figure before comparing anything, because most BigCommerce discrepancies are two people using two definitions.

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

  4. 4

    The event source decides reliability

    Send when the order status reaches paid, from your server. This covers wallet checkouts and customers who never reach the confirmation page.

  5. 5

    Deduplication at the destination

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

BigCommerce → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the order

  • Sent from the BigCommerce order webhook

  • 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

    BigCommerce offers both a hosted checkout and an embedded one, and which you use changes whether your storefront scripts run during checkout. On the hosted flow the identifier has to travel through the cart rather than through a cookie.

  • Sent from the browser

    Hosted and embedded checkout behave differently, and a setup built for one silently misses conversions on the other.

  • 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

BigCommerce → Matomo · diagnose

Diagnostic order — BigCommerce → Matomo

  1. 01

    Count orders carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm which checkout mode the store uses

    Then test a purchase on that mode specifically rather than on whichever one is convenient.

  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.

BigCommerce → Matomo · prove

How it gets proven — BigCommerce → Matomo

Source of truth

BigCommerce's order list for the same window, at an agreed value definition.

  • The first-party visitor ID confirmed present on a live order.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • A purchase through the store's actual checkout mode confirmed to carry the identifier onto the order.

BigCommerce → 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
  • Confirm which checkout mode the store uses
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

BigCommerce's order list for the same window, at an agreed value definition.

Get my free conversion tracking audit

Free30 minutesNo obligation

BigCommerce → Matomo · when not to buy

When you don't need this — BigCommerce → Matomo

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the first-party visitor ID.
  • BigCommerce's native channel integrations are decent for simple single-currency stores. If your admin and platform numbers already agree, leave it.
  • 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.

BigCommerce → Matomo · what we deliver

What gets built — BigCommerce → Matomo

  • Identifier capture into BigCommerce

    Capture the identifier on the storefront and write it to the order through a cart custom field, then read it back server-side from the order.

  • Event source: the BigCommerce order webhook

    Send when the order status reaches paid, from your server. This covers wallet checkouts and customers who never reach the confirmation page.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds are recorded against the original order, so reversals are straightforward.

Written guarantee

95%+ tracking accuracy

Measured against BigCommerce's order list for the same window, at an agreed value definition.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

BigCommerce → Matomo questions, answered

Check the BigCommerce app marketplace. If nothing suits, add Matomo's JavaScript tracker through Script Manager for browsing and send the purchase server-side from the order webhook, using the same order ID in both so Matomo keeps one.

Free · 30 min

Get BigCommerce and Matomo joined properly

Free30 minutesNo obligation