Skip to main content
AfterSell → The Trade DeskIntegration guide

Connecting AfterSell to The Trade Desk

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

AfterSell to The Trade Desk: UID2 from the order, upsell split out

Every Shopify order carries the checkout email, so AfterSell orders are addressable for UID2 whatever the sandboxed page does. Upload conversions to The Trade Desk from the order webhook after the offer is answered, with hashed email or UID2, timestamp and order ID, and send original cart value so display isn't credited with checkout add-on revenue.

Every Shopify order carries the checkout email, so AfterSell orders are fully addressable for UID2 whether or not anything fired in the browser; the sandboxed post-purchase page is irrelevant to the match. Upload conversions from the order webhook after the offer is answered, with a normalized hashed email or UID2, the timestamp and the order ID as the conversion identifier.

The part specific to this pair is value. Trade Desk campaigns are often judged on view-through return, and a store with a high post-purchase acceptance rate hands open-internet display credit for add-on revenue the checkout produced. Send the original cart value as the conversion value, or report final and original separately in your own reporting, and state which one the campaign's targets were set on.

Remove customers who opted out of sale or sharing before generating identifiers, and exclude refunds, including returned upsell lines, from the revenue you compare against spend. If most orders come from returning customers who also click search and email, cross-platform deduplication on order ID in your own data matters more than anything inside The Trade Desk.

AfterSell → The Trade Desk · what breaks

Why this join usually fails — AfterSell → The Trade Desk

  1. 01

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

    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.

AfterSell → The Trade Desk · the fix

What working looks like — AfterSell → The Trade Desk

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

  • 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

AfterSell → The Trade Desk · architecture

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

    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 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

    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.

AfterSell → The Trade Desk · normal or broken

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

Normal, not a fault

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

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

    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

    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

AfterSell → The Trade Desk · diagnose

Diagnostic order — AfterSell → The Trade Desk

  1. 01

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

  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

    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.

AfterSell → The Trade Desk · prove

How it gets proven — AfterSell → The Trade Desk

Source of truth

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

  • Unified ID 2.0, derived from a hashed email confirmed present on a live order.
  • Matched conversions reconciled against your own order records, with the click-through and view-through split stated.
  • Final order totals reconciled from the webhook against imported conversions.

AfterSell → The Trade Desk · free audit

What we check in the free audit

  • Count orders carrying Unified ID 2.0, derived from a hashed email
  • Follow one real conversion end to end
  • Confirm the conversion is sourced from the order, not from a page
  • Split reported conversions into click-through and view-through
  • 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 → The Trade Desk · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry Unified ID 2.0, derived from a hashed email.
  • If your conversions already come from the order webhook, checkout extensions change nothing for you.
  • 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.

AfterSell → The Trade Desk · what we deliver

What gets built — AfterSell → The Trade Desk

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

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

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

Only through the order value you upload. Send it from the final Shopify order, and decide deliberately whether to include upsell revenue.

Free · 30 min

Get AfterSell and The Trade Desk joined properly

Free30 minutesNo obligation