Connecting Tapfiliate to Matomo
Tapfiliate handles affiliate programmes for SaaS and subscription businesses, where the commission recurs and therefore so does the cost of getting the attribution wrong. 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 Tapfiliate conversion 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
Tapfiliate visits in Matomo: the ref parameter isn't a campaign
Matomo ignores Tapfiliate's referral parameter, so read it on landing into a visit-scoped custom dimension, or have affiliates add Matomo campaign parameters, and align the attribution windows. Store the Matomo visitor ID on the account at signup and send the paid conversion server-side through the HTTP Tracking API with that ID and the invoice ID as order ID.
Matomo reads its own campaign parameters, mtm_campaign and the older pk_campaign, and ignores Tapfiliate's referral parameter. Affiliate visits therefore show up as referrals from the affiliate's website, or as direct when a link is clicked in an app or email. Matomo will report far fewer affiliate conversions than Tapfiliate pays out on, and it will not be clear why.
Two fixes, both simple. Ask affiliates to use links carrying Matomo campaign parameters alongside the referral code, or read the referral parameter on landing and store it in a visit-scoped custom dimension. The second does not depend on affiliates editing their links. Remember that Matomo's attribution window for campaigns and Tapfiliate's cookie length are separate settings, and they need to match before the two numbers can be compared.
Subscriptions add a time gap. The visit and the signup happen in one session, the paid conversion weeks later in billing. Store the Matomo visitor ID on the account at signup and send the paid conversion server-side through the HTTP Tracking API with that ID and the invoice ID as the order ID, so it lands on the affiliate visit rather than on a new anonymous visitor.
Tapfiliate → Matomo · what breaks
Why this join usually fails — Tapfiliate → Matomo
- 01
The first-party visitor ID never reaches Tapfiliate
Affiliate cookies and paid identifiers coexist in the same browser through a trial period that can run weeks.
- 02
Commission continuing on cancelled subscriptions
Most implementations wire the signup and forget the cancellation, so affiliates keep earning on customers who left months ago. This is money leaving the business quietly and indefinitely.
- 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.
Tapfiliate → Matomo · the fix
What working looks like — Tapfiliate → Matomo
The first-party visitor ID on every conversion
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
Tapfiliate → Matomo · architecture
How Tapfiliate and Matomo actually connect
- 1
Tapfiliate holds the truth
Recurring commission means an attribution error does not cost you once. It costs you every month until somebody notices, and nobody notices because the amounts are individually small.
- 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 Tapfiliate conversion.
- 4
The event source decides reliability
Send new subscriptions net of commission, with affiliate-sourced ones marked.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Tapfiliate → Matomo · normal or broken
Working vs. broken, side by side — Tapfiliate → Matomo
Normal, not a fault
The first-party visitor ID present on the conversion
Sent from the subscription record with affiliate attribution
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
Affiliate cookies and paid identifiers coexist in the same browser through a trial period that can run weeks.
Sent from the browser
Most implementations wire the signup and forget the cancellation, so affiliates keep earning on customers who left months ago. This is money leaving the business quietly and indefinitely.
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
Tapfiliate → Matomo · diagnose
Diagnostic order — Tapfiliate → Matomo
- 01
Count conversions carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Check whether cancellations reach the affiliate platform
Usually they do not, because only the signup path was interesting to build.
- 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.
Tapfiliate → Matomo · prove
How it gets proven — Tapfiliate → Matomo
Source of truth
Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.
- The first-party visitor ID confirmed present on a live conversion.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- Commissionable recurring revenue reconciled against active subscriptions, with cancellations proven to reverse.
Tapfiliate → Matomo · free audit
What we check in the free audit
- Count conversions carrying the first-party visitor ID
- Follow one real conversion end to end
- Check whether cancellations reach the affiliate platform
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.
Free30 minutesNo obligation
Tapfiliate → Matomo · when not to buy
When you don't need this — Tapfiliate → Matomo
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the first-party visitor ID.
- One-off sales programmes do not have the recurring exposure and need only the signup path.
- 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.
Tapfiliate → Matomo · what we deliver
What gets built — Tapfiliate → Matomo
Identifier capture into Tapfiliate
Record both identifiers with timestamps on the account and apply a written precedence rule at conversion rather than at click.
Event source: the subscription record with affiliate attribution
Send new subscriptions net of commission, with affiliate-sourced ones marked.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Cancellations must reverse and stop the recurring commission.
Written guarantee
95%+ tracking accuracy
Measured against Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Tapfiliate → Matomo questions, answered
Matomo ignores Tapfiliate's referral parameter. Add Matomo campaign parameters to affiliate links, or capture the referral parameter into a custom dimension on landing.
Keep the Matomo visitor ID on the account at signup and send the paid conversion server-side with it later.
Almost always because the first-party visitor ID never reached the Tapfiliate conversion. Affiliate cookies and paid identifiers coexist in the same browser through a trial period that can run weeks. 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 subscription record with affiliate attribution. Send new subscriptions net of commission, with affiliate-sourced ones marked.
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 Tapfiliate → Matomo
- Tapfiliate → Google AdsConnecting Tapfiliate to Google Ads
- Tapfiliate → MetaConnecting Tapfiliate to Meta Conversions API
- Tapfiliate → GA4Connecting Tapfiliate to GA4
RELATED GUIDES
Where Tapfiliate → Matomo fits in the rest of your tracking
- Post Affiliate Pro → MatomoConnecting Post Affiliate Pro to Matomo
- Everflow → MatomoConnecting Everflow to Matomo
- Rakuten Advertising → MatomoConnecting Rakuten Advertising to Matomo
- Tapfiliate → GA4Connecting Tapfiliate to GA4
- Tapfiliate → AmplitudeConnecting Tapfiliate to Amplitude
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- CJ → MatomoConnecting CJ Affiliate to Matomo
- LeadDyno → MatomoConnecting LeadDyno to Matomo
Free · 30 min
Get Tapfiliate and Matomo joined properly
Free30 minutesNo obligation
