Connecting CallRail to Matomo
CallRail knows which call came from which visit, and for phone-led businesses the call is the conversion. 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 CallRail call 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
CallRail calls as Matomo goals on the visitor who called
Store the Matomo visitor ID on the CallRail session where the number is swapped, if your plan allows custom session data. From the post-call webhook, record a goal server-side through Matomo's HTTP Tracking API with that visitor ID, the call time as a token_auth-backed custom timestamp, and call ID in a custom dimension. Confirm the endpoint is reachable.
Matomo's advantage, a first-party tracker on your own domain, only carries over to calls if the Matomo visitor ID is stored with the CallRail session. Read the visitor ID from the Matomo tracker on the page where CallRail swaps the number and attach it to the session; check whether your CallRail plan supports custom session data or a callback you can use for this.
From CallRail's post-call webhook, record a goal conversion through the Matomo HTTP Tracking API with that visitor ID, the call time as the custom timestamp, and the call ID in a custom dimension so calls can be picked out in the raw log. Backdating a hit requires token_auth on the request, so the send must happen server-side; never expose that token on the page. Without the visitor ID the goal still records, but on a new visitor with no campaign, which is how calls end up under Direct.
Because most Matomo installs here are self-hosted, check that the tracking endpoint is reachable from wherever your webhook handler runs. A Matomo that only accepts traffic from the public site, or sits behind an internal firewall, is the usual reason every call goal fails without a visible error.
CallRail → Matomo · what breaks
Why this join usually fails — CallRail → Matomo
- 01
The first-party visitor ID never reaches CallRail
Dynamic number insertion has to run before the visitor dials. If the swap script is deferred, blocked by consent, or the visitor calls from a cached page, CallRail records the call but cannot tie it to the session, and the click identifier goes with it. Calls from the Google Business Profile or a printed number never had a session at all.
- 02
Every call counts, including the wrong numbers
Unfiltered call conversions teach the ad platform to find people who dial, not people who buy. A 12-second call is not a lead and should not be paid for as one.
- 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.
- 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.
CallRail → Matomo · the fix
What working looks like — CallRail → 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
CallRail → Matomo · architecture
How CallRail and Matomo actually connect
- 1
CallRail holds the truth
The call record carries duration, source, the tracking number, the keyword where available, and — critically — the session CallRail stitched it to. That session is what carries the click identifier.
- 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
The identifier is the bridge
The first-party visitor ID, captured at the visit and carried into the CallRail call record.
- 4
The event source decides reliability
Send after the call completes, filtered by duration or by the qualification your team applies. Sending on call start counts wrong numbers and hang-ups as conversions.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
CallRail → Matomo · normal or broken
Working vs. broken, side by side — CallRail → Matomo
Normal, not a fault
The first-party visitor ID present on the call
Sent from the CallRail post-call webhook
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
Dynamic number insertion has to run before the visitor dials. If the swap script is deferred, blocked by consent, or the visitor calls from a cached page, CallRail records the call but cannot tie it to the session, and the click identifier goes with it. Calls from the Google Business Profile or a printed number never had a session at all.
Sent from the browser
Unfiltered call conversions teach the ad platform to find people who dial, not people who buy. A 12-second call is not a lead and should not be paid for as one.
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
CallRail → Matomo · diagnose
Diagnostic order — CallRail → Matomo
- 01
Count calls carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Check what share of calls have a session attached
In CallRail, calls without a session cannot be attributed by anyone. That percentage is your real ceiling, and it is usually the number that ends the debate.
- 04
Check tracker reachability and database lag before debugging any tag
On self-hosted analytics the answer is infrastructure more often than instrumentation.
- 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.
CallRail → Matomo · prove
How it gets proven — CallRail → Matomo
Source of truth
CallRail's own call log for the same window, filtered to the call qualification you count.
- The first-party visitor ID confirmed present on a live call.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- The duration or qualification threshold agreed in writing before anything is sent.
CallRail → 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
- Check what share of calls have a session attached
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
CallRail's own call log for the same window, filtered to the call qualification you count.
Free30 minutesNo obligation
CallRail → Matomo · when not to buy
When you don't need this — CallRail → Matomo
- Measure identifier coverage yourself first — pull your last hundred calls and count how many carry the first-party visitor ID.
- CallRail's own native integrations are genuinely decent for straightforward setups. If you only need calls into one destination and your qualification is just a duration threshold, use theirs — we will say so.
- 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.
CallRail → Matomo · what we deliver
What gets built — CallRail → Matomo
Identifier capture into CallRail
Confirm the number-swap script runs early and unconditionally on every page a paid visitor can land on, and that CallRail's session capture is receiving the click identifier from the URL.
Event source: the CallRail post-call webhook
Send after the call completes, filtered by duration or by the qualification your team applies. Sending on call start counts wrong numbers and hang-ups as conversions.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
There is nothing to reverse, but a call later marked unqualified should not have been counted — which is why the duration or qualification filter belongs before the send, not after.
Written guarantee
95%+ tracking accuracy
Measured against CallRail's own call log for the same window, filtered to the call qualification you count.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
CallRail → Matomo questions, answered
Yes, as goal conversions sent server-side with the Matomo visitor ID captured at the visit and the call time as the timestamp.
The conversion arrived without the original visitor ID, so Matomo created a new visit with no campaign.
Almost always because the first-party visitor ID never reached the CallRail call record. Dynamic number insertion has to run before the visitor dials. If the swap script is deferred, blocked by consent, or the visitor calls from a cached page, CallRail records the call but cannot tie it to the session, and the click identifier goes with it. Calls from the Google Business Profile or a printed number never had a session at all. Measure coverage before debugging the dispatch.
Matomo sets its own first-party cookie and, when self-hosted on your domain, is not a third-party request at all. That means ad blockers and browser tracking-prevention affect it far less than a hosted analytics tag — one of the few genuine measurement advantages available under current privacy conditions.
The CallRail post-call webhook. Send after the call completes, filtered by duration or by the qualification your team applies. Sending on call start counts wrong numbers and hang-ups as conversions.
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.
More on CallRail → Matomo
- CallRail → Google AdsConnecting CallRail to Google Ads
- CallRail → GA4Connecting CallRail to GA4
- CallRail → MetaConnecting CallRail to Meta Conversions API
Using CallRail for bookings? How CallRail bookings get tracked end to end
RELATED GUIDES
Where CallRail → Matomo fits in the rest of your tracking
- RingCentral → MatomoConnecting RingCentral to Matomo
- Marchex → MatomoConnecting Marchex to Matomo
- WhatConverts → MatomoConnecting WhatConverts to Matomo
- CallRail → GA4Connecting CallRail to GA4
- CallRail → AmplitudeConnecting CallRail to Amplitude
- PlumbersConversion tracking for plumbers, where the phone call is the conversion
- Twilio → MatomoConnecting Twilio to Matomo
- Aircall → MatomoConnecting Aircall to Matomo
Free · 30 min
Get CallRail and Matomo joined properly
Free30 minutesNo obligation
