Skip to main content
Keap → MatomoIntegration guide

Connecting Keap to Matomo

Keap holds the order, the subscription and the opportunity for small businesses running on automation. 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 Keap contact record 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

Keap to Matomo: carrying the visitor ID through Keap order forms

Keap-hosted order forms drop Matomo's first-party cookie, so pass the visitor ID into the order form as a hidden field or URL parameter and save it to a protected Keap custom field. When the order is paid, call the Matomo HTTP Tracking API with that visitor ID, the Keap order ID as ecommerce order ID and revenue.

Matomo's advantage is that a self-hosted tracker on your own domain is rarely blocked. Keap undercuts that advantage at the checkout. If you sell through Keap-hosted order forms or landing pages, the buyer leaves your domain and Matomo's first-party visitor cookie does not go with them, so the ecommerce order either never reaches Matomo or lands on a new visitor with no campaign attached.

The fix is to carry Matomo's visitor ID into Keap. Read it on your site, pass it into the order form as a hidden field or URL parameter, and save it to a custom contact field that later sequences cannot rewrite. When the order is paid, call the Matomo HTTP Tracking API with the site ID, that visitor ID, the Keap order ID as the ecommerce order ID, and the revenue. Keap's HTTP post sends name and value pairs, so check whether it can call your tracker directly or needs a small relay. The order ID is what stops a re-run automation from recording a second sale.

Keap's two money models need two treatments. Product orders map to Matomo ecommerce orders. Won opportunities fit better as a goal conversion with a revenue value, since there is no basket. Refunds have no clean reversal through the tracking API, so check whether your Matomo version lets you invalidate an order, or report refunds separately.

Keap → Matomo · what breaks

Why this join usually fails — Keap → Matomo

  1. 01

    The first-party visitor ID never reaches Keap

    Keap's automation touches contacts constantly, so an identifier written to a contact field without a guard will be overwritten by a later nurture sequence, quietly reassigning credit from paid acquisition to your own email.

  2. 02

    Tags that look like conversions and are not

    Sending tag applications teaches an ad platform to find people who trigger your own automation, which is a far larger and far less valuable population than your buyers.

  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.

Keap → Matomo · the fix

What working looks like — Keap → Matomo

  • The first-party visitor ID on every order

  • 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

Keap → Matomo · architecture

How Keap and Matomo actually connect

  1. 1

    Keap holds the truth

    Keap carries two money models at once — product orders and service opportunities — and which applies depends on what the business sells.

  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 Keap contact record.

  4. 4

    The event source decides reliability

    Fire on order paid or opportunity won. Not on tag applied — Keap tags come from automated sequences as readily as from sales events and nothing outside Keap can tell them apart.

  5. 5

    Deduplication at the destination

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

Keap → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the order

  • Sent from an HTTP post from a Keap automation on a money event

  • 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

    Keap's automation touches contacts constantly, so an identifier written to a contact field without a guard will be overwritten by a later nurture sequence, quietly reassigning credit from paid acquisition to your own email.

  • Sent from the browser

    Sending tag applications teaches an ad platform to find people who trigger your own automation, which is a far larger and far less valuable population than your buyers.

  • 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

Keap → Matomo · diagnose

Diagnostic order — Keap → Matomo

  1. 01

    Count orders carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the identifier field survives a nurture click

    Look at a contact who engaged after converting. If the field changed, your email is taking credit from paid.

  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.

Keap → Matomo · prove

How it gets proven — Keap → Matomo

Source of truth

Keap's paid orders and won opportunities by date, at their amounts.

  • The first-party visitor ID confirmed present on a live order.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • A contact confirmed to retain its original identifier after a later automation touch.

Keap → Matomo · free audit

What we check in the free audit

  • Count orders carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Check whether the identifier field survives a nurture click
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Keap's paid orders and won opportunities by date, at their amounts.

Get my free conversion tracking audit

Free30 minutesNo obligation

Keap → Matomo · when not to buy

When you don't need this — Keap → Matomo

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the first-party visitor ID.
  • If money is taken in a separate system you already track, the Keap side may only need the identifier preserved.
  • 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.

Keap → Matomo · what we deliver

What gets built — Keap → Matomo

  • Identifier capture into Keap

    Write the identifier to a custom contact field once at first touch, with a condition preventing later sequences from rewriting it.

  • Event source: an HTTP post from a Keap automation on a money event

    Fire on order paid or opportunity won. Not on tag applied — Keap tags come from automated sequences as readily as from sales events and nothing outside Keap can tell them apart.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds are recorded and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against Keap's paid orders and won opportunities by date, at their amounts.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Keap → Matomo questions, answered

Because the order was recorded under a new visitor on Keap's order form, not the visitor who arrived from your campaign. Pass Matomo's visitor ID into the form and send the order server-side with it.

Free · 30 min

Get Keap and Matomo joined properly

Free30 minutesNo obligation