Connecting Dynamic Yield to Matomo
Dynamic Yield personalizes continuously rather than in discrete tests, so there is no stable control group and no clean before-and-after to compare a campaign against. 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 Dynamic Yield experience 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
Dynamic Yield variants in Matomo: segment orders by experience
Store the Dynamic Yield experience and variation as a visit-scoped Matomo custom dimension and record orders with ecommerce order tracking using your order number. Because Dynamic Yield decides asynchronously, hold the first pageview until its decision callback fires or set the dimension again on the order hit. Choose either Matomo's A/B testing or Dynamic Yield to own the holdout.
Matomo is a sensible place to analyze Dynamic Yield because you can query the raw visit log directly instead of trusting a vendor's lift chart. Store the experience and variation as a visit-scoped custom dimension, then record the order with Matomo's ecommerce order tracking using your order number, so a refreshed confirmation page does not record it twice. Every order then carries the variation that was live during that visit, and Matomo segments do the comparison.
Timing is what breaks this pair. Dynamic Yield decides asynchronously, often after Matomo's tracker has already sent the first pageview, so the visit is recorded with an empty dimension and the variation only lands on later actions. Either hold the first Matomo pageview until Dynamic Yield's decision callback fires, or set the dimension again on the order hit itself. Open one real session in the visit log and check that the dimension sits on the order, not just on page two.
Matomo also sells its own A/B testing feature. Running it alongside Dynamic Yield on the same pages gives you two assignment systems that ignore each other, so choose one to own the holdout. Refunds are a gap: confirm whether your Matomo version can retract an order at all, and otherwise compare net revenue per variation from the order system rather than Matomo's revenue totals.
Dynamic Yield → Matomo · what breaks
Why this join usually fails — Dynamic Yield → Matomo
- 01
The first-party visitor ID never reaches Dynamic Yield
Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links.
- 02
No control group, therefore no baseline
Continuous personalization with no holdout makes it impossible to say whether performance changed because of media, because of merchandising, or because the algorithm learned something. Most implementations have no holdout.
- 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.
Dynamic Yield → Matomo · the fix
What working looks like — Dynamic Yield → Matomo
The first-party visitor ID on every experience
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
Dynamic Yield → Matomo · architecture
How Dynamic Yield and Matomo actually connect
- 1
Dynamic Yield holds the truth
Always-on personalization means the page a visitor saw in March is not the page a visitor sees today. Year-on-year campaign comparisons quietly stop being comparisons.
- 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 Dynamic Yield experience.
- 4
The event source decides reliability
Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Dynamic Yield → Matomo · normal or broken
Working vs. broken, side by side — Dynamic Yield → Matomo
Normal, not a fault
The first-party visitor ID present on the experience
Sent from your order system with the served variant attached
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
Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links.
Sent from the browser
Continuous personalization with no holdout makes it impossible to say whether performance changed because of media, because of merchandising, or because the algorithm learned something. Most implementations have no holdout.
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
Dynamic Yield → Matomo · diagnose
Diagnostic order — Dynamic Yield → Matomo
- 01
Count experiences carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Confirm whether a holdout exists at all
If it does not, the honest reporting position is that campaign performance cannot be cleanly separated from personalization effects.
- 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.
Dynamic Yield → Matomo · prove
How it gets proven — Dynamic Yield → Matomo
Source of truth
Your order system, joined to the personalization variant served.
- The first-party visitor ID confirmed present on a live experience.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- Orders reconciled against imported conversions, with holdout performance reported alongside.
Dynamic Yield → Matomo · free audit
What we check in the free audit
- Count experiences carrying the first-party visitor ID
- Follow one real conversion end to end
- Confirm whether a holdout exists at all
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Your order system, joined to the personalization variant served.
Free30 minutesNo obligation
Dynamic Yield → Matomo · when not to buy
When you don't need this — Dynamic Yield → Matomo
- Measure identifier coverage yourself first — pull your last hundred experiences and count how many carry the first-party visitor ID.
- Without a holdout group, adding conversion tracking will not make the results interpretable. Build the holdout first.
- 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.
Dynamic Yield → Matomo · what we deliver
What gets built — Dynamic Yield → Matomo
Identifier capture into Dynamic Yield
Capture and persist the identifier before personalization renders, and verify that no personalized link template strips the parameters.
Event source: your order system with the served variant attached
Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Refunds reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your order system, joined to the personalization variant served.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Dynamic Yield → Matomo questions, answered
Create a visit-scoped custom dimension in Matomo and set it from Dynamic Yield's decision callback before the tracker sends its first hit. Then segment ecommerce orders by that dimension.
Usually because Matomo's first pageview fired before Dynamic Yield finished deciding. Set the dimension on the order hit as well, or delay the first pageview until the decision is made.
Almost always because the first-party visitor ID never reached the Dynamic Yield experience. Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links. 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.
Your order system with the served variant attached. Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.
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 Dynamic Yield → Matomo
- Dynamic Yield → Google AdsConnecting Dynamic Yield to Google Ads
- Dynamic Yield → MetaConnecting Dynamic Yield to Meta Conversions API
- Dynamic Yield → GA4Connecting Dynamic Yield to GA4
RELATED GUIDES
Where Dynamic Yield → Matomo fits in the rest of your tracking
- mParticle → MatomoConnecting mParticle to Matomo
- VWO → MatomoConnecting VWO to Matomo
- Optimizely → MatomoConnecting Optimizely to Matomo
- Dynamic Yield → GA4Connecting Dynamic Yield to GA4
- Dynamic Yield → AmplitudeConnecting Dynamic Yield to Amplitude
- B2BConversion tracking for B2B, from first touch to closed-won
- Tealium → MatomoConnecting Tealium to Matomo
- RudderStack → MatomoConnecting RudderStack to Matomo
Free · 30 min
Get Dynamic Yield and Matomo joined properly
Free30 minutesNo obligation
