Connecting Teachable to Mixpanel
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. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Teachable transaction before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Teachable in Mixpanel: one distinct_id from sales page to course
Pass Mixpanel's distinct_id into the Teachable checkout URL and read it back from the transaction. On the webhook, send Course Purchased server-side with that distinct_id and the transaction ID as $insert_id, then identify the student with the Teachable user ID so school events join. Agree event names, send refunds separately and tag instalments by plan type.
Mixpanel helps a course business see the path from sales page to purchase to course progress, but Teachable hosts both the checkout and the school, so the visitor crosses at least one domain and Mixpanel needs help recognizing them on the other side.
Pass the distinct_id from the marketing site into the Teachable checkout URL alongside the ad click identifier, and confirm it can be read back from the transaction. When the transaction webhook fires, send a Course Purchased event server-side with that distinct_id, then identify the student with the Teachable user ID so later events from the school land on the same profile. Use the transaction ID as $insert_id, since webhooks can be redelivered. If the distinct_id cannot be read back, the purchase lands on the Teachable user ID alone and the sales-page funnel stops at the buy button.
Decide event names with whoever runs the school, or the checkout's own pixel events, a Purchase from the marketing team and a Course Purchased from the webhook will sit side by side. Send refunds as their own event and instalments with a plan-type property, so funnels built on paying students do not count someone who refunded in week one.
Teachable → Mixpanel · what breaks
Why this join usually fails — Teachable → Mixpanel
- 01
The distinct_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
One event schema, two teams, no agreement
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
- 04
Nothing reconciles afterwards
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
Teachable → Mixpanel · the fix
What working looks like — Teachable → Mixpanel
The distinct_id on every enrolment
Conversions arriving in Mixpanel
The event lands on the user profile and becomes available in funnels, retention and cohort analysis.
Reconciled against the source
Teachable → Mixpanel · architecture
How Teachable and Mixpanel 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
Mixpanel needs a click to match
Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.
- 3
The identifier is the bridge
The distinct_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
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Teachable → Mixpanel · normal or broken
Working vs. broken, side by side — Teachable → Mixpanel
Normal, not a fault
The distinct_id present on the enrolment
Sent from the Teachable transaction webhook
Deduplicated correctly
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Reconciles with the source
Actually broken
The distinct_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
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
Nobody has reconciled it
Teachable → Mixpanel · diagnose
Diagnostic order — Teachable → Mixpanel
- 01
Count enrolments carrying the distinct_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
List every event name in the project and look for near-duplicates
Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.
- 05
Read the match rate, not the success message
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
Teachable → Mixpanel · prove
How it gets proven — Teachable → Mixpanel
Source of truth
Teachable's transaction records for the same window, net of refunds.
- The distinct_id confirmed present on a live enrolment.
- Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
- An enrolment confirmed to carry both the identifier and the correct plan value.
Teachable → Mixpanel · free audit
What we check in the free audit
- Count enrolments carrying the distinct_id
- Follow one real conversion end to end
- Open a recent transaction and look for the identifier
- List every event name in the project and look for near-duplicates
- 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 → Mixpanel · when not to buy
When you don't need this — Teachable → Mixpanel
- Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the distinct_id.
- For a single course at modest volume, Teachable's own reporting is adequate.
- If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.
Teachable → Mixpanel · what we deliver
What gets built — Teachable → Mixpanel
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 Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.
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 → Mixpanel questions, answered
Send the purchase from the Teachable transaction webhook to Mixpanel's ingestion API with the distinct_id carried through the checkout URL, then identify the student with their Teachable user ID.
The checkout is on another domain, so the distinct_id from your sales page never reached the transaction. Append it to the checkout URL and read it back from the webhook.
Almost always because the distinct_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.
Mixpanel identifies people by distinct_id, which starts as an anonymous device value and should be aliased to your own user ID at signup. Getting that alias wrong is the single most common Mixpanel implementation failure: the anonymous pre-signup activity and the identified user become two separate people, and every funnel that crosses signup is broken.
The Teachable transaction webhook. Send from the webhook on completed transactions, distinguishing plan types so each carries an appropriate value.
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
More on Teachable → Mixpanel
- Teachable → Google AdsConnecting Teachable to Google Ads
- Teachable → MetaConnecting Teachable to Meta Conversions API
- Teachable → GA4Connecting Teachable to GA4
RELATED GUIDES
Where Teachable → Mixpanel fits in the rest of your tracking
- Podia → MixpanelConnecting Podia to Mixpanel
- Kajabi → MixpanelConnecting Kajabi to Mixpanel
- MemberPress → MixpanelConnecting MemberPress to Mixpanel
- Teachable → Adobe AnalyticsConnecting Teachable to Adobe Analytics
- Teachable → AmplitudeConnecting Teachable to Amplitude
- Course creatorsConversion tracking for course creators, including the payments after the first one
- SamCart → MixpanelConnecting SamCart to Mixpanel
- ClickFunnels → MixpanelConnecting ClickFunnels to Mixpanel
Free · 30 min
Get Teachable and Mixpanel joined properly
Free30 minutesNo obligation
