Connecting MemberPress to Matomo
MemberPress runs memberships inside WordPress, which means you own the database and inherit every WordPress problem alongside it. 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 MemberPress 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
MemberPress to Matomo: signups and renewals, counted apart
First check whether the Matomo for WordPress plugin's built-in MemberPress ecommerce tracking covers your gateways. Otherwise send the first paid transaction as an ecommerce order through the HTTP Tracking API from the MemberPress hook, with transaction ID as order ID, level as product and the visitor ID saved to user meta at signup. Track renewals as a separate goal.
Matomo and MemberPress are often on the same WordPress install, and the Matomo for WordPress plugin has offered built-in ecommerce tracking for MemberPress; check whether it covers your gateways and membership types before writing anything custom. Be aware that running Matomo inside WordPress puts tracking writes on the same database that serves your members, which on a busy site is a performance decision, not just a privacy one.
For a custom setup, send the first paid transaction as an ecommerce order through the HTTP Tracking API from the MemberPress hook, with the transaction ID as the order ID, the membership level as the product, and the visitor ID saved to user meta during signup so the order joins the visit and campaign that produced it.
Renewals need handling apart. A renewal arrives from a gateway webhook with no visit, and recording it as an ecommerce order on the original visitor inflates conversion rate for whatever campaign that member first came from. Track renewals as a separate goal, or leave them to MemberPress reports. Refunds cannot be cleanly reversed in Matomo's ecommerce data, so reconcile them from MemberPress's own transactions.
MemberPress → Matomo · what breaks
Why this join usually fails — MemberPress → Matomo
- 01
The first-party visitor ID never reaches MemberPress
Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.
- 02
Caching between the visitor and your code
The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.
- 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.
MemberPress → Matomo · the fix
What working looks like — MemberPress → Matomo
The first-party visitor ID on every membership
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
MemberPress → Matomo · architecture
How MemberPress and Matomo actually connect
- 1
MemberPress holds the truth
Owning the database is the advantage — you can query it directly and reconcile without depending on anyone. The disadvantage is that caching, plugin conflicts and optimisation tools sit between your visitor and your code.
- 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 MemberPress subscription.
- 4
The event source decides reliability
Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
MemberPress → Matomo · normal or broken
Working vs. broken, side by side — MemberPress → Matomo
Normal, not a fault
The first-party visitor ID present on the membership
Sent from the MemberPress transaction-completed hook
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
Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.
Sent from the browser
The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.
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
MemberPress → Matomo · diagnose
Diagnostic order — MemberPress → Matomo
- 01
Count memberships carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Submit a test signup through a fully cached page
Not as a logged-in admin, which bypasses the cache. If the metadata is empty on the cached path, caching is your cause.
- 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.
MemberPress → Matomo · prove
How it gets proven — MemberPress → Matomo
Source of truth
MemberPress transactions and subscriptions in your own WordPress database, for the same window.
- The first-party visitor ID confirmed present on a live membership.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- Subscription metadata confirmed populated on a signup made as an anonymous visitor through cache.
MemberPress → Matomo · free audit
What we check in the free audit
- Count memberships carrying the first-party visitor ID
- Follow one real conversion end to end
- Submit a test signup through a fully cached page
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
MemberPress transactions and subscriptions in your own WordPress database, for the same window.
Free30 minutesNo obligation
MemberPress → Matomo · when not to buy
When you don't need this — MemberPress → Matomo
- Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the first-party visitor ID.
- If you run no caching layer and a single membership tier, a developer can wire this in an afternoon.
- 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.
MemberPress → Matomo · what we deliver
What gets built — MemberPress → Matomo
Identifier capture into MemberPress
Capture the identifier and write it to subscription metadata through a MemberPress or WordPress hook, so it lives in your database rather than in a page that might be cached.
Event source: the MemberPress transaction-completed hook
Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Cancellations and refunds are recorded against the subscription and should reduce the reported figure.
Written guarantee
95%+ tracking accuracy
Measured against MemberPress transactions and subscriptions in your own WordPress database, for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
MemberPress → Matomo questions, answered
The Matomo for WordPress plugin has included MemberPress ecommerce tracking; confirm it supports your setup. Otherwise send orders server-side from the MemberPress hook.
Better not. They have no visit behind them, so track them as a separate goal or report them from MemberPress.
Almost always because the first-party visitor ID never reached the MemberPress subscription. Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page. 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 MemberPress transaction-completed hook. Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.
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 MemberPress → Matomo
- MemberPress → Google AdsConnecting MemberPress to Google Ads
- MemberPress → MetaConnecting MemberPress to Meta Conversions API
- MemberPress → GA4Connecting MemberPress to GA4
RELATED GUIDES
Where MemberPress → Matomo fits in the rest of your tracking
- Skool → MatomoConnecting Skool to Matomo
- Teachable → MatomoConnecting Teachable to Matomo
- SamCart → MatomoConnecting SamCart to Matomo
- MemberPress → GA4Connecting MemberPress to GA4
- MemberPress → AmplitudeConnecting MemberPress to Amplitude
- MembershipsConversion tracking for membership communities, past the first month
- Kajabi → MatomoConnecting Kajabi to Matomo
- Circle → MatomoConnecting Circle to Matomo
Free · 30 min
Get MemberPress and Matomo joined properly
Free30 minutesNo obligation
