Connecting Olo to Matomo
Olo sits between a multi-location brand and every channel it sells through, which makes it the only place where a direct order and a marketplace order can be compared on the same terms. 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 Olo 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
Olo to Matomo: keeping the visitor ID across the ordering subdomain
Add your Matomo tracker with cross-domain linking to the Olo ordering site, or pass the visitor ID through the ordering URL, so the visit reaches the order. Then send each order from the Olo webhook to the HTTP Tracking API as an ecommerce order with the Olo order ID, subtotal and a store ID custom dimension. Keep Rails orders out.
Matomo can only credit an Olo order to a campaign if it knows which visit placed it, and the Olo-hosted ordering site usually lives on a different hostname from your brand site. Matomo's cross-domain linking appends its visitor ID to links between the two, but only if both sides run the same tracker, so check whether your Olo ordering site lets you add your own Matomo tag at all. If it does not, the visit ends at the order button.
The server path is the Olo order webhook into the HTTP Tracking API: an ecommerce order with the Olo order ID for deduplication, the subtotal, and the store ID in a custom dimension so each restaurant can be reported on its own. The visitor ID has to reach the order first, which on most setups means passing it through the ordering URL rather than hoping for a shared cookie.
Keep Rails orders out of the main site entirely. They have no visit behind them, and recording them would create thousands of zero-pageview visits that inflate conversion rate per location. If finance wants marketplace volume in Matomo, give it a separate site ID so nobody mixes the two in a report.
Olo → Matomo · what breaks
Why this join usually fails — Olo → Matomo
- 01
The first-party visitor ID never reaches Olo
Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever.
- 02
Marketplace orders inflating the direct channel
Rails is designed to make marketplace demand look like your own order flow, which is excellent for operations and ruinous for measurement. Left unsplit, a good week on DoorDash reads as a good week for your ad account.
- 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.
Olo → Matomo · the fix
What working looks like — Olo → 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
Olo → Matomo · architecture
How Olo and Matomo actually connect
- 1
Olo holds the truth
Rails pulls DoorDash, Uber Eats and Grubhub orders into the same order stream as your own website. They land in one feed and they are not the same thing: one carries a click you paid for, the other carries a marketplace commission and no identifier at all.
- 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 Olo order.
- 4
The event source decides reliability
Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Olo → Matomo · normal or broken
Working vs. broken, side by side — Olo → Matomo
Normal, not a fault
The first-party visitor ID present on the order
Sent from the Olo order 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
Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever.
Sent from the browser
Rails is designed to make marketplace demand look like your own order flow, which is excellent for operations and ruinous for measurement. Left unsplit, a good week on DoorDash reads as a good week for your ad account.
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
Olo → Matomo · diagnose
Diagnostic order — Olo → Matomo
- 01
Count orders carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Separate direct from Rails at the source
Do this before any tracking work. The split is the measurement; everything after it is plumbing.
- 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.
Olo → Matomo · prove
How it gets proven — Olo → Matomo
Source of truth
Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.
- The first-party visitor ID confirmed present on a live order.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- Direct-channel orders per location reconciled against imported conversions, with Rails volume reported as a named exclusion.
Olo → 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
- Separate direct from Rails at the source
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.
Free30 minutesNo obligation
Olo → Matomo · when not to buy
When you don't need this — Olo → Matomo
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the first-party visitor ID.
- If your Olo volume is overwhelmingly Rails, the campaign question is about marketplace placement and commission, and no amount of conversion tracking will answer it.
- 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.
Olo → Matomo · what we deliver
What gets built — Olo → Matomo
Identifier capture into Olo
Persist the identifier on the direct-ordering path only, and mark Rails-sourced orders explicitly as unattributable rather than letting them dilute the figure.
Event source: the Olo order webhook
Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Cancelled and refunded orders should reduce the figure, per location.
Written guarantee
95%+ tracking accuracy
Measured against Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Olo → Matomo questions, answered
Most likely the order completes on Olo's hosted domain, where your Matomo tracker is not running. Either add the tracker there if your Olo setup allows custom scripts, or record the order server-side from the Olo webhook with the visitor ID carried across.
Yes, if every order is sent with its store ID in a custom dimension. Without it, Matomo sees one national ecommerce total.
Almost always because the first-party visitor ID never reached the Olo order. Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever. 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 Olo order webhook. Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.
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 Olo → Matomo
- Olo → Google AdsConnecting Olo to Google Ads
- Olo → MetaConnecting Olo to Meta Conversions API
- Olo → GA4Connecting Olo to GA4
RELATED GUIDES
Where Olo → Matomo fits in the rest of your tracking
- Uber Eats → MatomoConnecting Uber Eats to Matomo
- Popmenu → MatomoConnecting Popmenu to Matomo
- Slice → MatomoConnecting Slice to Matomo
- Olo → AmplitudeConnecting Olo to Amplitude
- Olo → GA4Connecting Olo to GA4
- CateringConversion tracking for catering, measured in confirmed events
- DoorDash → MatomoConnecting DoorDash to Matomo
- Deliverect → MatomoConnecting Deliverect to Matomo
Free · 30 min
Get Olo and Matomo joined properly
Free30 minutesNo obligation
