Connecting Recharge to Matomo
Recharge holds the subscription, which means it holds the only complete record of what a Shopify subscription store actually earns over time. 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 Recharge 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
Recharge renewals in Matomo: one order ID per charge
Store the Matomo visitor ID or a login user ID on the Recharge subscription at creation. Post each renewal through the HTTP Tracking API with that ID, the Shopify order number as order ID and the charge time, marked with a custom dimension. Queue and retry sends, since renewals cluster on charge days and a self-hosted tracker can drop them.
Matomo's ecommerce reports are built around orders, and Recharge makes a Shopify order for every charge, so this pair can show genuine subscription revenue if renewals are sent through the HTTP Tracking API and tied back to the original visitor. The JavaScript tracker on the storefront only ever sees the first order, and on Shopify's checkout you would be running it as a custom pixel anyway.
Store the Matomo visitor ID, or a user ID you set at login, on the Recharge subscription when it is created. Each renewal is then posted with that ID, the Shopify order number as the order ID, and the charge time; check the token requirements if you need to send hits with an older timestamp from a batched pipeline. Mark renewals with a custom dimension so ecommerce conversion rate is not inflated by orders that had no visit behind them.
The reason to choose Matomo here is that you can query subscriber journeys in your own database, from first-visit channel to cancellation date, without sampling or vendor retention limits. The cost is that renewals tend to cluster on the same charge days, and a self-hosted tracker that is down or overloaded on one of them loses that day's revenue unless your sender queues and retries.
Recharge → Matomo · what breaks
Why this join usually fails — Recharge → Matomo
- 01
The first-party visitor ID never reaches Recharge
The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is.
- 02
Renewals happen with no browser present
Charges run on a schedule with no customer there. Nothing that fires from a page can see them, and stores routinely report only acquisition and undercount total revenue by whatever their retention is worth.
- 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.
- 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.
Recharge → Matomo · the fix
What working looks like — Recharge → 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
Recharge → Matomo · architecture
How Recharge and Matomo actually connect
- 1
Recharge holds the truth
Every charge creates a Shopify order, so the two systems should agree. Recharge is authoritative for the recurring relationship; Shopify is authoritative for what the store banked.
- 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
The identifier is the bridge
The first-party visitor ID, captured at the visit and carried into the Recharge subscription.
- 4
The event source decides reliability
Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Recharge → Matomo · normal or broken
Working vs. broken, side by side — Recharge → Matomo
Normal, not a fault
The first-party visitor ID present on the subscription
Sent from the Recharge subscription and charge webhooks
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
The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is.
Sent from the browser
Charges run on a schedule with no customer there. Nothing that fires from a page can see them, and stores routinely report only acquisition and undercount total revenue by whatever their retention is worth.
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
Recharge → Matomo · diagnose
Diagnostic order — Recharge → Matomo
- 01
Count subscriptions carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Check whether a subscription carries the identifier
Not the order. If it is on the order only, renewals can never be attributed no matter what you build downstream.
- 04
Check tracker reachability and database lag before debugging any tag
On self-hosted analytics the answer is infrastructure more often than instrumentation.
- 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.
Recharge → Matomo · prove
How it gets proven — Recharge → Matomo
Source of truth
Recharge's subscription and charge records, cross-checked against the Shopify orders they create.
- The first-party visitor ID confirmed present on a live subscription.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- A renewal confirmed to land wherever the written policy says it should, and a cancellation confirmed to reverse.
Recharge → 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
- Check whether a subscription carries the identifier
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Recharge's subscription and charge records, cross-checked against the Shopify orders they create.
Free30 minutesNo obligation
Recharge → Matomo · when not to buy
When you don't need this — Recharge → Matomo
- Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the first-party visitor ID.
- If you sell one-off products with a small subscription tail, the store's native integration may already be adequate. Measure the recurring share first.
- 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.
Recharge → Matomo · what we deliver
What gets built — Recharge → Matomo
Identifier capture into Recharge
Capture the click identifier on the storefront and write it to the Recharge subscription's metadata at creation, so it is available on every subsequent charge.
Event source: the Recharge subscription and charge webhooks
Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Recharge exposes cancellation, which should reverse the lifetime value you claimed at acquisition. Almost nobody wires this, so reported subscriber value only ever rises.
Written guarantee
95%+ tracking accuracy
Measured against Recharge's subscription and charge records, cross-checked against the Shopify orders they create.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Recharge → Matomo questions, answered
Post each charge server-side through the HTTP Tracking API as an ecommerce order, using the visitor or user ID stored on the subscription and the Shopify order number as the order ID.
Yes, if they are recorded as visits with orders. Mark them with a custom dimension and report acquisition conversion rate on first orders only.
Almost always because the first-party visitor ID never reached the Recharge subscription. The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is. Measure coverage before debugging the dispatch.
Matomo sets its own first-party cookie and, when self-hosted on your domain, is not a third-party request at all. That means ad blockers and browser tracking-prevention affect it far less than a hosted analytics tag — one of the few genuine measurement advantages available under current privacy conditions.
The Recharge subscription and charge webhooks. Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.
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.
More on Recharge → Matomo
- Recharge → Google AdsConnecting Recharge to Google Ads
- Recharge → MetaConnecting Recharge to Meta Conversions API
- Recharge → GA4Connecting Recharge to GA4
RELATED GUIDES
Where Recharge → Matomo fits in the rest of your tracking
- Worldpay → MatomoConnecting Worldpay to Matomo
- Adyen → MatomoConnecting Adyen to Matomo
- Sezzle → MatomoConnecting Sezzle to Matomo
- Recharge → AmplitudeConnecting Recharge to Amplitude
- Recharge → GA4Connecting Recharge to GA4
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- Square → MatomoConnecting Square to Matomo
- GoCardless → MatomoConnecting GoCardless to Matomo
Free · 30 min
Get Recharge and Matomo joined properly
Free30 minutesNo obligation
