Skip to main content
Recart → MatomoIntegration guide

Connecting Recart to Matomo

Recart recovers carts over SMS and messaging rather than email, which shortens the recovery window dramatically and puts the message somewhere the customer will see within minutes. 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 Recart recovered 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

Recart recoveries in Matomo: tag the link, keep the visitor

Without campaign parameters, Matomo files a Recart recovery as direct entry. Add mtm_campaign or pk_campaign to Recart's link template, or map what Recart already appends. Because the recovery opens a different browser, put a visitor or cart key in the URL, or send the order through the HTTP Tracking API with the user ID set at checkout.

In Matomo a Recart recovery shows up as a new visit, and the question is what it is attributed to. Without campaign parameters in the recovery link, Matomo sees a text-message tap with no referrer and files it as direct entry, which makes recovered revenue look like loyal customers typing your URL. Add Matomo campaign parameters (mtm_campaign or pk_campaign) to Recart's link template, or check which parameters Recart already appends and map them in Matomo.

The visitor is the harder part. The original visit and the recovery visit usually happen in different browsers, a social app's in-app browser for the ad click and the default browser for the text, so Matomo's first-party visitor cookie does not carry over. Put a visitor or cart key in the recovery URL, or send the order server-side through the HTTP Tracking API from the Shopify order with the user ID you set at checkout, so the order joins the right visitor's history.

Self-hosting gives you a check the hosted tools do not. Query the raw log for orders whose last visit came from the Recart campaign, then look up those visitors' earlier visits. The share that first arrived from paid ads is the share where your ad platforms and Recart are both claiming the same order.

Recart → Matomo · what breaks

Why this join usually fails — Recart → Matomo

  1. 01

    The first-party visitor ID never reaches Recart

    The customer taps a link in a message app, which frequently opens an in-app browser with partitioned storage.

  2. 02

    Fast recovery hiding inside the original session

    Because SMS recovery is quick, the recovered order can look like an uninterrupted paid session. The paid campaign takes full credit for an order that a paid message closed, and the SMS cost never appears against it.

  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.

Recart → Matomo · the fix

What working looks like — Recart → Matomo

  • The first-party visitor ID on every recovery

  • 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

Recart → Matomo · architecture

How Recart and Matomo actually connect

  1. 1

    Recart holds the truth

    SMS recovery closes carts within an hour rather than a day, which means the recovered order frequently falls inside the same session window as the original paid click — making the double-claim harder to spot, not easier.

  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 Recart recovered order.

  4. 4

    The event source decides reliability

    Send orders with recovery flagged, and account for the per-message cost of SMS in the channel's economics.

  5. 5

    Deduplication at the destination

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

Recart → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the recovery

  • Sent from your order record with recovery attribution

  • 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

    The customer taps a link in a message app, which frequently opens an in-app browser with partitioned storage.

  • Sent from the browser

    Because SMS recovery is quick, the recovered order can look like an uninterrupted paid session. The paid campaign takes full credit for an order that a paid message closed, and the SMS cost never appears against it.

  • 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

Recart → Matomo · diagnose

Diagnostic order — Recart → Matomo

  1. 01

    Count recoverys carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare time from abandonment to recovery against your session window

    If recovery routinely happens inside the session window, the two channels are indistinguishable without an explicit flag.

  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.

Recart → Matomo · prove

How it gets proven — Recart → Matomo

Source of truth

Store orders flagged by whether a messaging recovery preceded them.

  • The first-party visitor ID confirmed present on a live recovery.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Orders reconciled with recovery flagged and SMS send cost attributed to the recovery channel.

Recart → Matomo · free audit

What we check in the free audit

  • Count recoverys carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Compare time from abandonment to recovery against your session window
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Store orders flagged by whether a messaging recovery preceded them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Recart → Matomo · when not to buy

When you don't need this — Recart → Matomo

  • Measure identifier coverage yourself first — pull your last hundred recoverys and count how many carry the first-party visitor ID.
  • If you recover only by email, the longer window makes the two channels naturally separable.
  • 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.

Recart → Matomo · what we deliver

What gets built — Recart → Matomo

  • Identifier capture into Recart

    Carry the identifier in the recovery link itself rather than relying on storage surviving the in-app browser.

  • Event source: your order record with recovery attribution

    Send orders with recovery flagged, and account for the per-message cost of SMS in the channel's economics.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by whether a messaging recovery preceded them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Recart → Matomo questions, answered

The recovery link carries no campaign parameters Matomo recognizes, and the text opens a fresh browser with no referrer. Add mtm_ or pk_ campaign parameters to the Recart link template.

Free · 30 min

Get Recart and Matomo joined properly

Free30 minutesNo obligation