Skip to main content
AfterSell → CriteoIntegration guide

Connecting AfterSell to Criteo

AfterSell works through checkout extensions and post-purchase pages, which puts its offers inside Shopify's sandboxed surfaces where your own scripts cannot reach. 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 AfterSell upsell 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

AfterSell to Criteo: upsell items that match your catalog feed

Send the Criteo transaction server-side from the final Shopify order, with every line item, quantity and price paid, keyed on the order ID so tag events dedupe. Upsell products must be in your catalog feed with the same ID format. Thank-you page OneTag events see the pre-upsell basket. Read upsell value separately rather than crediting retargeting.

Criteo values a sale by resolving each product ID against your catalog feed, and AfterSell adds products after payment, often discounted and often from outside the main collection. If those upsell products are missing from the feed, or the feed uses a different ID format than your events, that part of the order resolves poorly. Check the feed's ID format first: Shopify feeds commonly use product ID, variant ID, SKU or a composite of them, and the transaction must use exactly the same one.

The browser route also misses the upsell. A OneTag sales event fired from the thank-you page or a Shopify custom pixel reports what was known when that page loaded, which on most setups is the pre-upsell basket. Send the transaction server-side from the final order instead, with every line item, its quantity and the price actually paid, keyed on the Shopify order ID so a tag event for the same order is deduplicated.

Decide whether accepted upsells should count toward Criteo at all. A post-purchase offer is shown to someone who has already converted, so crediting the added value to a retargeting campaign inflates the metric the channel is judged on. A sane setup reports the full order to Criteo and reads upsell value separately in your own data. If a Criteo Shopify app is installed, confirm which order total it sends.

AfterSell → Criteo · what breaks

Why this join usually fails — AfterSell → Criteo

  1. 01

    The Criteo user identifier and product IDs never reaches AfterSell

    Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported.

  2. 02

    Trying to instrument a sandbox

    Time gets spent attempting to observe checkout extension behaviour from the storefront. It cannot be done, by design, and every hour spent on it is an hour not spent on the server-side path that works.

  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.

AfterSell → Criteo · the fix

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

AfterSell → Criteo · architecture

How AfterSell and Criteo actually connect

  1. 1

    AfterSell holds the truth

    Checkout UI extensions run sandboxed. Nothing you write can observe them, so the only reliable view of what the customer accepted is the order itself.

  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 AfterSell upsell order.

  4. 4

    The event source decides reliability

    Send the final order total from the webhook, with upsell line items identified.

  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.

AfterSell → Criteo · normal or broken

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

Normal, not a fault

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

  • Sent from the Shopify 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

    Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported.

  • Sent from the browser

    Time gets spent attempting to observe checkout extension behaviour from the storefront. It cannot be done, by design, and every hour spent on it is an hour not spent on the server-side path that works.

  • 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

AfterSell → Criteo · diagnose

Diagnostic order — AfterSell → Criteo

  1. 01

    Count orders carrying the Criteo user identifier and product IDs

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm the conversion is sourced from the order, not from a page

    On modern Shopify checkout there is no supported page-based option left, so this is the only correct architecture.

  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.

AfterSell → Criteo · prove

How it gets proven — AfterSell → Criteo

Source of truth

The final Shopify order total, read from the order record.

  • 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.
  • Final order totals reconciled from the webhook against imported conversions.

AfterSell → 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
  • Confirm the conversion is sourced from the order, not from a page
  • Compare product IDs in a real conversion against the catalogue feed
  • Read the match rate, not the success message

Checked against

The final Shopify order total, read from the order record.

Get my free conversion tracking audit

Free30 minutesNo obligation

AfterSell → Criteo · when not to buy

When you don't need this — AfterSell → Criteo

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Criteo user identifier and product IDs.
  • If your conversions already come from the order webhook, checkout extensions change nothing for you.
  • If you do not sell products with a catalogue, Criteo's model does not fit and the effort is misdirected.

AfterSell → Criteo · what we deliver

What gets built — AfterSell → Criteo

  • Identifier capture into AfterSell

    Do not try to instrument the checkout surface. Read the order server-side, which is the supported and more reliable path anyway.

  • Event source: the Shopify order webhook

    Send the final order total from the webhook, with upsell line items identified.

  • 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 reverse.

Written guarantee

95%+ tracking accuracy

Measured against The final Shopify order total, read from the order record.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

AfterSell → Criteo questions, answered

Only if the transaction is sent after the upsell is applied to the order. Events from the thank-you page or a browser tag usually carry the original basket.

Free · 30 min

Get AfterSell and Criteo joined properly

Free30 minutesNo obligation