Skip to main content
Stripe → The Trade DeskIntegration guide

Connecting Stripe to The Trade Desk

Stripe knows exactly what was paid, by whom, and when — down to the cent, including the refund three weeks later. 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 Stripe Customer or PaymentIntent 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

Stripe purchases for The Trade Desk: email-based UID2 matching

Normalize and hash the email every Stripe Checkout collects, then send it with order value, currency, timestamp and the PaymentIntent ID through The Trade Desk offline conversion route your seat uses, after confirming UID2 notice and opt-outs. Use the PaymentIntent ID as order ID on the pixel too, and split reported revenue into click-through and view-through.

The Trade Desk needs an identity it can resolve, and Stripe holds the input UID2 is built from: every Checkout collects an email. That makes Stripe payments a stronger match source than most site conversions, which often come from anonymous visitors. Normalize and hash the email from the Checkout Session or Customer, and send it with order value, currency, timestamp and the PaymentIntent ID through the offline conversion route your seat uses; confirm which one with your account team.

The limit sits on the exposure side: The Trade Desk can only credit a payment to an impression it served to that same identity, and many buyers saw the ad while anonymous or on another device. Even with every Stripe email sent, the match rate tells you how much of your audience was identified when exposed, not how good your pipeline is. UID2 also carries notice and opt-out obligations, so check that your privacy policy covers it before uploading.

If the Trade Desk pixel fires on your return page too, page conversions and uploaded Stripe ones can overlap; use the PaymentIntent ID as order ID on both. Split reported revenue into click-through and view-through before comparing it with Stripe.

Stripe → The Trade Desk · what breaks

Why this join usually fails — Stripe → The Trade Desk

  1. 01

    Unified ID 2.0, derived from a hashed email never reaches Stripe

    Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.

  2. 02

    Checkout is on Stripe's domain, so the browser loses the thread

    The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.

  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.

Stripe → The Trade Desk · the fix

What working looks like — Stripe → The Trade Desk

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

  • 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

Stripe → The Trade Desk · architecture

How Stripe and The Trade Desk actually connect

  1. 1

    Stripe holds the truth

    Every succeeded PaymentIntent is a real conversion with a real amount and currency. No sampling, no modeling, no consent gate. This is the number the business actually banked, which is why it is the reference rather than anything either ad platform reports.

  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 Stripe Customer or PaymentIntent.

  4. 4

    The event source decides reliability

    Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.

  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.

Stripe → The Trade Desk · normal or broken

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

Normal, not a fault

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

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

    Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.

  • Sent from the browser

    The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.

  • 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

Stripe → The Trade Desk · diagnose

Diagnostic order — Stripe → The Trade Desk

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Open one succeeded PaymentIntent in the Stripe dashboard

    Look at its Metadata section. If the identifier is not there, nothing downstream can fix it — the join is broken at the source and every other check is wasted effort.

  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.

Stripe → The Trade Desk · prove

How it gets proven — Stripe → The Trade Desk

Source of truth

The Stripe dashboard — Payments, filtered to succeeded, for the same window.

  • Unified ID 2.0, derived from a hashed email confirmed present on a live payment.
  • Matched conversions reconciled against your own order records, with the click-through and view-through split stated.
  • A refunded payment confirmed to reverse, not just the sale confirmed to send.

Stripe → The Trade Desk · free audit

What we check in the free audit

  • Count payments carrying Unified ID 2.0, derived from a hashed email
  • Follow one real conversion end to end
  • Open one succeeded PaymentIntent in the Stripe dashboard
  • Split reported conversions into click-through and view-through
  • Read the match rate, not the success message

Checked against

The Stripe dashboard — Payments, filtered to succeeded, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

Stripe → The Trade Desk · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry Unified ID 2.0, derived from a hashed email.
  • If you take payment through a hosted Payment Link or Buy Button and have no server creating sessions, this needs a development change on your side before any tracking work is worth commissioning. Worth knowing before you pay for tracking.
  • 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.

Stripe → The Trade Desk · what we deliver

What gets built — Stripe → The Trade Desk

  • Identifier capture into Stripe

    Read the click identifier from the landing page, persist it in a first-party cookie, and pass it into the create-session call as metadata. Stripe carries metadata onto the resulting PaymentIntent and Charge, so it survives to the webhook and to any later refund.

  • Event source: the Stripe webhook

    Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.

  • Dispatch to The Trade Desk

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

  • Reversals where they exist

    Stripe fires charge.refunded and charge.dispute.created. Both carry the original metadata, so a refund can be sent as a negative or a retraction wherever the destination supports it. Most setups never wire this and quietly overstate revenue by the refund rate.

Written guarantee

95%+ tracking accuracy

Measured against The Stripe dashboard — Payments, filtered to succeeded, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Stripe → The Trade Desk questions, answered

Yes, as offline conversions with hashed emails or UID2s, value and timestamp. Check which upload method your seat supports.

Free · 30 min

Get Stripe and The Trade Desk joined properly

Free30 minutesNo obligation