Skip to main content
LearnWorlds → MatomoIntegration guide

Connecting LearnWorlds to Matomo

LearnWorlds is a hosted course platform for creators and small training businesses, with the school on its own domain or subdomain. Matomo can be self-hosted with no third party in the chain, which makes it the one analytics destination where the data genuinely never leaves infrastructure you control. The join between them succeeds or fails on one thing: whether the first-party visitor ID reaches the LearnWorlds enrolment before the conversion happens, because Matomo can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

LearnWorlds to Matomo: one visitor from marketing site to school

To send LearnWorlds sales to Matomo, use cross-domain linking or a subdomain so the campaign survives into checkout, and record each sale as an ecommerce order with the LearnWorlds order or payment ID. Server sends from the order webhook through the HTTP Tracking API need the browser visitor ID stored on the learner record first.

Schools choose Matomo for the same reason some institutions choose LearnWorlds: control over learner data, often in education or public-sector contexts where a third-party analytics tag is unwelcome. The practical problem is that the marketing site and the school are usually separate surfaces. If the school is on a different domain, Matomo sees the visitor arrive at checkout as new and the campaign that brought them is lost; Matomo's cross-domain linking or a subdomain under your main domain fixes that. Check whether your LearnWorlds plan allows the Matomo tracking code on school and checkout pages.

Record the sale as a Matomo ecommerce order using the LearnWorlds order or payment ID as the order ID, so a reloaded thank-you page does not count twice. Sending it server-side from the order webhook through the HTTP Tracking API is more reliable, but the visitor ID from the browser has to be stored on the learner record first or the order lands as an unattributed visit.

Use separate goals for free and paid enrolments, and treat course completions as goals rather than as ecommerce. If you self-host Matomo, a learner surge at a cohort launch is exactly when an under-sized tracking database falls behind.

LearnWorlds → Matomo · what breaks

Why this join usually fails — LearnWorlds → Matomo

  1. 01

    The first-party visitor ID 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

    Owning the pipeline means owning the outage

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  4. 04

    Nothing reconciles afterwards

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

LearnWorlds → Matomo · the fix

What working looks like — LearnWorlds → Matomo

  • The first-party visitor ID on every enrolment

  • Conversions arriving in Matomo

    The event lands in your own database and is queryable directly, including the raw log, which most analytics products do not expose.

  • Reconciled against the source

LearnWorlds → Matomo · architecture

How LearnWorlds and Matomo 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

    Matomo needs a click to match

    The site ID, the visitor identifier and the event or ecommerce order. Self-hosted instances additionally need the tracker endpoint reachable and the database keeping up, which hosted tools do not fail at.

  3. 3

    The identifier is the bridge

    The first-party visitor ID, 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

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

LearnWorlds → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the enrolment

  • Sent from the LearnWorlds order webhook

  • Deduplicated correctly

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

  • Reconciles with the source

Actually broken

  • The first-party visitor ID 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

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  • Nobody has reconciled it

LearnWorlds → Matomo · diagnose

Diagnostic order — LearnWorlds → Matomo

  1. 01

    Count enrolments carrying the first-party visitor 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 tracker reachability and database lag before debugging any tag

    On self-hosted analytics the answer is infrastructure more often than instrumentation.

  5. 05

    Read the match rate, not the success message

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

LearnWorlds → Matomo · prove

How it gets proven — LearnWorlds → Matomo

Source of truth

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

  • The first-party visitor ID confirmed present on a live enrolment.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Paid enrolments confirmed separated from free, with subscriptions at lifetime value.

LearnWorlds → Matomo · free audit

What we check in the free audit

  • Count enrolments carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Check whether free and paid enrolments share a conversion action
  • Check tracker reachability and database lag before debugging any tag
  • 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 → Matomo · when not to buy

When you don't need this — LearnWorlds → Matomo

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the first-party visitor ID.
  • If you run one free course as a funnel entry and monetise elsewhere, the conversion is not in LearnWorlds.
  • If you have no privacy or ownership requirement and no team to run it, a hosted product removes the only real cost of this one.

LearnWorlds → Matomo · what we deliver

What gets built — LearnWorlds → Matomo

  • 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 Matomo

    The Matomo HTTP Tracking API, posted server-side from your order system.

  • 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 → Matomo questions, answered

Yes, if your plan allows custom tracking code on school pages. Add it to the checkout as well, or the purchase step is invisible.

Free · 30 min

Get LearnWorlds and Matomo joined properly

Free30 minutesNo obligation