Connecting Concrete CMS to Mixpanel
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. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Concrete CMS order before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Concrete CMS to Mixpanel: one distinct_id from page to order
Pass Mixpanel's distinct_id into a hidden Concrete CMS checkout field or session, store it as an order attribute, and send purchases from the commerce add-on's order listener with $insert_id set to the order ID. Call identify with the Concrete user ID at login. Keep the server event and remove any template purchase event behind the cache.
Mixpanel's distinct_id must be the same on the browser event that showed a product and the server event that recorded the purchase. On Concrete CMS the server event comes from the commerce add-on's order listener, a PHP context with no access to the browser's Mixpanel cookie unless you put it there. Pass the distinct_id into a hidden checkout field or the session at checkout, write it to an order attribute, and send it with the purchase.
Logged-in Concrete users give you a stable ID: call identify with the Concrete user ID at login so pre-login browsing merges onto them. Guests stay anonymous, which is fine as long as the anonymous ID on the order is the one the browser used. Set $insert_id to the order ID so a retried send does not double the order.
Name the event once. If a template already fires a browser purchase event, decide whether the server event replaces it rather than adding a second purchase event beside it. On Concrete specifically, the confirmation template may never execute behind the page cache, so the server event is the one to keep and the browser one is the one to remove.
Concrete CMS → Mixpanel · what breaks
Why this join usually fails — Concrete CMS → Mixpanel
- 01
The distinct_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
One event schema, two teams, no agreement
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
- 04
Nothing reconciles afterwards
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
Concrete CMS → Mixpanel · the fix
What working looks like — Concrete CMS → Mixpanel
The distinct_id on every order
Conversions arriving in Mixpanel
The event lands on the user profile and becomes available in funnels, retention and cohort analysis.
Reconciled against the source
Concrete CMS → Mixpanel · architecture
How Concrete CMS and Mixpanel 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
Mixpanel needs a click to match
Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.
- 3
The identifier is the bridge
The distinct_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
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Concrete CMS → Mixpanel · normal or broken
Working vs. broken, side by side — Concrete CMS → Mixpanel
Normal, not a fault
The distinct_id present on the order
Sent from the order-completed event from your commerce add-on
Deduplicated correctly
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Reconciles with the source
Actually broken
The distinct_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
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
Nobody has reconciled it
Concrete CMS → Mixpanel · diagnose
Diagnostic order — Concrete CMS → Mixpanel
- 01
Count orders carrying the distinct_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
List every event name in the project and look for near-duplicates
Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.
- 05
Read the match rate, not the success message
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
Concrete CMS → Mixpanel · prove
How it gets proven — Concrete CMS → Mixpanel
Source of truth
Your own database's order records, at agreed states.
- The distinct_id confirmed present on a live order.
- Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
- Order attribute confirmed populated on a purchase through a cached page.
Concrete CMS → Mixpanel · free audit
What we check in the free audit
- Count orders carrying the distinct_id
- Follow one real conversion end to end
- Identify which commerce add-on is in use
- List every event name in the project and look for near-duplicates
- Read the match rate, not the success message
Checked against
Your own database's order records, at agreed states.
Free30 minutesNo obligation
Concrete CMS → Mixpanel · when not to buy
When you don't need this — Concrete CMS → Mixpanel
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the distinct_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 already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.
Concrete CMS → Mixpanel · what we deliver
What gets built — Concrete CMS → Mixpanel
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 Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.
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 → Mixpanel questions, answered
Hook your commerce add-on's order-completed event, read the distinct_id stored on the order, and post the purchase to Mixpanel's ingestion API with $insert_id set to the order ID. Check the add-on's event names for your Concrete version.
The purchase was sent with a new or default distinct_id instead of the one the browser used. Store the browser's ID on the order at checkout and send that.
Almost always because the distinct_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.
Mixpanel identifies people by distinct_id, which starts as an anonymous device value and should be aliased to your own user ID at signup. Getting that alias wrong is the single most common Mixpanel implementation failure: the anonymous pre-signup activity and the identified user become two separate people, and every funnel that crosses signup is broken.
The order-completed event from your commerce add-on. Fire server-side. Page caching means the confirmation template may not execute.
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
More on Concrete CMS → Mixpanel
- 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 → Mixpanel fits in the rest of your tracking
- Duda → MixpanelConnecting Duda to Mixpanel
- Ghost → MixpanelConnecting Ghost memberships to Mixpanel
- Craft → MixpanelConnecting Craft CMS to Mixpanel
- Concrete CMS → Adobe AnalyticsConnecting Concrete CMS to Adobe Analytics
- Concrete CMS → MatomoConnecting Concrete CMS to Matomo
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Umbraco → MixpanelConnecting Umbraco to Mixpanel
- Sanity → MixpanelConnecting Sanity to Mixpanel
Free · 30 min
Get Concrete CMS and Mixpanel joined properly
Free30 minutesNo obligation
