Skip to main content
nopCommerce → MatomoIntegration guide

Connecting nopCommerce to Matomo

nopCommerce is a .NET platform usually run by teams who deploy their own builds, which makes tracking a code change rather than a plugin install — and code changes ship on the release cycle, not on the marketing calendar. 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 nopCommerce 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

nopCommerce ecommerce orders in self-hosted Matomo

Record nopCommerce orders in self-hosted Matomo through the Tracking API from the order-paid consumer, with the custom order number as order ID, primary-currency revenue, and subtotal, tax, shipping and discount separately. Pass the Matomo visitor ID stored as a customer generic attribute, and report net revenue from nopCommerce, since refunds do not reverse.

Self-hosted Matomo beside a self-hosted nopCommerce store keeps the whole measurement chain on infrastructure you run, which is the reason to pick this pair. nopCommerce ships a Google Analytics plugin, not a Matomo one; check the marketplace for your version, or add the Matomo tracking code to the theme and record the order server-side.

Record the ecommerce order through the Tracking API from the order-paid consumer, with the custom order number as order ID so a revisited confirmation page cannot double it, revenue in the primary store currency, and subtotal, tax, shipping and discount as separate amounts, which nopCommerce already stores separately on the order. Pass the Matomo visitor ID, captured into a customer generic attribute during checkout, so the order joins the visit that produced it.

As far as we know, Matomo has no built-in way to reverse a refunded ecommerce order, so a nopCommerce refund stays as revenue in Matomo; check whether your Matomo version changed that, and otherwise report net revenue from nopCommerce. Server-side recording matters most for payment methods that redirect off-site, where a customer who never returns to the confirmation page is still a paid order.

nopCommerce → Matomo · what breaks

Why this join usually fails — nopCommerce → Matomo

  1. 01

    The first-party visitor ID never reaches nopCommerce

    Custom builds mean the checkout flow differs per installation, and a redeploy can remove tracking that was added by hand.

  2. 02

    Tracking that disappears on the next release

    Anything bolted onto a self-hosted build by hand will eventually be lost in a merge. Putting the identifier in the schema makes it a first-class field that a redeploy carries rather than erases.

  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.

nopCommerce → Matomo · the fix

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

nopCommerce → Matomo · architecture

How nopCommerce and Matomo actually connect

  1. 1

    nopCommerce holds the truth

    Because the platform is self-hosted, the order table is directly queryable and there is no reason to infer revenue from a confirmation page.

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

  4. 4

    The event source decides reliability

    Send orders with payment status paid, at the order subtotal.

  5. 5

    Deduplication at the destination

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

nopCommerce → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the order

  • Sent from the nopCommerce order table

  • 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

    Custom builds mean the checkout flow differs per installation, and a redeploy can remove tracking that was added by hand.

  • Sent from the browser

    Anything bolted onto a self-hosted build by hand will eventually be lost in a merge. Putting the identifier in the schema makes it a first-class field that a redeploy carries rather than erases.

  • 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

nopCommerce → Matomo · diagnose

Diagnostic order — nopCommerce → Matomo

  1. 01

    Count orders carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether identifier capture survives a deploy

    Test it deliberately on a staging release rather than discovering it three weeks after the fact.

  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.

nopCommerce → Matomo · prove

How it gets proven — nopCommerce → Matomo

Source of truth

nopCommerce orders by payment status, from the database rather than from a page.

  • The first-party visitor ID confirmed present on a live order.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Paid orders reconciled from the database against imported conversions for a closed week.

nopCommerce → 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 identifier capture survives a deploy
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

nopCommerce orders by payment status, from the database rather than from a page.

Get my free conversion tracking audit

Free30 minutesNo obligation

nopCommerce → Matomo · when not to buy

When you don't need this — nopCommerce → Matomo

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the first-party visitor ID.
  • If your team already sends orders server-side from the application, this is done and the remaining work is reconciliation.
  • 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.

nopCommerce → Matomo · what we deliver

What gets built — nopCommerce → Matomo

  • Identifier capture into nopCommerce

    Add the identifier as a custom order field in the data model, so it survives redeploys as a schema change rather than as a script.

  • Event source: the nopCommerce order table

    Send orders with payment status paid, at the order subtotal.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds and voids reverse.

Written guarantee

95%+ tracking accuracy

Measured against nopCommerce orders by payment status, from the database rather than from a page.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

nopCommerce → Matomo questions, answered

nopCommerce bundles Google Analytics rather than Matomo, so check the marketplace for your version. A theme snippet plus a server-side order plugin works either way.

Free · 30 min

Get nopCommerce and Matomo joined properly

Free30 minutesNo obligation