Skip to main content
Braintree → The Trade DeskIntegration guide

Connecting Braintree to The Trade Desk

Braintree is a payment gateway rather than a storefront, so it sits underneath whatever is taking the order and holds the transaction itself. The Trade Desk buys across the open internet rather than inside a walled garden, which means it cannot rely on a logged-in graph and has to work with identity you help it construct. The join between them succeeds or fails on one thing: whether Unified ID 2.0, derived from a hashed email reaches the Braintree transaction before the conversion happens, because The Trade Desk can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Braintree conversions to The Trade Desk: which email to hash

Upload settled Braintree transactions to The Trade Desk from your server with the hashed account email, not the PayPal or Venmo payer email, plus value, currency and timestamp. For guests, use the checkout email normalized exactly as your UID2 generation does. Exclude recurring billing renewals, report view-through separately and test it with a holdout.

The Trade Desk resolves conversions through UID2 or hashed email, and a Braintree transaction can carry two emails that disagree: the one on your customer account and, for PayPal- or Venmo-funded payments, the payer email from that wallet. The account email is the one the customer used on your site, where any UID2 token would have been generated, so it is the one to hash for the upload.

Upload settled transactions with the hashed account email, value, currency and timestamp from your server, not from the confirmation page, where PayPal buyers drop off and declined payments still fire. Guests who check out without an account still entered an email at checkout; use it, normalized exactly the way your UID2 generation normalizes, or the two identities will never meet.

Expect a large view-through share and read it skeptically. Exclude renewals from Braintree's recurring billing, because a subscription charged automatically every month will otherwise match whatever display impressions that household happened to see. Upload first purchases and one-off orders, report click-through and view-through separately, and test the view-through claim with a holdout before shifting budget.

Braintree → The Trade Desk · what breaks

Why this join usually fails — Braintree → The Trade Desk

  1. 01

    Unified ID 2.0, derived from a hashed email 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

    View-through conversions on the open internet

    A large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.

  4. 04

    Nothing reconciles afterwards

    The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.

Braintree → The Trade Desk · the fix

What working looks like — Braintree → The Trade Desk

  • Unified ID 2.0, derived from a hashed email on every transaction

  • Conversions arriving in The Trade Desk

    The conversion is matched to an impression or click where identity resolves, and feeds the bidding models.

  • Reconciled against the source

Braintree → The Trade Desk · architecture

How Braintree and The Trade Desk 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

    The Trade Desk needs a click to match

    The Trade Desk needs the conversion with a UID2 or a hashed email it can resolve, plus the value and timestamp. Conversions from anonymous visitors cannot be matched at all.

  3. 3

    The identifier is the bridge

    Unified ID 2.0, derived from a hashed email, 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

    Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.

Braintree → The Trade Desk · normal or broken

Working vs. broken, side by side — Braintree → The Trade Desk

Normal, not a fault

  • Unified ID 2.0, derived from a hashed email present on the transaction

  • Sent from the Braintree transaction settlement webhook

  • Deduplicated correctly

    Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.

  • Reconciles with the source

Actually broken

  • Unified ID 2.0, derived from a hashed email 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

    A large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.

  • Nobody has reconciled it

Braintree → The Trade Desk · diagnose

Diagnostic order — Braintree → The Trade Desk

  1. 01

    Count transactions carrying Unified ID 2.0, derived from a hashed email

  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

    Split reported conversions into click-through and view-through

    If the great majority are view-through, the honest next step is an incrementality test rather than a bid adjustment.

  5. 05

    Read the match rate, not the success message

    The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.

Braintree → The Trade Desk · prove

How it gets proven — Braintree → The Trade Desk

Source of truth

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

  • Unified ID 2.0, derived from a hashed email confirmed present on a live transaction.
  • Matched conversions reconciled against your own order records, with the click-through and view-through split stated.
  • A PayPal-funded transaction confirmed to report even though the buyer was redirected away.

Braintree → The Trade Desk · free audit

What we check in the free audit

  • Count transactions carrying Unified ID 2.0, derived from a hashed email
  • Follow one real conversion end to end
  • Open a settled transaction and check its custom fields
  • Split reported conversions into click-through and view-through
  • 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 → The Trade Desk · when not to buy

When you don't need this — Braintree → The Trade Desk

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry Unified ID 2.0, derived from a hashed email.
  • 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 cannot collect email addresses from a meaningful share of your buyers, UID2 has little to work with and the open internet is not yet an addressable channel for you.

Braintree → The Trade Desk · what we deliver

What gets built — Braintree → The Trade Desk

  • 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 The Trade Desk

    Server-side conversion upload with the hashed identity and value, from your order system.

  • 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 → The Trade Desk questions, answered

Your customer account email, normalized and hashed the same way you generate UID2 tokens. The PayPal payer email often belongs to a different identity.

Free · 30 min

Get Braintree and The Trade Desk joined properly

Free30 minutesNo obligation