Skip to main content
mParticle → MatomoIntegration guide

Connecting mParticle to Matomo

mParticle is built around mobile identity resolution, which is the hard case — an app install severs the browser cookie, and stitching the two sides is the entire value proposition. 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 mParticle user event 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

mParticle and Matomo: use Matomo's User ID, not the MPID

First decide whether Matomo should see mParticle app data at all; if it exists to keep website analytics in-house, leave it there. Otherwise most teams post to Matomo's HTTP Tracking API from the backend, with your customer ID as Matomo's User ID and the transaction ID as ecommerce order ID. Watch volume against a website-sized database.

This is an unusual pairing and usually a sign of two teams with different priorities: Matomo chosen for privacy and data ownership on the website, mParticle chosen to unify app and web. Before connecting them, decide whether Matomo is meant to see app data at all. If it exists because website analytics must stay in-house, the minimal setup is to leave it on the website and keep app events out.

If you do want server-side orders or app events in Matomo, check whether mParticle offers any Matomo output; most teams post to the HTTP Tracking API from their backend instead. Matomo's visitor ID is a 16-character hexadecimal value, so an MPID or customer ID cannot simply be dropped into it. Send your customer ID as Matomo's User ID, which is built for logged-in users and lets Matomo link the server-side order to the visits that user made on the website.

Orders need the transaction ID as the ecommerce order ID, so a retried forward does not create a second order, and the same revenue definition as the rest of your reporting. Watch volume: app event streams forwarded wholesale can outgrow a self-hosted Matomo database sized for a website, and when it falls behind nobody is paged.

mParticle → Matomo · what breaks

Why this join usually fails — mParticle → Matomo

  1. 01

    The first-party visitor ID never reaches mParticle

    The web-to-app transition. A user clicks an ad in a browser, installs the app and converts inside it, and nothing carries across without deliberate deferred-deep-link handling.

  2. 02

    Identity merge rules quietly setting your conversion count

    Merge too aggressively and two people become one customer. Merge too conservatively and one customer becomes three conversions. Neither failure announces itself and both change the number your bidding runs on.

  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.

mParticle → Matomo · the fix

What working looks like — mParticle → Matomo

  • The first-party visitor ID on every event

  • 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

mParticle → Matomo · architecture

How mParticle and Matomo actually connect

  1. 1

    mParticle holds the truth

    Identity resolution decides which events belong to which person, and the merge rules you configure directly determine your conversion counts. Get them wrong and you either duplicate people or collapse strangers together.

  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 mParticle user event.

  4. 4

    The event source decides reliability

    Send settled transactions from the resolved profile, with platform noted, so web and app performance stay distinguishable.

  5. 5

    Deduplication at the destination

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

mParticle → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the event

  • Sent from the mParticle server-side feed

  • 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 web-to-app transition. A user clicks an ad in a browser, installs the app and converts inside it, and nothing carries across without deliberate deferred-deep-link handling.

  • Sent from the browser

    Merge too aggressively and two people become one customer. Merge too conservatively and one customer becomes three conversions. Neither failure announces itself and both change the number your bidding runs on.

  • 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

mParticle → Matomo · diagnose

Diagnostic order — mParticle → Matomo

  1. 01

    Count events carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Audit the identity priority order

    Read the configured hierarchy and test it against known duplicate accounts before trusting any downstream count.

  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.

mParticle → Matomo · prove

How it gets proven — mParticle → Matomo

Source of truth

The resolved user profile, joined to your billing or order system.

  • The first-party visitor ID confirmed present on a live event.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Distinct paying customers in billing reconciled against resolved profiles reporting a purchase.

mParticle → Matomo · free audit

What we check in the free audit

  • Count events carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Audit the identity priority order
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

The resolved user profile, joined to your billing or order system.

Get my free conversion tracking audit

Free30 minutesNo obligation

mParticle → Matomo · when not to buy

When you don't need this — mParticle → Matomo

  • Measure identifier coverage yourself first — pull your last hundred events and count how many carry the first-party visitor ID.
  • Web-only businesses rarely need this. The mobile identity problem is what justifies the complexity, and without an app you are paying for a solution to a problem you do not have.
  • 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.

mParticle → Matomo · what we deliver

What gets built — mParticle → Matomo

  • Identifier capture into mParticle

    Capture the identifier on the web, pass it through the install attribution flow, and set it as a user attribute on the app-side profile so the eventual purchase can still name its origin.

  • Event source: the mParticle server-side feed

    Send settled transactions from the resolved profile, with platform noted, so web and app performance stay distinguishable.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunds and subscription cancellations reverse against the same profile.

Written guarantee

95%+ tracking accuracy

Measured against The resolved user profile, joined to your billing or order system.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

mParticle → Matomo questions, answered

Usually by posting from your backend to Matomo's HTTP Tracking API rather than through a built-in output. Send orders and key events with your customer ID as the User ID.

Free · 30 min

Get mParticle and Matomo joined properly

Free30 minutesNo obligation