Skip to main content
LifterLMS → MatomoIntegration guide

Connecting LifterLMS to Matomo

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. 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 LifterLMS order 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

LifterLMS orders in Matomo on the same WordPress server

Matomo often shares the LifterLMS WordPress install, so its cookie is first-party at checkout. Send the completed order server-side through the HTTP Tracking API with the visitor ID captured at checkout, the LifterLMS order number as ecommerce order ID and the course as SKU. Set User ID to the WordPress user ID, and track renewals as a separate revenue goal.

Matomo and LifterLMS often end up on the same WordPress install, which makes this one of the cleanest first-party pairs: the Matomo cookie set on the landing page is on the same domain as the LifterLMS checkout, and nothing in between is third-party. Check whether the Matomo plugin for WordPress you use records LifterLMS orders out of the box; its ecommerce support is built around store plugins, so you may need to send the order yourself through the HTTP Tracking API.

Send the order server-side when LifterLMS marks it complete, with the visitor ID captured at checkout, the LifterLMS order number as the ecommerce order ID, and the course as the product SKU. Set Matomo's User ID to the WordPress user ID at login so a student's later visits, lesson views and repeat purchases stitch to the same person across devices.

Renewals are the decision. If you record each recurring payment as an ecommerce order, Matomo's revenue is correct but its order count and conversion rate by channel are inflated by retention. Track renewals as a separate goal with revenue instead, and keep ecommerce orders for first payments and one-time courses. On a shared host, also watch the database: LifterLMS and Matomo writing to one MySQL server can slow both during a launch.

LifterLMS → Matomo · what breaks

Why this join usually fails — LifterLMS → Matomo

  1. 01

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

    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.

LifterLMS → Matomo · the fix

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

LifterLMS → Matomo · architecture

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

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

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

LifterLMS → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the enrolment

  • Sent from the LifterLMS order record

  • 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

    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

    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

LifterLMS → Matomo · diagnose

Diagnostic order — LifterLMS → Matomo

  1. 01

    Count enrolments carrying the first-party visitor 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

    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.

LifterLMS → Matomo · prove

How it gets proven — LifterLMS → Matomo

Source of truth

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

  • The first-party visitor ID confirmed present on a live enrolment.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • New students reconciled against imported conversions for a settled month.

LifterLMS → 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
  • Compare order count against distinct new students
  • Check tracker reachability and database lag before debugging any tag
  • 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 → Matomo · when not to buy

When you don't need this — LifterLMS → Matomo

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

LifterLMS → Matomo · what we deliver

What gets built — LifterLMS → Matomo

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

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

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

Check your plugin version; its ecommerce tracking targets store plugins. If LifterLMS orders do not appear, send them via the HTTP Tracking API with the order number as the order ID.

Free · 30 min

Get LifterLMS and Matomo joined properly

Free30 minutesNo obligation