Skip to main content
LearnWorlds → AmplitudeIntegration guide

Connecting LearnWorlds to Amplitude

LearnWorlds is a hosted course platform for creators and small training businesses, with the school on its own domain or subdomain. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the LearnWorlds enrolment before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

LearnWorlds to Amplitude: enrollments on the learner's user ID

To send LearnWorlds data to Amplitude, call setUserId with the LearnWorlds user ID after login and send paid enrollments from webhooks through your server as revenue events, with productId as the course or bundle ID and revenueType separating one-off, bundle and subscription. Send each subscription payment at the amount charged, free enrollments as non-revenue events, refunds as negative revenue.

Amplitude suits a LearnWorlds school that cares about what learners do after paying: lesson completion, drop-off by module, and which acquisition sources produce learners who finish. The join key is the LearnWorlds user ID. If you add Amplitude's browser SDK to the school through LearnWorlds' custom code settings (check that your plan allows it), call setUserId with that same ID after login, so server events and in-course behavior share one person.

Send the paid enrollment from LearnWorlds webhooks through your server as a revenue event with price, quantity and productId set to the course or bundle ID, and revenueType separating one-off, bundle and subscription. Subscriptions should send each payment as its own revenue event at the amount actually charged; the lifetime estimate belongs in ad uploads, not in Amplitude's revenue charts. Free enrollments go in as a non-revenue event so free-to-paid conversion is measured directly.

The usual break: the sales page lives on a separate marketing site where Amplitude assigned one device ID, and the learner logs into the school on its own domain with another. Pass the device ID through the checkout URL, or accept that pre-checkout behavior stays on an anonymous user. Refunds should send a negative revenue event against the same productId.

LearnWorlds → Amplitude · what breaks

Why this join usually fails — LearnWorlds → Amplitude

  1. 01

    The user ID and device ID pair never reaches LearnWorlds

    Checkout is hosted, so an identifier captured on a separate marketing site does not reach the enrolment unless carried through the checkout URL and confirmed on the order.

  2. 02

    Free lead-magnet courses 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.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

LearnWorlds → Amplitude · the fix

What working looks like — LearnWorlds → Amplitude

  • The user ID and device ID pair on every enrolment

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

LearnWorlds → Amplitude · architecture

How LearnWorlds and Amplitude actually connect

  1. 1

    LearnWorlds holds the truth

    LearnWorlds carries one-off courses, bundles and subscriptions side by side. Subscriptions need valuing over their expected life; treating them as one-off sales understates them badly.

  2. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the LearnWorlds enrolment.

  4. 4

    The event source decides reliability

    Send paid enrolments, distinguishing one-off purchases from subscriptions so each carries the right value.

  5. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

LearnWorlds → Amplitude · normal or broken

Working vs. broken, side by side — LearnWorlds → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the enrolment

  • Sent from the LearnWorlds order webhook

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair missing on most records

    Checkout is hosted, so an identifier captured on a separate marketing site does not reach the enrolment unless carried through the checkout URL and confirmed on the 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.

  • Counted twice, or not at all

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

LearnWorlds → Amplitude · diagnose

Diagnostic order — LearnWorlds → Amplitude

  1. 01

    Count enrolments carrying the user ID and device ID pair

  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 a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

LearnWorlds → Amplitude · prove

How it gets proven — LearnWorlds → Amplitude

Source of truth

LearnWorlds' paid enrolments and subscription records for the same window.

  • The user ID and device ID pair confirmed present on a live enrolment.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Paid enrolments confirmed separated from free, with subscriptions at lifetime value.

LearnWorlds → Amplitude · free audit

What we check in the free audit

  • Count enrolments carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Check whether free and paid enrolments share a conversion action
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

LearnWorlds' paid enrolments and subscription records for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

LearnWorlds → Amplitude · when not to buy

When you don't need this — LearnWorlds → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the user ID and device ID pair.
  • If you run one free course as a funnel entry and monetise elsewhere, the conversion is not in LearnWorlds.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

LearnWorlds → Amplitude · what we deliver

What gets built — LearnWorlds → Amplitude

  • Identifier capture into LearnWorlds

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

  • Event source: the LearnWorlds order webhook

    Send paid enrolments, distinguishing one-off purchases from subscriptions so each carries the right value.

  • Dispatch to Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • Reversals where they exist

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

Written guarantee

95%+ tracking accuracy

Measured against LearnWorlds' paid enrolments and subscription records for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LearnWorlds → Amplitude questions, answered

Check LearnWorlds' integrations list for your plan. The dependable route is LearnWorlds webhooks to your server, posting to Amplitude's HTTP API under the LearnWorlds user ID.

Free · 30 min

Get LearnWorlds and Amplitude joined properly

Free30 minutesNo obligation