Skip to main content
Braintree → CriteoIntegration guide

Connecting Braintree to Criteo

Braintree is a payment gateway rather than a storefront, so it sits underneath whatever is taking the order and holds the transaction itself. 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 Braintree transaction 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

Braintree to Criteo: the gateway has the money, not the product IDs

A Braintree transaction rarely carries product IDs that match your Criteo feed. On settlement, look up the order by the orderId you passed to Braintree, pull its items from your order system, and send the transaction with your order ID, the same ID OneTag uses. This fills PayPal and Venmo gaps; split payments stay one Criteo transaction.

Criteo needs product IDs that match your catalog feed, and a Braintree transaction usually has none. Line items can be attached to a Braintree transaction, but merchants who do that are typically sending card-processing data, and the product codes there are rarely the same IDs your feed publishes. Sending Criteo a transaction with an amount and no resolvable products gives it the value without the reason, which undercuts how Criteo optimizes.

The workable design uses Braintree for timing and truth, and your order system for the basket. When the transaction settles, look up the order by the orderId you passed to Braintree, pull its items with the same product IDs as the feed, and send the transaction to Criteo with your order ID as the transaction ID. If the OneTag also fires trackTransaction on the confirmation page, it must use that same order ID, or Criteo counts one sale twice.

Two Braintree-specific traps. PayPal and Venmo buyers leave your site and may not return to the confirmation page, so the OneTag undercounts exactly those orders and the server event is what fills the gap. And an order paid in two Braintree transactions, such as a split tender or a later capture, must still be one Criteo transaction, keyed on the order, not on either payment.

Braintree → Criteo · what breaks

Why this join usually fails — Braintree → Criteo

  1. 01

    The Criteo user identifier and product IDs never reaches Braintree

    Braintree is a gateway, so it sees the payment and not the marketing. The identifier has to be attached at the point your application creates the transaction, through custom fields, or it never enters Braintree at all.

  2. 02

    A gateway that knows nothing about marketing

    Braintree sees a payment. Whether it can be tied to a click depends entirely on whether your own application attached the identifier when creating the transaction, and most do not.

  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.

Braintree → Criteo · the fix

What working looks like — Braintree → Criteo

  • The Criteo user identifier and product IDs on every transaction

  • 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

Braintree → Criteo · architecture

How Braintree and Criteo actually connect

  1. 1

    Braintree holds the truth

    Settled and authorised are different states. Authorisation reserves the funds; settlement is money moving, and reporting on the wrong one produces a persistent gap against your bank.

  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 Braintree transaction.

  4. 4

    The event source decides reliability

    Fire on settlement rather than authorisation, and note that Braintree's PayPal and wallet flows redirect the buyer away — so the confirmation page is not a reliable trigger.

  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.

Braintree → Criteo · normal or broken

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

Normal, not a fault

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

  • Sent from the Braintree transaction settlement 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

    Braintree is a gateway, so it sees the payment and not the marketing. The identifier has to be attached at the point your application creates the transaction, through custom fields, or it never enters Braintree at all.

  • Sent from the browser

    Braintree sees a payment. Whether it can be tied to a click depends entirely on whether your own application attached the identifier when creating the transaction, and most do not.

  • 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

Braintree → Criteo · diagnose

Diagnostic order — Braintree → Criteo

  1. 01

    Count transactions carrying the Criteo user identifier and product IDs

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a settled transaction and check its custom fields

    If the identifier is not there, your application never attached it and nothing downstream can recover it.

  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.

Braintree → Criteo · prove

How it gets proven — Braintree → Criteo

Source of truth

Braintree's transaction records, filtered to settled, for the same window.

  • The Criteo user identifier and product IDs confirmed present on a live transaction.
  • Product IDs in a live conversion confirmed to match the catalogue feed exactly.
  • A PayPal-funded transaction confirmed to report even though the buyer was redirected away.

Braintree → Criteo · free audit

What we check in the free audit

  • Count transactions carrying the Criteo user identifier and product IDs
  • Follow one real conversion end to end
  • Open a settled transaction and check its custom fields
  • Compare product IDs in a real conversion against the catalogue feed
  • Read the match rate, not the success message

Checked against

Braintree's transaction records, filtered to settled, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

Braintree → Criteo · when not to buy

When you don't need this — Braintree → Criteo

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the Criteo user identifier and product IDs.
  • If your platform already reports orders accurately and Braintree is purely the funding rail, work at the order layer instead — it is closer to the customer.
  • If you do not sell products with a catalogue, Criteo's model does not fit and the effort is misdirected.

Braintree → Criteo · what we deliver

What gets built — Braintree → Criteo

  • Identifier capture into Braintree

    Pass the click identifier into the transaction's custom fields when your server creates the charge. Braintree preserves them and they survive to the webhook and to any later refund.

  • Event source: the Braintree transaction settlement webhook

    Fire on settlement rather than authorisation, and note that Braintree's PayPal and wallet flows redirect the buyer away — so the confirmation page is not a reliable trigger.

  • 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

    Braintree exposes refunds and disputes, both carrying the original custom fields, so reversals are straightforward.

Written guarantee

95%+ tracking accuracy

Measured against Braintree's transaction records, filtered to settled, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Braintree → Criteo questions, answered

Only if you enrich them. The webhook gives you the settled amount, but Criteo needs the product IDs from your order, matched exactly to the catalog feed.

Free · 30 min

Get Braintree and Criteo joined properly

Free30 minutesNo obligation