Skip to main content
Marchex → MatomoIntegration guide

Connecting Marchex to Matomo

Marchex sits with enterprises running calls across many locations, where the useful question is not whether the phone rang but which branch handled it and how. 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 Marchex call 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

Marchex calls in Matomo: tying a phone call back to the visit

Capture the Matomo visitor ID into the Marchex number-insertion session, then write answered, qualifying calls back to that visitor through the HTTP Tracking API as a goal or event, with location as a custom dimension and the call's timestamp. Backdated hits need authentication and report reprocessing. Keep recordings, transcripts and visitless listing calls out.

Matomo records the visit and Marchex records the call, and the bridge between them is the DNI session. When a visitor lands on a location page, Marchex swaps in a tracking number for that session; if the Matomo visitor ID is captured into the session at the same moment, the call can later be written back against that visitor through the Matomo HTTP Tracking API. Check whether your Marchex number-insertion setup can store a custom value per session. Without it, the call has a page and a time but no visitor.

Send the call as a Matomo goal or event with the location as a custom dimension and the call's own timestamp. Hits dated more than a few hours back need an authenticated request, and the reports for those days have to be reprocessed, so check your instance's settings before backfilling a month of calls. Send only answered calls with a qualifying outcome; recordings and transcripts never belong in an analytics database, self-hosted or not. Calls from call-only ads and business listings never touched the website and should stay out of Matomo rather than appear as visitless events.

The payoff is a report no hosted analytics tool hands a multi-location brand: which location pages produce answered calls, by branch, in a database you can query directly and keep on your own servers.

Marchex → Matomo · what breaks

Why this join usually fails — Marchex → Matomo

  1. 01

    The first-party visitor ID never reaches Marchex

    Number insertion has to be maintained across many location pages, and a single stale cached number sends a whole branch's calls to the wrong pool.

  2. 02

    Unanswered calls counted as leads

    At multi-location scale, a share of calls ring out or hit hold and abandon. Those are campaign spend converted into a bad customer experience, and they sit in the conversion count looking like success.

  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.

Marchex → Matomo · the fix

What working looks like — Marchex → Matomo

  • The first-party visitor ID on every call

  • 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

Marchex → Matomo · architecture

How Marchex and Matomo actually connect

  1. 1

    Marchex holds the truth

    In multi-location businesses a national campaign performs very differently by branch, and a pooled call count hides that entirely — including the branches that are not answering.

  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 Marchex call.

  4. 4

    The event source decides reliability

    Send qualifying calls per location with the outcome, not a national total.

  5. 5

    Deduplication at the destination

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

Marchex → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the call

  • Sent from the Marchex call 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

    Number insertion has to be maintained across many location pages, and a single stale cached number sends a whole branch's calls to the wrong pool.

  • Sent from the browser

    At multi-location scale, a share of calls ring out or hit hold and abandon. Those are campaign spend converted into a bad customer experience, and they sit in the conversion count looking like success.

  • 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

Marchex → Matomo · diagnose

Diagnostic order — Marchex → Matomo

  1. 01

    Count calls carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure answer rate and abandonment by location

    Frequently the largest available improvement, and it is an operations fix rather than a media one.

  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.

Marchex → Matomo · prove

How it gets proven — Marchex → Matomo

Source of truth

Marchex calls by location, classified by outcome and joined to the local transaction.

  • The first-party visitor ID confirmed present on a live call.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Answered qualifying calls reconciled per location against imported conversions.

Marchex → Matomo · free audit

What we check in the free audit

  • Count calls carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Measure answer rate and abandonment by location
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Marchex calls by location, classified by outcome and joined to the local transaction.

Get my free conversion tracking audit

Free30 minutesNo obligation

Marchex → Matomo · when not to buy

When you don't need this — Marchex → Matomo

  • Measure identifier coverage yourself first — pull your last hundred calls and count how many carry the first-party visitor ID.
  • Single-location businesses do not need per-location provisioning and a simpler call-tracking product will do.
  • 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.

Marchex → Matomo · what we deliver

What gets built — Marchex → Matomo

  • Identifier capture into Marchex

    Provision numbers per location, verify insertion on every location page, and join the call to the local system that records the outcome.

  • Event source: the Marchex call record

    Send qualifying calls per location with the outcome, not a national total.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Reclassified calls correct.

Written guarantee

95%+ tracking accuracy

Measured against Marchex calls by location, classified by outcome and joined to the local transaction.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Marchex → Matomo questions, answered

Yes, if the Matomo visitor ID is stored on the Marchex DNI session and the call is sent back against that visitor. Without that handoff, Matomo can only record the call as an unconnected event.

Free · 30 min

Get Marchex and Matomo joined properly

Free30 minutesNo obligation