Connecting Dynamic Yield to Salesforce
Dynamic Yield personalizes continuously rather than in discrete tests, so there is no stable control group and no clean before-and-after to compare a campaign against. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the Dynamic Yield experience before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Dynamic Yield into Salesforce CRM: rarely worth wiring at all
For most teams, do not connect Dynamic Yield to Salesforce CRM; variation exposures on Lead records add data sales will not read. Exceptions: a B2B lead-gen site writing the live personalization campaign to a custom Lead field at form submission, or a segment label on Contacts, matched on email. Salesforce Commerce Cloud is a separate product.
Dynamic Yield runs on retail and media sites with anonymous traffic; Salesforce CRM tracks named leads and accounts. The overlap is thin. Writing variation exposures onto Lead records adds data nobody in sales will read, and per-session personalization changes faster than any CRM field can usefully hold. For most teams the honest answer is not to connect them.
There are two exceptions. A B2B site using Dynamic Yield on lead-gen pages can write the personalization campaign that was live when the form was submitted to a custom field on the Lead, alongside the captured click IDs, so pipeline reports can split by the landing experience. And a retailer whose service team works in Salesforce may want a segment label, not raw variations, on the Contact. In both cases write once at form submission or nightly, matched on email, and confirm in the UI that field-level security did not silently drop it.
One caution if you use Salesforce Commerce Cloud: that is a separate product from Salesforce CRM, and its storefront data is not what this integration means. Check which one your team is asking about before scoping anything.
Dynamic Yield → Salesforce · what breaks
Why this join usually fails — Dynamic Yield → Salesforce
- 01
The Lead or Contact identity never reaches Dynamic Yield
Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links.
- 02
No control group, therefore no baseline
Continuous personalization with no holdout makes it impossible to say whether performance changed because of media, because of merchandising, or because the algorithm learned something. Most implementations have no holdout.
- 03
Writes that succeed and change nothing
Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.
- 04
Nothing reconciles afterwards
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
Dynamic Yield → Salesforce · the fix
What working looks like — Dynamic Yield → Salesforce
The Lead or Contact identity on every experience
Conversions arriving in Salesforce
The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.
Reconciled against the source
Dynamic Yield → Salesforce · architecture
How Dynamic Yield and Salesforce actually connect
- 1
Dynamic Yield holds the truth
Always-on personalization means the page a visitor saw in March is not the page a visitor sees today. Year-on-year campaign comparisons quietly stop being comparisons.
- 2
Salesforce needs a click to match
Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.
- 3
The identifier is the bridge
The Lead or Contact identity, captured at the visit and carried into the Dynamic Yield experience.
- 4
The event source decides reliability
Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.
- 5
Deduplication at the destination
Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.
Dynamic Yield → Salesforce · normal or broken
Working vs. broken, side by side — Dynamic Yield → Salesforce
Normal, not a fault
The Lead or Contact identity present on the experience
Sent from your order system with the served variant attached
Deduplicated correctly
Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.
Reconciles with the source
Actually broken
The Lead or Contact identity missing on most records
Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links.
Sent from the browser
Continuous personalization with no holdout makes it impossible to say whether performance changed because of media, because of merchandising, or because the algorithm learned something. Most implementations have no holdout.
Counted twice, or not at all
Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.
Nobody has reconciled it
Dynamic Yield → Salesforce · diagnose
Diagnostic order — Dynamic Yield → Salesforce
- 01
Count experiences carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Confirm whether a holdout exists at all
If it does not, the honest reporting position is that campaign performance cannot be cleanly separated from personalization effects.
- 04
Write a test value and open the record in the UI
The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.
- 05
Read the match rate, not the success message
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
Dynamic Yield → Salesforce · prove
How it gets proven — Dynamic Yield → Salesforce
Source of truth
Your order system, joined to the personalization variant served.
- The Lead or Contact identity confirmed present on a live experience.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Orders reconciled against imported conversions, with holdout performance reported alongside.
Dynamic Yield → Salesforce · free audit
What we check in the free audit
- Count experiences carrying the Lead or Contact identity
- Follow one real conversion end to end
- Confirm whether a holdout exists at all
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Your order system, joined to the personalization variant served.
Free30 minutesNo obligation
Dynamic Yield → Salesforce · when not to buy
When you don't need this — Dynamic Yield → Salesforce
- Measure identifier coverage yourself first — pull your last hundred experiences and count how many carry the Lead or Contact identity.
- Without a holdout group, adding conversion tracking will not make the results interpretable. Build the holdout first.
- If your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.
Dynamic Yield → Salesforce · what we deliver
What gets built — Dynamic Yield → Salesforce
Identifier capture into Dynamic Yield
Capture and persist the identifier before personalization renders, and verify that no personalized link template strips the parameters.
Event source: your order system with the served variant attached
Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.
Dispatch to Salesforce
API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.
Reversals where they exist
Refunds reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your order system, joined to the personalization variant served.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Dynamic Yield → Salesforce questions, answered
Rarely. Only lead-gen sites benefit, and then by writing the experience live at form submission to one custom field, not every exposure.
No. Commerce Cloud is Salesforce's storefront product; this integration is about Salesforce CRM records, so confirm which one is in scope.
Almost always because the Lead or Contact identity never reached the Dynamic Yield experience. Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links. Measure coverage before debugging the dispatch.
Salesforce resolves on its own record identity — a Lead, a Contact, or an Account — rather than on a click identifier. What you are doing here is attaching marketing context to a record so the pipeline carries it, which means the click identifier arrives as a custom field value rather than as a matching key. The hazard is duplicates: two Leads for one person means two records with half the history each.
Your order system with the served variant attached. Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
More on Dynamic Yield → Salesforce
- Dynamic Yield → Marketing CloudConnecting Dynamic Yield to Salesforce Marketing Cloud
- Dynamic Yield → Google AdsConnecting Dynamic Yield to Google Ads
- Dynamic Yield → MetaConnecting Dynamic Yield to Meta Conversions API
RELATED GUIDES
Where Dynamic Yield → Salesforce fits in the rest of your tracking
- Optimizely → SalesforceConnecting Optimizely to Salesforce
- VWO → SalesforceConnecting VWO to Salesforce
- RudderStack → SalesforceConnecting RudderStack to Salesforce
- Dynamic Yield → 6senseConnecting Dynamic Yield to 6sense
- Dynamic Yield → MarketoConnecting Dynamic Yield to Marketo
- B2BConversion tracking for B2B, from first touch to closed-won
- Tealium → SalesforceConnecting Tealium to Salesforce
- mParticle → SalesforceConnecting mParticle to Salesforce
Free · 30 min
Get Dynamic Yield and Salesforce joined properly
Free30 minutesNo obligation
