Skip to main content
Tutor LMS → MixpanelIntegration guide

Connecting Tutor LMS to Mixpanel

Tutor LMS supports a marketplace model where several instructors sell on one site, which means the site owner earns a commission rather than the course price. 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 Tutor LMS enrolment 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

Tutor LMS to Mixpanel: funnels by instructor, one purchase name

Choose either the WooCommerce order or the Tutor enrollment as the single Mixpanel purchase event, with course, instructor and commission as properties. Identify with the WordPress user ID right after checkout, use the order ID as $insert_id server-side, and record instructor referral links or coupons to compare instructor-driven funnels with paid traffic.

The Mixpanel naming collision on a Tutor LMS site comes from two plugins describing one sale. WooCommerce (or another checkout) completes an order, then Tutor creates an enrollment, and if both are tracked you get an Order Completed and an enrolled event that split every funnel and double every purchase count. Choose one as the purchase event, carry course, instructor and commission as properties, and keep the other as a non-revenue step or drop it.

Identify with the WordPress user ID right after the checkout creates or logs in the student, in the same browser, so their anonymous course-page browsing joins the purchase. Use the order ID as $insert_id on the server-side send, because the enrollment hook and a payment confirmation can both trigger it.

The breakdown that matters on a marketplace is by instructor and by traffic origin. Instructors promoting their own courses bring audiences that convert at very different rates from the site's paid traffic, and a blended course-page funnel hides it. Record whether a session arrived on an instructor's referral link or coupon, and compare that funnel against paid traffic before blaming a course page for low conversion.

Tutor LMS → Mixpanel · what breaks

Why this join usually fails — Tutor LMS → Mixpanel

  1. 01

    The distinct_id never reaches Tutor LMS

    Checkout depends on the attached ecommerce plugin, and instructors may promote their own courses independently.

  2. 02

    Instructor revenue reported as site revenue

    On a seventy-thirty split, reporting the course price overstates the platform's return by more than three times, and instructor-driven promotion gets credited to the site's advertising.

  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.

Tutor LMS → Mixpanel · the fix

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

Tutor LMS → Mixpanel · architecture

How Tutor LMS and Mixpanel actually connect

  1. 1

    Tutor LMS holds the truth

    On a multi-instructor site the course price mostly goes to the instructor. Reporting the course price overstates the site owner's revenue by whatever the revenue share is.

  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 Tutor LMS enrolment.

  4. 4

    The event source decides reliability

    Send paid enrolments at the site's earnings, with the instructor recorded.

  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.

Tutor LMS → Mixpanel · normal or broken

Working vs. broken, side by side — Tutor LMS → Mixpanel

Normal, not a fault

  • The distinct_id present on the enrolment

  • Sent from the enrolment and payment 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

    Checkout depends on the attached ecommerce plugin, and instructors may promote their own courses independently.

  • Sent from the browser

    On a seventy-thirty split, reporting the course price overstates the platform's return by more than three times, and instructor-driven promotion gets credited to the site's advertising.

  • 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

Tutor LMS → Mixpanel · diagnose

Diagnostic order — Tutor LMS → Mixpanel

  1. 01

    Count enrolments carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm whether the imported value is course price or platform commission

    One question, and on marketplace sites it changes the answer by a multiple.

  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.

Tutor LMS → Mixpanel · prove

How it gets proven — Tutor LMS → Mixpanel

Source of truth

Paid enrolments by date, valued at the site's commission where a marketplace model is in use.

  • 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.
  • Paid enrolments reconciled at platform commission against imported conversions.

Tutor LMS → Mixpanel · free audit

What we check in the free audit

  • Count enrolments carrying the distinct_id
  • Follow one real conversion end to end
  • Confirm whether the imported value is course price or platform commission
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Paid enrolments by date, valued at the site's commission where a marketplace model is in use.

Get my free conversion tracking audit

Free30 minutesNo obligation

Tutor LMS → Mixpanel · when not to buy

When you don't need this — Tutor LMS → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the distinct_id.
  • Single-instructor sites keep the whole price and should report it.
  • 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.

Tutor LMS → Mixpanel · what we deliver

What gets built — Tutor LMS → Mixpanel

  • Identifier capture into Tutor LMS

    Capture on landing and record both the instructor and the commission on the enrolment.

  • Event source: the enrolment and payment record

    Send paid enrolments at the site's earnings, with the instructor recorded.

  • 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 reverse the commission.

Written guarantee

95%+ tracking accuracy

Measured against Paid enrolments by date, valued at the site's commission where a marketplace model is in use.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Tutor LMS → Mixpanel questions, answered

Pick one as the purchase event and send it once per order, with the order ID as $insert_id; tracking both doubles purchases and splits funnels.

Free · 30 min

Get Tutor LMS and Mixpanel joined properly

Free30 minutesNo obligation