Skip to main content
WooCommerce → CriteoIntegration guide

Connecting WooCommerce to Criteo

WooCommerce keeps the order in your own database, which is both the advantage and the reason nobody has wired it properly. 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 WooCommerce 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

WooCommerce and Criteo: product ID, variation ID or SKU?

WooCommerce offers parent product ID, variation ID and SKU, and a feed plugin and event code choosing differently is why purchases resolve poorly in Criteo. Pick one, usually variation ID or SKU, for both. Fire transactions server-side from woocommerce_payment_complete with order line items, using the order number as transaction ID shared with any tag.

WooCommerce gives every product three plausible identifiers: the parent product ID, the variation ID for each size or color, and the SKU. The feed plugin you use to build Criteo's catalog picks one, and whatever sends transaction events, a tag or server code, picks another. That is the most common reason WooCommerce purchases resolve poorly in Criteo, and it is invisible until someone compares a real order's IDs against the feed.

Choose one, usually the variation ID or SKU for variable products, and configure both the feed and the event code to use it. Fire the transaction server-side from woocommerce_payment_complete with line items from the order object, not from the thank-you page, which caching plugins can serve without running scripts. Use the WooCommerce order number as the transaction ID, shared with any browser tag, so Criteo deduplicates.

Check whether a maintained Criteo extension exists for your WooCommerce version, and read which ID setting it uses before installing it alongside an existing feed plugin. Out-of-stock and hidden variations should drop out of the feed on the same schedule the store changes them, or Criteo keeps retargeting products the customer cannot buy.

WooCommerce → Criteo · what breaks

Why this join usually fails — WooCommerce → Criteo

  1. 01

    The Criteo user identifier and product IDs never reaches WooCommerce

    WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently.

  2. 02

    Caching and optimization plugins eat the tracking

    The page the customer sees is not the page your code assumed. This is the most common cause of WooCommerce tracking that worked at launch and silently stopped after a plugin update.

  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.

WooCommerce → Criteo · the fix

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

WooCommerce → Criteo · architecture

How WooCommerce and Criteo actually connect

  1. 1

    WooCommerce holds the truth

    You own the database, so the truth is exactly as good as the query you write against it. Pin the status set first — whether processing, completed, or both count as a conversion changes the number by a lot and is the source of most arguments.

  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 WooCommerce order.

  4. 4

    The event source decides reliability

    Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.

  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.

WooCommerce → Criteo · normal or broken

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

Normal, not a fault

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

  • Sent from the woocommerce_payment_complete hook

  • 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

    WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently.

  • Sent from the browser

    The page the customer sees is not the page your code assumed. This is the most common cause of WooCommerce tracking that worked at launch and silently stopped after a plugin update.

  • 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

WooCommerce → Criteo · diagnose

Diagnostic order — WooCommerce → Criteo

  1. 01

    Count orders carrying the Criteo user identifier and product IDs

  2. 02

    Follow one real conversion end to end

  3. 03

    Check order meta on ten recent orders

    Directly in the database or with a meta viewer. Then disable page caching for the checkout path and see whether coverage changes — if it does, caching is your cause.

  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.

WooCommerce → Criteo · prove

How it gets proven — WooCommerce → Criteo

Source of truth

WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.

  • 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 meta confirmed present on orders placed while full page caching was active.

WooCommerce → 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 order meta on ten recent orders
  • Compare product IDs in a real conversion against the catalogue feed
  • Read the match rate, not the success message

Checked against

WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.

Get my free conversion tracking audit

Free30 minutesNo obligation

WooCommerce → Criteo · when not to buy

When you don't need this — WooCommerce → 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 small store with no caching layer and a single free plugin already reporting accurately, leave it alone.
  • If you do not sell products with a catalogue, Criteo's model does not fit and the effort is misdirected.

WooCommerce → Criteo · what we deliver

What gets built — WooCommerce → Criteo

  • Identifier capture into WooCommerce

    Capture the click identifier and persist it as order meta on the order object with a small snippet in the theme's functions or a purpose-built plugin. Order meta lives in your own database, so it survives caching, plugin conflicts and the customer's browser.

  • Event source: the woocommerce_payment_complete hook

    Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.

  • 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

    The refund hooks carry the order ID, so reversals are straightforward once the identifier is on the order.

Written guarantee

95%+ tracking accuracy

Measured against WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

WooCommerce → Criteo questions, answered

Pick the variation ID or SKU and use it in both the catalog feed and transaction events. A mismatch between the two is the usual failure.

Free · 30 min

Get WooCommerce and Criteo joined properly

Free30 minutesNo obligation