Skip to main content
Saleor → CriteoIntegration guide

Connecting Saleor to Criteo

Saleor is headless and GraphQL-first, which means the storefront and the commerce engine are separate applications and the identifier has to survive a boundary that traditional platforms do not have. 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 Saleor order 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

Saleor to Criteo: variant IDs that match the catalog feed

Criteo matches by product ID, so the ID your feed uses, usually the Saleor variant ID or SKU, must match transaction events at the same level. Map server-side sales from the paid-order webhook to that ID, with the Saleor order number as transaction ID shared with OneTag. Confirm each channel has a matching feed and currency.

Criteo matches transactions to your catalog by product ID, and Saleor offers several candidates: the product ID, the variant ID (both base64 global IDs in the API) and the variant SKU. Whatever your Criteo feed uses must be what your transaction events use, at the same level, which for most stores means the variant. Feeds generated by a Saleor feed app or a third-party tool may pick a different one than your developers did, so check the feed rather than assuming.

In a headless storefront, OneTag lives in custom frontend code written by whoever built the storefront, and that is where mismatches usually start: the frontend passes the GraphQL ID it already has while the feed uses SKU. Server-side sales from the paid-order webhook should read lines from the order and map them to the same ID the feed uses, with the Saleor order number as the transaction ID shared with the browser tag for deduplication.

Saleor channels can carry different prices and currencies for the same variant. If Criteo runs on more than one channel, confirm that each channel has a matching feed and that events carry that channel's currency. Refunds and cancellations from their webhooks should reach Criteo where your setup accepts them.

Saleor → Criteo · what breaks

Why this join usually fails — Saleor → Criteo

  1. 01

    The Criteo user identifier and product IDs never reaches Saleor

    The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.

  2. 02

    A storefront that knows the click and an API that holds the money

    Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.

  3. 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.

  4. 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.

Saleor → Criteo · the fix

What working looks like — Saleor → 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

Saleor → Criteo · architecture

How Saleor and Criteo actually connect

  1. 1

    Saleor holds the truth

    In a headless setup the storefront is one of several possible clients. Attributing from it means measuring one channel of a system designed to have many.

  2. 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. 3

    The identifier is the bridge

    The Criteo user identifier and product IDs, captured at the visit and carried into the Saleor order.

  4. 4

    The event source decides reliability

    Send fully paid orders at their net total, sourced from the API.

  5. 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.

Saleor → Criteo · normal or broken

Working vs. broken, side by side — Saleor → Criteo

Normal, not a fault

  • The Criteo user identifier and product IDs present on the order

  • Sent from the Saleor order webhook

  • 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

    The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.

  • Sent from the browser

    Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.

  • 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

Saleor → Criteo · diagnose

Diagnostic order — Saleor → Criteo

  1. 01

    Count orders carrying the Criteo user identifier and product IDs

  2. 02

    Follow one real conversion end to end

  3. 03

    Inspect order metadata on a live order for the identifier

    Either it is on the order or the attribution is guesswork. There is no middle state.

  4. 04

    Compare product IDs in a real conversion against the catalogue feed

    They must match exactly. This single check explains most Criteo value discrepancies.

  5. 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.

Saleor → Criteo · prove

How it gets proven — Saleor → Criteo

Source of truth

Saleor orders by payment status, read from the API rather than inferred from the storefront.

  • 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.
  • Paid orders reconciled from the API against imported conversions.

Saleor → 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
  • Inspect order metadata on a live order for the identifier
  • Compare product IDs in a real conversion against the catalogue feed
  • Read the match rate, not the success message

Checked against

Saleor orders by payment status, read from the API rather than inferred from the storefront.

Get my free conversion tracking audit

Free30 minutesNo obligation

Saleor → Criteo · when not to buy

When you don't need this — Saleor → Criteo

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Criteo user identifier and product IDs.
  • If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard integration.
  • If you do not sell products with a catalogue, Criteo's model does not fit and the effort is misdirected.

Saleor → Criteo · what we deliver

What gets built — Saleor → Criteo

  • Identifier capture into Saleor

    Capture in the storefront and write the identifier into order metadata through the API at checkout, so it lives on the order rather than in a session.

  • Event source: the Saleor order webhook

    Send fully paid orders at their net total, sourced from the API.

  • 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

    Refunds and cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Saleor orders by payment status, read from the API rather than inferred from the storefront.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Saleor → Criteo questions, answered

Whichever your Criteo feed uses, usually the variant SKU or the variant ID, applied identically in OneTag events and server-side sales.

Free · 30 min

Get Saleor and Criteo joined properly

Free30 minutesNo obligation