Skip to main content
Leadpages → MatomoIntegration guide

Connecting Leadpages to Matomo

Leadpages serves smaller businesses where the landing page frequently is the whole website, which means there is no wider site to capture on before the form. 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 Leadpages conversion 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

Leadpages and Matomo: one goal per form, measured on your domain

Put Matomo tracking in the Leadpages header and host the page on your own subdomain so visits do not reset. Define a goal on a thank-you URL or fire one from the form success state through Matomo Tag Manager. Tag every ad link with campaign parameters, and send CRM-qualified leads through the HTTP Tracking API with a stored visitor ID.

Matomo suits Leadpages owners who want analytics without sending visitor data to an ad company, but the setup has one decision that matters: where the page lives. Matomo's tracking code goes in the Leadpages page's header settings. If the page is served from a Leadpages subdomain, Matomo sees a different site from your main domain, so visitors who arrive from your blog or newsletter appear as new visitors and campaign data resets at the hop. A custom subdomain of your own fixes most of it.

Leadpages form submissions are not page views Matomo understands as conversions. Either redirect to a thank-you page and define a Matomo goal on that URL, or fire a goal from the form's success state through Matomo Tag Manager. The thank-you URL route breaks quietly when someone edits the Leadpages form to show an inline message instead of redirecting, and the goal count drops to zero.

Because Leadpages is often the whole site, Matomo's campaign tracking is your only attribution record. Use Matomo's own campaign parameters, or confirm it reads the standard UTM parameters on your version, on every ad link. If you also want the qualified lead counted, send it from your CRM to the Matomo HTTP Tracking API with the visitor ID you stored in a hidden field. Without that ID, the server-side goal lands on a new visitor with no campaign.

Leadpages → Matomo · what breaks

Why this join usually fails — Leadpages → Matomo

  1. 01

    The first-party visitor ID never reaches Leadpages

    Pages may sit on a Leadpages subdomain, and the form is the only place an identifier can be recorded.

  2. 02

    No first-party page to capture on

    Where the hosted page is the whole site, standard capture techniques are unavailable. A URL parameter into a hidden field is the entire mechanism, and if it is not configured the traffic is unattributable.

  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.

Leadpages → Matomo · the fix

What working looks like — Leadpages → Matomo

  • The first-party visitor ID on every conversion

  • 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

Leadpages → Matomo · architecture

How Leadpages and Matomo actually connect

  1. 1

    Leadpages holds the truth

    When the landing page is the entire web presence, capture has to happen on that page or not at all. There is no earlier session to fall back on.

  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 Leadpages conversion.

  4. 4

    The event source decides reliability

    Send the qualified outcome rather than the form fill, with the source from the hidden field.

  5. 5

    Deduplication at the destination

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

Leadpages → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the conversion

  • Sent from your CRM or email platform

  • 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

    Pages may sit on a Leadpages subdomain, and the form is the only place an identifier can be recorded.

  • Sent from the browser

    Where the hosted page is the whole site, standard capture techniques are unavailable. A URL parameter into a hidden field is the entire mechanism, and if it is not configured the traffic is unattributable.

  • 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

Leadpages → Matomo · diagnose

Diagnostic order — Leadpages → Matomo

  1. 01

    Count conversions carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the hidden field is populated on live submissions

    Not whether it exists — whether real submissions carry values.

  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.

Leadpages → Matomo · prove

How it gets proven — Leadpages → Matomo

Source of truth

Your CRM or email platform, joined to the form submission.

  • The first-party visitor ID confirmed present on a live conversion.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Qualified outcomes reconciled against imported conversions, with the hidden field verified populated.

Leadpages → Matomo · free audit

What we check in the free audit

  • Count conversions carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Check whether the hidden field is populated on live submissions
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Your CRM or email platform, joined to the form submission.

Get my free conversion tracking audit

Free30 minutesNo obligation

Leadpages → Matomo · when not to buy

When you don't need this — Leadpages → Matomo

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the first-party visitor ID.
  • If your Leadpages sits behind your own domain and site, capture normally and pass through.
  • 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.

Leadpages → Matomo · what we deliver

What gets built — Leadpages → Matomo

  • Identifier capture into Leadpages

    Read the identifier from the URL into a hidden field at page load, because that is the only opportunity you get.

  • Event source: your CRM or email platform

    Send the qualified outcome rather than the form fill, with the source from the hidden field.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Disqualified leads reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM or email platform, joined to the form submission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Leadpages → Matomo questions, answered

Point the form to a thank-you page and create a Matomo goal on that URL, or trigger a goal from Matomo Tag Manager when the form succeeds. Recheck after any edit to the form's after-submit setting.

Free · 30 min

Get Leadpages and Matomo joined properly

Free30 minutesNo obligation