Connecting Teachable to Matomo
Teachable hosts courses and their checkout, so the sale happens inside the platform and the creator's own site is usually just a front door. 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 Teachable transaction 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
Teachable to Matomo: carry the visitor ID across the checkout
Read Matomo's visitor ID on your site, append it to the Teachable checkout link, confirm it's recoverable from the transaction, and post an ecommerce order to the Matomo HTTP Tracking API from your webhook handler, forcing that visitor ID and using the Teachable transaction ID as order ID. Matomo won't reverse refunds, so report net revenue from Teachable.
Matomo's appeal is that visits to your marketing site land in a database you own, largely unaffected by blockers. The gap is that the sale happens on Teachable's checkout, not on that site, so the Matomo visitor who read your sales page and the student who paid are joined only if you carry Matomo's visitor ID into the checkout URL and back.
The workable path: read the visitor ID from the Matomo tracker on your site, append it to the Teachable checkout link, confirm it is recoverable on the resulting transaction, and post an ecommerce order to the Matomo HTTP Tracking API from your webhook handler. Force that visitor ID on the request and use the Teachable transaction ID as the order ID, so a retried webhook does not record a second order.
If the school sits on a Teachable subdomain, Matomo on your main site counts the checkout click as an exit and the student as lost. Check whether your Teachable plan allows code snippets so the school pages can be tracked under the same site ID. Refunds need their own handling: Matomo records orders but will not reverse them when Teachable refunds, so report net revenue from Teachable rather than from Matomo goals.
Teachable → Matomo · what breaks
Why this join usually fails — Teachable → Matomo
- 01
The first-party visitor ID never reaches Teachable
Checkout is hosted on Teachable, so an identifier captured on your own marketing site does not automatically reach the enrolment. It has to be carried through the checkout URL and read back from the transaction.
- 02
A hosted checkout on another domain
Your marketing site and the checkout are separate origins, so nothing carries across on its own and the enrolment arrives with no trace of the campaign.
- 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.
Teachable → Matomo · the fix
What working looks like — Teachable → Matomo
The first-party visitor ID on every enrolment
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
Teachable → Matomo · architecture
How Teachable and Matomo actually connect
- 1
Teachable holds the truth
Teachable distinguishes one-time purchases, payment plans and subscriptions. As with any course platform, valuing a payment plan at its first instalment is the standard mistake.
- 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 Teachable transaction.
- 4
The event source decides reliability
Send from the webhook on completed transactions, distinguishing plan types so each carries an appropriate value.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Teachable → Matomo · normal or broken
Working vs. broken, side by side — Teachable → Matomo
Normal, not a fault
The first-party visitor ID present on the enrolment
Sent from the Teachable transaction webhook
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
Checkout is hosted on Teachable, so an identifier captured on your own marketing site does not automatically reach the enrolment. It has to be carried through the checkout URL and read back from the transaction.
Sent from the browser
Your marketing site and the checkout are separate origins, so nothing carries across on its own and the enrolment arrives with no trace of the campaign.
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
Teachable → Matomo · diagnose
Diagnostic order — Teachable → Matomo
- 01
Count enrolments carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Open a recent transaction and look for the identifier
Absent means the checkout URL is not carrying it, which is the usual 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.
Teachable → Matomo · prove
How it gets proven — Teachable → Matomo
Source of truth
Teachable's transaction records for the same window, net of refunds.
- The first-party visitor ID confirmed present on a live enrolment.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- An enrolment confirmed to carry both the identifier and the correct plan value.
Teachable → Matomo · free audit
What we check in the free audit
- Count enrolments carrying the first-party visitor ID
- Follow one real conversion end to end
- Open a recent transaction and look for the identifier
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Teachable's transaction records for the same window, net of refunds.
Free30 minutesNo obligation
Teachable → Matomo · when not to buy
When you don't need this — Teachable → Matomo
- Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the first-party visitor ID.
- For a single course at modest volume, Teachable's own reporting is adequate.
- 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.
Teachable → Matomo · what we deliver
What gets built — Teachable → Matomo
Identifier capture into Teachable
Append the identifier to the course checkout URL and verify it is retrievable from the resulting transaction before building anything downstream.
Event source: the Teachable transaction webhook
Send from the webhook on completed transactions, distinguishing plan types so each carries an appropriate value.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Refunds are recorded, and course refund windows generate a real volume of them.
Written guarantee
95%+ tracking accuracy
Measured against Teachable's transaction records for the same window, net of refunds.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Teachable → Matomo questions, answered
Check whether your plan allows custom code snippets in the school's pages or on the thank-you page. That adds browser tracking, but a server-side order from the webhook is still the record you can trust.
Usually because no order is ever sent. The purchase happens on Teachable's domain, so a goal configured on your own site never sees it.
Almost always because the first-party visitor ID never reached the Teachable transaction. Checkout is hosted on Teachable, so an identifier captured on your own marketing site does not automatically reach the enrolment. It has to be carried through the checkout URL and read back from the transaction. 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 Teachable transaction webhook. Send from the webhook on completed transactions, distinguishing plan types so each carries an appropriate value.
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 Teachable → Matomo
- Teachable → Google AdsConnecting Teachable to Google Ads
- Teachable → MetaConnecting Teachable to Meta Conversions API
- Teachable → GA4Connecting Teachable to GA4
RELATED GUIDES
Where Teachable → Matomo fits in the rest of your tracking
- Skool → MatomoConnecting Skool to Matomo
- Patreon → MatomoConnecting Patreon to Matomo
- MemberPress → MatomoConnecting MemberPress to Matomo
- Teachable → AmplitudeConnecting Teachable to Amplitude
- Teachable → Adobe AnalyticsConnecting Teachable to Adobe Analytics
- MembershipsConversion tracking for membership communities, past the first month
- SamCart → MatomoConnecting SamCart to Matomo
- ClickFunnels → MatomoConnecting ClickFunnels to Matomo
Free · 30 min
Get Teachable and Matomo joined properly
Free30 minutesNo obligation
