Skip to main content
Salesforce → The Trade DeskIntegration guide

Connecting Salesforce to The Trade Desk

Salesforce holds the opportunity, the amount and the close — the only place the actual revenue outcome is recorded. 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 Salesforce Lead or Opportunity 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

Salesforce deals as UID2-matched conversions in The Trade Desk

Build The Trade Desk upload from the hashed emails of Contacts linked to each Closed Won opportunity through Contact Roles, with amount and close date, hashed before leaving Salesforce. Expect B2B work emails to match poorly. Check the lookback window, sending opportunity creation as a separate conversion, and measure account-based programs against a held-out account list.

The conversion record is the Closed Won opportunity, but the identifier The Trade Desk can use is a hashed email, which sits on the Contacts linked through Contact Roles. Build the upload from those emails, with the amount and close date, normalized and hashed in your pipeline before anything leaves Salesforce.

Be realistic about B2B match rates. A UID2 only exists for an email someone has signed in with on publisher sites, and buyers usually read news and stream video under personal addresses, not the work address on the Contact. Most of a B2B pipeline will not match. If your Salesforce org sells to consumers, personal emails on Contacts match far better and this pair becomes much more useful.

Timing matters as much as identity. Enterprise deals close long after the impressions that may have influenced them, so check The Trade Desk's lookback window against your sales cycle; opportunity creation, sent as a separate conversion, often lands inside a window that Closed Won misses. For account-based programs, measure lift on the targeted account list against a held-out list using Salesforce pipeline, rather than relying on a per-person match that covers a small share of buyers.

Salesforce → The Trade Desk · what breaks

Why this join usually fails — Salesforce → The Trade Desk

  1. 01

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

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  2. 02

    The identifier is lost at lead conversion

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  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.

Salesforce → The Trade Desk · the fix

What working looks like — Salesforce → The Trade Desk

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

  • 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

Salesforce → The Trade Desk · architecture

How Salesforce and The Trade Desk actually connect

  1. 1

    Salesforce holds the truth

    The opportunity carries the amount, stage and close date. Because Leads convert into Contacts, Accounts and Opportunities, the identifier must be mapped through the conversion or it is dropped exactly at the moment the record becomes valuable.

  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 Salesforce Lead or Opportunity.

  4. 4

    The event source decides reliability

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  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.

Salesforce → The Trade Desk · normal or broken

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

Normal, not a fault

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

  • Sent from a Salesforce flow, Apex trigger or scheduled export on StageName change

  • 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

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  • Sent from the browser

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  • 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

Salesforce → The Trade Desk · diagnose

Diagnostic order — Salesforce → The Trade Desk

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Convert a test Lead and inspect the resulting Opportunity

    If the identifier is not on the Opportunity, the field mapping is missing. This takes five minutes and rules out the most likely cause outright.

  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.

Salesforce → The Trade Desk · prove

How it gets proven — Salesforce → The Trade Desk

Source of truth

A Salesforce report of Closed Won opportunities for the same window, by close date.

  • Unified ID 2.0, derived from a hashed email confirmed present on a live opportunity.
  • Matched conversions reconciled against your own order records, with the click-through and view-through split stated.
  • A test lead converted end to end with the identifier confirmed present on the resulting opportunity.

Salesforce → The Trade Desk · free audit

What we check in the free audit

  • Count opportunitys carrying Unified ID 2.0, derived from a hashed email
  • Follow one real conversion end to end
  • Convert a test Lead and inspect the resulting Opportunity
  • Split reported conversions into click-through and view-through
  • Read the match rate, not the success message

Checked against

A Salesforce report of Closed Won opportunities for the same window, by close date.

Get my free conversion tracking audit

Free30 minutesNo obligation

Salesforce → The Trade Desk · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry Unified ID 2.0, derived from a hashed email.
  • If your Salesforce instance is heavily customized and administered by another team, scope their availability before commissioning this — the build is usually blocked on admin access rather than on the tracking work.
  • 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.

Salesforce → The Trade Desk · what we deliver

What gets built — Salesforce → The Trade Desk

  • Identifier capture into Salesforce

    Custom field on Lead, matching custom field on Contact and Opportunity, and the field mapping configured so conversion carries it across. Verify by converting a test lead and reading the resulting opportunity.

  • Event source: a Salesforce flow, Apex trigger or scheduled export on StageName change

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  • Dispatch to The Trade Desk

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

  • Reversals where they exist

    An opportunity moved back out of Closed Won can be retracted, and enterprise pipelines do this often enough to be worth wiring.

Written guarantee

95%+ tracking accuracy

Measured against A Salesforce report of Closed Won opportunities for the same window, by close date.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Salesforce → The Trade Desk questions, answered

Yes, as hashed emails from the opportunity's contacts with the deal value and date. Expect low matching on work emails.

Free · 30 min

Get Salesforce and The Trade Desk joined properly

Free30 minutesNo obligation