Skip to main content
LifterLMS → MixpanelIntegration guide

Connecting LifterLMS to Mixpanel

LifterLMS handles courses and memberships together with its own checkout, which means recurring access plans and one-off course sales share a single order table. 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 LifterLMS order 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

LifterLMS to Mixpanel: identify at checkout and split free from paid

Call Mixpanel identify with the WordPress user ID right after LifterLMS checkout creates the account, in that same browser, or the purchase stays on an anonymous profile. Send paid purchases as their own event, separate from free enrollments, with plan type and price, using the LifterLMS order or transaction ID as $insert_id. Record recurring payments as a renewal event.

The LifterLMS identity trap in Mixpanel is identifying too late. If identify only runs when a student logs in, and their first login happens next week on a different device from a welcome email link, the sales-page visit and the purchase sit on an anonymous profile forever and your funnel from landing to purchase quietly shows nobody converting. Call identify with the WordPress user ID right after checkout creates the account, in that same browser.

LifterLMS lets you attach free access plans to a course alongside paid ones, and that is the source of the most common split funnel. If the same enrolled event fires for a free signup and a paid purchase, conversion rates are meaningless. Send paid purchases as their own event, carry plan type and price as properties, and keep free enrollments as a separate step that you can measure as a lead stage.

For the purchase event, use the LifterLMS order or transaction ID as $insert_id. Server-side sends from a webhook or a WordPress action can retry, and without it each retry is another sale in the report product decisions are made from. Recurring payments go in as a renewal event on the same profile, never under the first-purchase name.

LifterLMS → Mixpanel · what breaks

Why this join usually fails — LifterLMS → Mixpanel

  1. 01

    The distinct_id never reaches LifterLMS

    Its own checkout means the flow is self-contained, but recurring payments arrive with no session at all.

  2. 02

    Every recurring payment firing as a new sale

    A membership billing monthly produces twelve orders a year from one student. Counting them all makes retained revenue look like acquisition and inflates the count by your retention rate.

  3. 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.

  4. 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.

LifterLMS → Mixpanel · the fix

What working looks like — LifterLMS → 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

LifterLMS → Mixpanel · architecture

How LifterLMS and Mixpanel actually connect

  1. 1

    LifterLMS holds the truth

    A recurring plan bills every month against one acquisition. Sending each payment as a conversion turns one student into twelve.

  2. 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. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the LifterLMS order.

  4. 4

    The event source decides reliability

    Send one-time purchases at value and first payments of recurring plans at a defensible plan value.

  5. 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.

LifterLMS → Mixpanel · normal or broken

Working vs. broken, side by side — LifterLMS → Mixpanel

Normal, not a fault

  • The distinct_id present on the enrolment

  • Sent from the LifterLMS order record

  • 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

    Its own checkout means the flow is self-contained, but recurring payments arrive with no session at all.

  • Sent from the browser

    A membership billing monthly produces twelve orders a year from one student. Counting them all makes retained revenue look like acquisition and inflates the count by your retention rate.

  • 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

LifterLMS → Mixpanel · diagnose

Diagnostic order — LifterLMS → Mixpanel

  1. 01

    Count enrolments carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare order count against distinct new students

    If orders exceed students, renewals are being counted as acquisitions.

  4. 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.

  5. 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.

LifterLMS → Mixpanel · prove

How it gets proven — LifterLMS → Mixpanel

Source of truth

LifterLMS orders by date, split into one-time purchases and recurring access plans.

  • 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.
  • New students reconciled against imported conversions for a settled month.

LifterLMS → Mixpanel · free audit

What we check in the free audit

  • Count enrolments carrying the distinct_id
  • Follow one real conversion end to end
  • Compare order count against distinct new students
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

LifterLMS orders by date, split into one-time purchases and recurring access plans.

Get my free conversion tracking audit

Free30 minutesNo obligation

LifterLMS → Mixpanel · when not to buy

When you don't need this — LifterLMS → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the distinct_id.
  • Sites selling only one-time courses have no renewal problem.
  • 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.

LifterLMS → Mixpanel · what we deliver

What gets built — LifterLMS → Mixpanel

  • Identifier capture into LifterLMS

    Capture at landing, persist to the student record, and send only the first payment of a recurring plan.

  • Event source: the LifterLMS order record

    Send one-time purchases at value and first payments of recurring plans at a defensible plan 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 and cancellations inside the first period reverse.

Written guarantee

95%+ tracking accuracy

Measured against LifterLMS orders by date, split into one-time purchases and recurring access plans.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LifterLMS → Mixpanel questions, answered

Right after checkout creates the WordPress account, in the same browser, so the pre-purchase anonymous activity merges into the student.

Free · 30 min

Get LifterLMS and Mixpanel joined properly

Free30 minutesNo obligation