Connecting Statamic to Criteo
Statamic is a flat-file CMS on Laravel, usually chosen by agencies for content sites where commerce is bolted on rather than central. Criteo is a retargeting and commerce media network built on product-level data, which means its feed matters as much as its conversion events. The join between them succeeds or fails on one thing: whether the Criteo user identifier and product IDs reaches the Statamic or Laravel order record before the conversion happens, because Criteo can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Statamic commerce to Criteo with matching product IDs
Criteo only fits a Statamic site selling a catalog. Fire the transaction from the Laravel order event with the order ID as transaction ID and line-item product IDs from the same stable SKU field the feed uses, not slugs editors rename. Product-view tags run on cached pages, but clear affected pages on product save so tags and feed agree.
Criteo only fits a Statamic site that actually sells a catalog, usually through a commerce addon or a custom Laravel store; a brochure or lead generation site has nothing to send. Where products exist, they are often Statamic collection entries, and the feed is generated from those entries. Whichever ID the feed uses, the entry's ID, slug or a SKU field, has to be the same ID the purchase event sends.
Fire the transaction from the Laravel order event, with the order ID as the transaction ID and each line item's product ID from the same field the feed uses. The usual break here is that the feed was built by one developer from entry slugs, the checkout uses entry IDs, and editors later rename slugs, so conversions stop resolving without anyone noticing. Pick a stable SKU field that editors cannot change by accident.
Static caching affects the browser half too. Criteo's product-view tags on cached product pages still run, because they are JavaScript, but any product ID printed into the page must be the stable one, and a page cached before a product change will show stale data until the cache is cleared. Clear affected pages on product save so tags and feed agree.
Statamic → Criteo · what breaks
Why this join usually fails — Statamic → Criteo
- 01
The Criteo user identifier and product IDs never reaches Statamic
Statamic's static caching serves pre-rendered files with no PHP execution at all, which means anything expecting server-side rendering per request simply does not run.
- 02
Static caching bypassing PHP entirely
Statamic's full static caching serves a file from disk. No PHP runs, so nothing dynamic happens — and this is invisible because the page looks perfect.
- 03
Product IDs that do not match the feed
Criteo resolves conversions against your catalogue. If the IDs in your purchase events differ from the IDs in your feed — a common outcome when the feed is generated by a different system — the conversion resolves poorly and the reported value is wrong.
- 04
Nothing reconciles afterwards
Criteo reports conversions on its own attribution windows, which include view-through. Reconcile against your own order records and be explicit that view-through credit is included — otherwise the comparison will never balance.
Statamic → Criteo · the fix
What working looks like — Statamic → Criteo
The Criteo user identifier and product IDs on every order
Conversions arriving in Criteo
Conversions appear in Criteo's reporting attributed to its own view- and click-through windows, which are worth understanding before comparing anything.
Reconciled against the source
Statamic → Criteo · architecture
How Statamic and Criteo actually connect
- 1
Statamic holds the truth
Because Statamic sits on Laravel, the commercial record is usually a database table your developers defined. That is the source of truth and it is fully under your control.
- 2
Criteo needs a click to match
Criteo needs the transaction with its product IDs, quantities and values, matched to your catalogue feed. Identity resolution is Criteo's side of the problem; feed consistency is yours.
- 3
The identifier is the bridge
The Criteo user identifier and product IDs, captured at the visit and carried into the Statamic or Laravel order record.
- 4
The event source decides reliability
Fire from the application event. Static caching means the template that rendered the page may never have executed anything.
- 5
Deduplication at the destination
Criteo deduplicates on the transaction identifier. Sending the same order from both a tag and a server integration without a shared ID counts it twice, and on a retargeting network that inflates the metric the whole channel is judged on.
Statamic → Criteo · normal or broken
Working vs. broken, side by side — Statamic → Criteo
Normal, not a fault
The Criteo user identifier and product IDs present on the order
Sent from your Laravel application's order event
Deduplicated correctly
Criteo deduplicates on the transaction identifier. Sending the same order from both a tag and a server integration without a shared ID counts it twice, and on a retargeting network that inflates the metric the whole channel is judged on.
Reconciles with the source
Actually broken
The Criteo user identifier and product IDs missing on most records
Statamic's static caching serves pre-rendered files with no PHP execution at all, which means anything expecting server-side rendering per request simply does not run.
Sent from the browser
Statamic's full static caching serves a file from disk. No PHP runs, so nothing dynamic happens — and this is invisible because the page looks perfect.
Counted twice, or not at all
Criteo resolves conversions against your catalogue. If the IDs in your purchase events differ from the IDs in your feed — a common outcome when the feed is generated by a different system — the conversion resolves poorly and the reported value is wrong.
Nobody has reconciled it
Statamic → Criteo · diagnose
Diagnostic order — Statamic → Criteo
- 01
Count orders carrying the Criteo user identifier and product IDs
- 02
Follow one real conversion end to end
- 03
Check whether full static caching is enabled
If it is, any per-request logic in a template is not running and never was.
- 04
Compare product IDs in a real conversion against the catalogue feed
They must match exactly. This single check explains most Criteo value discrepancies.
- 05
Read the match rate, not the success message
Criteo reports conversions on its own attribution windows, which include view-through. Reconcile against your own order records and be explicit that view-through credit is included — otherwise the comparison will never balance.
Statamic → Criteo · prove
How it gets proven — Statamic → Criteo
Source of truth
Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.
- The Criteo user identifier and product IDs confirmed present on a live order.
- Product IDs in a live conversion confirmed to match the catalogue feed exactly.
- Order data confirmed persisted on a purchase made while full static caching was active.
Statamic → Criteo · free audit
What we check in the free audit
- Count orders carrying the Criteo user identifier and product IDs
- Follow one real conversion end to end
- Check whether full static caching is enabled
- Compare product IDs in a real conversion against the catalogue feed
- Read the match rate, not the success message
Checked against
Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.
Free30 minutesNo obligation
Statamic → Criteo · when not to buy
When you don't need this — Statamic → Criteo
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Criteo user identifier and product IDs.
- If commerce lives in a separate system entirely, work there — Statamic is the content layer.
- If you do not sell products with a catalogue, Criteo's model does not fit and the effort is misdirected.
Statamic → Criteo · what we deliver
What gets built — Statamic → Criteo
Identifier capture into Statamic
Capture the identifier and persist it through a Laravel event listener into your own order table, entirely outside the static cache path.
Event source: your Laravel application's order event
Fire from the application event. Static caching means the template that rendered the page may never have executed anything.
Dispatch to Criteo
Server-side transaction events with product IDs matching the catalogue feed, plus the feed itself kept in sync.
Reversals where they exist
Whatever your application defines as a refund.
Written guarantee
95%+ tracking accuracy
Measured against Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Statamic → Criteo questions, answered
Generate the Criteo feed and the purchase events from the same stable product ID field, and send transactions from the Laravel order event with the order ID as transaction ID.
Usually the feed and the events use different identifiers, often slugs that editors changed. Use a fixed SKU field for both.
Almost always because the Criteo user identifier and product IDs never reached the Statamic or Laravel order record. Statamic's static caching serves pre-rendered files with no PHP execution at all, which means anything expecting server-side rendering per request simply does not run. Measure coverage before debugging the dispatch.
Criteo matches through its own identity graph rather than a single click parameter you capture, and it depends heavily on product-level data — the product IDs in your events must match the IDs in your catalogue feed exactly. A conversion that arrives with product IDs Criteo cannot resolve is worth much less than one that resolves, and mismatched IDs between feed and events are the most common failure here.
Your Laravel application's order event. Fire from the application event. Static caching means the template that rendered the page may never have executed anything.
Criteo reports conversions on its own attribution windows, which include view-through. Reconcile against your own order records and be explicit that view-through credit is included — otherwise the comparison will never balance.
More on Statamic → Criteo
- Stripe → CriteoConnecting Stripe to Criteo
- PayPal → CriteoConnecting PayPal to Criteo
- Shopify → CriteoConnecting Shopify to Criteo
RELATED GUIDES
Where Statamic → Criteo fits in the rest of your tracking
- Craft → CriteoConnecting Craft CMS to Criteo
- Contentful → CriteoConnecting Contentful to Criteo
- Ghost → CriteoConnecting Ghost memberships to Criteo
- Statamic → RokuConnecting Statamic to Roku Ads
- Statamic → The Trade DeskConnecting Statamic to The Trade Desk
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- AEM → CriteoConnecting Adobe Experience Manager to Criteo
- Duda → CriteoConnecting Duda to Criteo
Free · 30 min
Get Statamic and Criteo joined properly
Free30 minutesNo obligation
