Skip to main content
WooCommerce Subscriptions → MatomoIntegration guide

Connecting WooCommerce Subscriptions to Matomo

WooCommerce Subscriptions turns a store into a recurring business, and every renewal creates a real WooCommerce order — which is exactly why renewals get counted as sales. 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 WooCommerce subscription 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

WooCommerce Subscriptions to Matomo: track parent orders, tag renewals

Track the WooCommerce Subscriptions parent order as a Matomo ecommerce order with the WooCommerce order number as order ID, from the browser or the HTTP Tracking API using the visitor ID stored on the subscription. Record renewals separately as a goal or custom event with the WordPress user ID, and test how your setup handles scheduler-created renewals.

Matomo is a natural fit for a WordPress subscription store, since it can run on infrastructure you already manage and the Matomo for WordPress plugin can track WooCommerce ecommerce orders without a third-party request. Check how your setup records renewal orders before trusting its revenue report: browser tracking sees parent orders at checkout, but whether scheduler-created renewals are recorded, and against which visitor, depends on configuration you should test with a real renewal.

A clean model for this pair: track the parent order as a Matomo ecommerce order with the WooCommerce order number as the order ID, from the browser or through the HTTP Tracking API with the visitor ID stored on the subscription at checkout. Record renewals separately, as a goal or custom event carrying the renewal value and the WordPress user ID, so Matomo's ecommerce conversion rate reflects people who chose to buy rather than charges the scheduler collected.

The self-hosting risk is specific here. If you synchronize renewals to one day of the month, Action Scheduler processes them in a burst, and a Matomo instance sharing the WordPress database server takes that load at the same moment as its own tracking requests. Watch Matomo's tracking on renewal days, or give it its own database, so one heavy morning does not cost you both renewal processing and analytics data.

WooCommerce Subscriptions → Matomo · what breaks

Why this join usually fails — WooCommerce Subscriptions → Matomo

  1. 01

    The first-party visitor ID never reaches WooCommerce Subscriptions

    Renewal orders are created by a scheduled task with no browser, no referrer and no session.

  2. 02

    Renewal orders indistinguishable from new sales

    This is the single most common WooCommerce Subscriptions error. Renewals are real orders in the same table, so a default order-based integration counts every one, and the conversion count inflates by exactly your retention rate.

  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.

WooCommerce Subscriptions → Matomo · the fix

What working looks like — WooCommerce Subscriptions → Matomo

  • The first-party visitor ID on every subscription

  • 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

WooCommerce Subscriptions → Matomo · architecture

How WooCommerce Subscriptions and Matomo actually connect

  1. 1

    WooCommerce Subscriptions holds the truth

    A renewal is a full order in the orders table, indistinguishable from a new purchase unless you check the parent subscription. That is the trap.

  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 WooCommerce subscription.

  4. 4

    The event source decides reliability

    Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.

  5. 5

    Deduplication at the destination

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

WooCommerce Subscriptions → Matomo · normal or broken

Working vs. broken, side by side — WooCommerce Subscriptions → Matomo

Normal, not a fault

  • The first-party visitor ID present on the subscription

  • Sent from the WooCommerce subscription record

  • 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

    Renewal orders are created by a scheduled task with no browser, no referrer and no session.

  • Sent from the browser

    This is the single most common WooCommerce Subscriptions error. Renewals are real orders in the same table, so a default order-based integration counts every one, and the conversion count inflates by exactly your retention rate.

  • 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

WooCommerce Subscriptions → Matomo · diagnose

Diagnostic order — WooCommerce Subscriptions → Matomo

  1. 01

    Count subscriptions carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare order count against new subscription count

    If orders substantially exceed new subscriptions, renewals are in your conversion feed.

  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.

WooCommerce Subscriptions → Matomo · prove

How it gets proven — WooCommerce Subscriptions → Matomo

Source of truth

New subscriptions by start date, held apart from the renewal orders they generate.

  • The first-party visitor ID confirmed present on a live subscription.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • New subscriptions reconciled against imported conversions, with renewal orders demonstrably excluded.

WooCommerce Subscriptions → Matomo · free audit

What we check in the free audit

  • Count subscriptions carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Compare order count against new subscription count
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

New subscriptions by start date, held apart from the renewal orders they generate.

Get my free conversion tracking audit

Free30 minutesNo obligation

WooCommerce Subscriptions → Matomo · when not to buy

When you don't need this — WooCommerce Subscriptions → Matomo

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the first-party visitor ID.
  • Stores selling only one-time products do not generate renewal orders and are unaffected.
  • 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.

WooCommerce Subscriptions → Matomo · what we deliver

What gets built — WooCommerce Subscriptions → Matomo

  • Identifier capture into WooCommerce Subscriptions

    Capture on the original purchase and store on the subscription, then filter renewals out of the conversion feed by parent subscription.

  • Event source: the WooCommerce subscription record

    Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Cancellations inside the first period reverse.

Written guarantee

95%+ tracking accuracy

Measured against New subscriptions by start date, held apart from the renewal orders they generate.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

WooCommerce Subscriptions → Matomo questions, answered

It depends on your setup, so test with a real renewal. A clean approach records only parent orders as ecommerce orders and sends renewals as a separate goal or event.

Free · 30 min

Get WooCommerce Subscriptions and Matomo joined properly

Free30 minutesNo obligation