Skip to main content
Swell → CriteoIntegration guide

Connecting Swell to Criteo

Swell is headless commerce with subscriptions built in, which puts two conversion types in one system: a one-off order and a recurring plan that will bill again next month. 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 Swell 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

Swell to Criteo: one product ID across a headless storefront

On a headless Swell store, product ID, variant ID, SKU and slug differ, so make the Criteo feed, generated from Swell's products API if needed, and OneTag events use one, usually variant or SKU. Send transactions from the order webhook with the Swell order ID as transaction ID. Never send renewals, and exclude subscribers from retargeting what they receive.

Criteo fits a Swell store better than most destinations here, since there is a real catalog. The pair-specific risk comes from going headless: the Swell product ID, the variant ID, the SKU and the slug your frontend uses in URLs are four different values, and it is easy for the feed to use one while the OneTag events from your custom storefront send another. Choose one, usually the variant or SKU level, and make both the feed and the transaction event use it.

Check whether a ready-made Swell feed for Criteo exists for your setup; if not, generate it from the Swell products API on a schedule so prices and stock stay current. Send the transaction from the Swell order webhook with the same product IDs, quantities and prices, and the Swell order ID as the transaction ID so the browser tag and the server event deduplicate.

Subscriptions need two exclusions. Renewal orders must never reach Criteo, or a retargeting network gets credited every month for one sale. And current subscribers should be excluded from retargeting the products they already receive; otherwise Criteo spends on showing people the thing that arrives at their door next week.

Swell → Criteo · what breaks

Why this join usually fails — Swell → Criteo

  1. 01

    The Criteo user identifier and product IDs never reaches Swell

    Headless storefront plus recurring billing means the renewal happens months later with no session and no storefront involved.

  2. 02

    Renewals indistinguishable from new orders

    In a combined store the export gives you a list of payments. Without a first-versus-renewal flag, a customer on a monthly plan generates a conversion every month against the click that acquired them once.

  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.

Swell → Criteo · the fix

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

Swell → Criteo · architecture

How Swell and Criteo actually connect

  1. 1

    Swell holds the truth

    A subscription's first payment and its renewals are the same object type in most exports. Sending both means one acquisition produces a conversion every billing cycle.

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

  4. 4

    The event source decides reliability

    Send one-off orders and first subscription payments. Renewals belong in a retention figure.

  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.

Swell → Criteo · normal or broken

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

Normal, not a fault

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

  • Sent from the Swell order and subscription webhooks

  • 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

    Headless storefront plus recurring billing means the renewal happens months later with no session and no storefront involved.

  • Sent from the browser

    In a combined store the export gives you a list of payments. Without a first-versus-renewal flag, a customer on a monthly plan generates a conversion every month against the click that acquired them once.

  • 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

Swell → Criteo · diagnose

Diagnostic order — Swell → Criteo

  1. 01

    Count orders carrying the Criteo user identifier and product IDs

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare monthly conversion count against new customer count

    If conversions exceed new customers, renewals are being counted as acquisition.

  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.

Swell → Criteo · prove

How it gets proven — Swell → Criteo

Source of truth

Swell orders and subscriptions by date, held apart from each other.

  • 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.
  • First payments reconciled against imported conversions, with renewals reported separately.

Swell → 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
  • Compare monthly conversion count against new customer count
  • Compare product IDs in a real conversion against the catalogue feed
  • Read the match rate, not the success message

Checked against

Swell orders and subscriptions by date, held apart from each other.

Get my free conversion tracking audit

Free30 minutesNo obligation

Swell → Criteo · when not to buy

When you don't need this — Swell → Criteo

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Criteo user identifier and product IDs.
  • A store selling only one-off products does not have the renewal problem.
  • If you do not sell products with a catalogue, Criteo's model does not fit and the effort is misdirected.

Swell → Criteo · what we deliver

What gets built — Swell → Criteo

  • Identifier capture into Swell

    Write the identifier into customer metadata so the first payment can be attributed and renewals can be recognised as renewals.

  • Event source: the Swell order and subscription webhooks

    Send one-off orders and first subscription payments. Renewals belong in a retention figure.

  • 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 inside the first period reverse.

Written guarantee

95%+ tracking accuracy

Measured against Swell orders and subscriptions by date, held apart from each other.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Swell → Criteo questions, answered

One ID used consistently in both the feed and the transaction events, usually the variant ID or SKU. Mixing product IDs, variant IDs and slugs is the most common cause of unmatched conversions.

Free · 30 min

Get Swell and Criteo joined properly

Free30 minutesNo obligation