Connecting Concrete CMS to Matomo
Concrete CMS is a self-hosted PHP CMS used by small organisations and agencies, typically with commerce added through an add-on rather than built in. 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 Concrete CMS 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
Concrete CMS and Matomo: two self-hosted PHP apps, one order
Put Matomo's static tracker in Concrete CMS Tracking Codes, then send orders with Matomo's PHP tracking client from the commerce add-on's order-completed listener, using the add-on's order number, item lines and revenue. Store the visitor ID as an order attribute at checkout for gateway callbacks. Reconcile order counts weekly, since you own both systems.
Concrete CMS and self-hosted Matomo often run on the same kind of PHP stack, sometimes on the same server, which makes this pair unusually controllable: nothing third-party sits between your site and your analytics. The browser tracker goes in Concrete's Tracking Codes setting and works on cached pages because it is static script. Orders are the part to move server-side.
Use Matomo's PHP tracking client inside a listener on the commerce add-on's order-completed event. Read the Matomo visitor ID from its first-party cookie at checkout and store it as an order attribute, because if payment finishes through a gateway callback, that request carries no browser cookie. Send the ecommerce order with the add-on's order number so Matomo deduplicates, plus item lines and revenue. Plan to report refunds from your own order data rather than expecting Matomo to reverse the order.
Self-hosting both means two failure points you own. If the Matomo database falls behind, orders sent during the lag may be processed late or lost, while the commerce add-on still shows them. Reconcile weekly: Concrete order count against Matomo ecommerce orders, matched by order number in Matomo's raw log. A gap that appears only on weekends usually points to archiving or the database, not tracking.
Concrete CMS → Matomo · what breaks
Why this join usually fails — Concrete CMS → Matomo
- 01
The first-party visitor ID never reaches Concrete CMS
Full page caching and the add-on ecosystem both interfere. Because commerce is an add-on rather than core, where the order is created differs by which add-on is installed.
- 02
Commerce as an add-on, not a core feature
Which add-on is installed determines the entire integration surface, so nothing transfers between two Concrete sites without checking first.
- 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.
Concrete CMS → Matomo · the fix
What working looks like — Concrete CMS → 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
Concrete CMS → Matomo · architecture
How Concrete CMS and Matomo actually connect
- 1
Concrete CMS holds the truth
Self-hosted means you own and can query the data directly, which makes reconciliation straightforward once the identifier is present.
- 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 Concrete CMS order.
- 4
The event source decides reliability
Fire server-side. Page caching means the confirmation template may not execute.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Concrete CMS → Matomo · normal or broken
Working vs. broken, side by side — Concrete CMS → Matomo
Normal, not a fault
The first-party visitor ID present on the order
Sent from the order-completed event from your commerce add-on
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
Full page caching and the add-on ecosystem both interfere. Because commerce is an add-on rather than core, where the order is created differs by which add-on is installed.
Sent from the browser
Which add-on is installed determines the entire integration surface, so nothing transfers between two Concrete sites without checking first.
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
Concrete CMS → Matomo · diagnose
Diagnostic order — Concrete CMS → Matomo
- 01
Count orders carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Identify which commerce add-on is in use
That decides where the order is created and what events exist to hook.
- 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.
Concrete CMS → Matomo · prove
How it gets proven — Concrete CMS → Matomo
Source of truth
Your own database's order records, at agreed states.
- The first-party visitor ID confirmed present on a live order.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- Order attribute confirmed populated on a purchase through a cached page.
Concrete CMS → 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
- Identify which commerce add-on is in use
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Your own database's order records, at agreed states.
Free30 minutesNo obligation
Concrete CMS → Matomo · when not to buy
When you don't need this — Concrete CMS → Matomo
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the first-party visitor ID.
- If your Concrete site is brochure-only with enquiries by form, treat it as a lead-gen site rather than a commerce one.
- 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.
Concrete CMS → Matomo · what we deliver
What gets built — Concrete CMS → Matomo
Identifier capture into Concrete CMS
Capture the identifier and persist it as order attribute data through an event listener, server-side.
Event source: the order-completed event from your commerce add-on
Fire server-side. Page caching means the confirmation template may not execute.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Order state changes recorded by the add-on.
Written guarantee
95%+ tracking accuracy
Measured against Your own database's order records, at agreed states.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Concrete CMS → Matomo questions, answered
Use Matomo's PHP tracking client in a listener on the commerce add-on's order event, with the visitor ID stored on the order and the order number for deduplication.
Check ingestion first: database lag, archiving failures or an unreachable tracker endpoint. Then check whether the visitor ID reached the request that completed the order.
Almost always because the first-party visitor ID never reached the Concrete CMS order. Full page caching and the add-on ecosystem both interfere. Because commerce is an add-on rather than core, where the order is created differs by which add-on is installed. 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 order-completed event from your commerce add-on. Fire server-side. Page caching means the confirmation template may not execute.
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 Concrete CMS → Matomo
- Concrete CMS → Google AdsConnecting Concrete CMS to Google Ads
- Concrete CMS → MetaConnecting Concrete CMS to Meta Conversions API
- Concrete CMS → GA4Connecting Concrete CMS to GA4
RELATED GUIDES
Where Concrete CMS → Matomo fits in the rest of your tracking
- Sanity → MatomoConnecting Sanity to Matomo
- Statamic → MatomoConnecting Statamic to Matomo
- Drupal Commerce → MatomoConnecting Drupal Commerce to Matomo
- Concrete CMS → GA4Connecting Concrete CMS to GA4
- Concrete CMS → Adobe AnalyticsConnecting Concrete CMS to Adobe Analytics
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Duda → MatomoConnecting Duda to Matomo
- Ghost → MatomoConnecting Ghost memberships to Matomo
Free · 30 min
Get Concrete CMS and Matomo joined properly
Free30 minutesNo obligation
