Skip to main content
Thinkific → PostHogIntegration guide

Connecting Thinkific to PostHog

Thinkific hosts courses and their checkout, so the enrolment happens on Thinkific and your marketing site is a front door. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Thinkific enrolment before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

PostHog for Thinkific: one person from sales page to lesson three

PostHog shows which Thinkific students stall. Pass PostHog's distinct_id into the checkout link, read it from the order webhook, and alias it to the Thinkific user ID. Capture paid enrollment, free enrollment and lesson completions server-side with event UUIDs from webhook IDs, since browser events inside the school face ad blockers you cannot proxy around.

The useful question PostHog can answer for a course business is not how many people enrolled but which students stall, and what they did before it. That needs one person across three places: the anonymous visitor on your sales page, the Thinkific student account, and the lesson activity afterwards. Pass PostHog's distinct_id into the Thinkific checkout link, read it back when the order webhook fires, and alias it so the anonymous visitor and the student merge under one ID, ideally the Thinkific user ID.

From there, capture paid enrollment, free enrollment and lesson completions server-side from Thinkific's webhooks, each with the Thinkific user as distinct_id and an event UUID derived from the webhook's own ID so retries do not duplicate. A funnel from enrollment to the third lesson, split by acquisition source, shows which channels bring students who actually start. Check your own data for whether students who never open lesson two are the ones who request refunds; if so, that is the cohort to message.

Adding the PostHog snippet to the Thinkific school pages depends on your plan's custom code options, and you cannot put a reverse proxy in front of Thinkific's domain, so browser events inside the school stay exposed to ad blockers. That is why the server-side capture matters here. On a self-hosted instance, keep a retry queue for webhooks on your side; nobody replays a missed enrollment for you.

Thinkific → PostHog · what breaks

Why this join usually fails — Thinkific → PostHog

  1. 01

    The distinct_id never reaches Thinkific

    Checkout is hosted on Thinkific, so an identifier captured on your own site does not reach the enrolment unless it is carried through the checkout URL and confirmed on the resulting order.

  2. 02

    Free enrolments counted as conversions

    Free courses are a legitimate lead magnet and a terrible conversion target. Sending them teaches bidding to find people who take free courses, which is a very large population.

  3. 03

    Self-hosting the analytics and the outage together

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  4. 04

    Nothing reconciles afterwards

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Thinkific → PostHog · the fix

What working looks like — Thinkific → PostHog

  • The distinct_id on every enrolment

  • Conversions arriving in PostHog

    The event lands on the person profile and becomes available in insights, funnels and session replay.

  • Reconciled against the source

Thinkific → PostHog · architecture

How Thinkific and PostHog actually connect

  1. 1

    Thinkific holds the truth

    Thinkific separates free enrolments from paid ones, and the distinction matters enormously — a free course enrolment is a lead, not revenue, and they arrive in far greater numbers.

  2. 2

    PostHog needs a click to match

    PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.

  3. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the Thinkific enrolment.

  4. 4

    The event source decides reliability

    Send paid enrolments as the conversion, with payment plans valued at their full contracted amount rather than the first instalment.

  5. 5

    Deduplication at the destination

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

Thinkific → PostHog · normal or broken

Working vs. broken, side by side — Thinkific → PostHog

Normal, not a fault

  • The distinct_id present on the enrolment

  • Sent from the Thinkific order webhook

  • Deduplicated correctly

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

  • Reconciles with the source

Actually broken

  • The distinct_id missing on most records

    Checkout is hosted on Thinkific, so an identifier captured on your own site does not reach the enrolment unless it is carried through the checkout URL and confirmed on the resulting order.

  • Sent from the browser

    Free courses are a legitimate lead magnet and a terrible conversion target. Sending them teaches bidding to find people who take free courses, which is a very large population.

  • Counted twice, or not at all

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  • Nobody has reconciled it

Thinkific → PostHog · diagnose

Diagnostic order — Thinkific → PostHog

  1. 01

    Count enrolments carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether free and paid enrolments share a conversion action

    If they do, the free tier is setting your bids.

  4. 04

    Check ingestion health and disk before debugging any missing event

    On self-hosted instances the answer is infrastructure far more often than it is instrumentation.

  5. 05

    Read the match rate, not the success message

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Thinkific → PostHog · prove

How it gets proven — Thinkific → PostHog

Source of truth

Thinkific's order and enrolment 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 ingestion lag checked over the same window.
  • Paid enrolments confirmed separated from free, with payment plans at full value.

Thinkific → PostHog · free audit

What we check in the free audit

  • Count enrolments carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether free and paid enrolments share a conversion action
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Thinkific's order and enrolment records for the same window, net of refunds.

Get my free conversion tracking audit

Free30 minutesNo obligation

Thinkific → PostHog · when not to buy

When you don't need this — Thinkific → PostHog

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the distinct_id.
  • If you only offer free courses monetised elsewhere, the conversion you care about is not in Thinkific.
  • If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.

Thinkific → PostHog · what we deliver

What gets built — Thinkific → PostHog

  • Identifier capture into Thinkific

    Append the identifier to the course checkout URL and verify it is retrievable from the order record before building anything downstream.

  • Event source: the Thinkific order webhook

    Send paid enrolments as the conversion, with payment plans valued at their full contracted amount rather than the first instalment.

  • Dispatch to PostHog

    The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.

  • Reversals where they exist

    Refunds within the course refund window are common and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against Thinkific's order and enrolment records for the same window, net of refunds.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Thinkific → PostHog questions, answered

Possibly, if your Thinkific plan allows custom code on school pages; check in your admin. Server-side capture from Thinkific webhooks works either way and is not affected by ad blockers.

Free · 30 min

Get Thinkific and PostHog joined properly

Free30 minutesNo obligation