Connecting Adobe Experience Manager to Salesforce
AEM sits inside the wider Adobe stack, which usually means Adobe Analytics is already in place and answering a different question from your ad platforms. 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 commerce order behind AEM 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
AEM to Salesforce: route form leads, not consumer orders
Use this pair for B2B forms, not consumer orders. AEM quote and contact-sales submissions should become Salesforce Leads carrying click identifiers and landing page captured server-side. If forms route through Marketo, map those fields in its native Salesforce sync rather than a second path, and check Lead conversion mapping so values reach the Opportunity.
For a commerce AEM site, writing every order into Salesforce is rarely what anyone needs. The pair earns its keep where AEM runs B2B pages: quote requests, contact-sales forms and gated content built in AEM Forms or custom components. Those submissions should become Salesforce Leads carrying the click identifiers and landing page captured server-side, so the opportunity that closes months later can be traced back to an ad.
Adobe shops often route forms through Marketo, which has a native Salesforce sync; if that is your stack, add the click identifier fields in Marketo and map them to Lead fields in the sync rather than building a second path that creates duplicate Leads. If forms post directly, write through the API and open the record afterward, because validation rules can reject a field silently. Check Lead conversion mapping so the values reach the Contact and Opportunity.
Offline timing decides the value of this. A closed-won opportunity arriving ninety days after the click is past several ad platforms' import windows, so earlier stages such as qualified meeting are what get sent back out. Adobe Analytics will still credit the form submission, not the deal.
AEM → Salesforce · what breaks
Why this join usually fails — AEM → Salesforce
- 01
The Lead or Contact identity never reaches AEM
Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration.
- 02
Three systems that will never agree
Adobe Analytics, your commerce system and your ad platforms each measure differently. The useful work is deciding which answers which question, not forcing them to match.
- 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.
AEM → Salesforce · the fix
What working looks like — AEM → Salesforce
The Lead or Contact identity on every order
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
Adobe Experience Manager's own records are the reference, not either dashboard.
AEM → Salesforce · architecture
How AEM and Salesforce actually connect
- 1
Adobe Experience Manager holds the truth
In most AEM deployments the commerce engine is separate, and Adobe Analytics reports on its own model with its own attribution. None of those three will agree by default and that is expected rather than broken.
- 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 commerce order behind AEM.
- 4
The event source decides reliability
Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.
- 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.
AEM → Salesforce · normal or broken
Working vs. broken, side by side — AEM → Salesforce
Normal, not a fault
The Lead or Contact identity present on the order
Visible on the record itself in Adobe Experience Manager, not merely captured somewhere on the site.
Sent from your commerce system's order event
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
Salesforce's count and Adobe Experience Manager's records agree within a few percent over a closed window.
Actually broken
The Lead or Contact identity missing on most records
Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration.
Sent from the browser
Adobe Analytics, your commerce system and your ad platforms each measure differently. The useful work is deciding which answers which question, not forcing them to match.
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
The dashboard shows a number and no one has compared it to Adobe Experience Manager.
AEM → Salesforce · diagnose
Diagnostic order — AEM → Salesforce
- 01
Count orders carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Map which system answers which question before building
In an Adobe stack this framing saves more time than any implementation detail.
- 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.
AEM → Salesforce · prove
How it gets proven — AEM → Salesforce
Against Adobe Experience Manager's own records, not against either platform's dashboard.
Source of truth
Your commerce system — AEM manages experiences, not transactions.
- The Lead or Contact identity confirmed present on a live order.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Conversions confirmed sourced from the commerce system, with the Adobe Analytics difference explained rather than reconciled.
AEM → Salesforce · free audit
What we check in the free audit
- Count orders carrying the Lead or Contact identity
- Follow one real conversion end to end
- Map which system answers which question before building
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Your commerce system — AEM manages experiences, not transactions.
Free30 minutesNo obligation
AEM → Salesforce · when not to buy
When you don't need this — AEM → Salesforce
- If Salesforce already reports conversions that reconcile against Adobe Experience Manager's records within a few percent, this join is working and there is nothing to buy.
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Lead or Contact identity.
- If Adobe Analytics already answers your reporting needs, the remaining work is only feeding ad platforms — a much smaller scope.
- 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.
AEM → Salesforce · what we deliver
What gets built — AEM → Salesforce
Identifier capture into AEM
Capture the identifier server-side and persist it to the commerce order, and if you use the Adobe client data layer, add the identifier explicitly rather than assuming it propagates.
Event source: your commerce system's order event
Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.
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
Handled at the commerce layer.
Written guarantee
95%+ tracking accuracy
Measured against Your commerce system — AEM manages experiences, not transactions.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
AEM → Salesforce questions, answered
Either through Marketo's Salesforce sync in Adobe stacks, or a direct API write from the form handler. Check whether your AEM Forms setup has a configured Salesforce data source before building a custom one.
Only if a sales team works those customers in Salesforce, as in B2B commerce. For consumer orders it adds records nobody uses.
Almost always because the Lead or Contact identity never reached the commerce order behind AEM. Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration. 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 commerce system's order event. Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.
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 AEM → Salesforce
- AEM → Marketing CloudConnecting Adobe Experience Manager to Salesforce Marketing Cloud
- AEM → Google AdsConnecting Adobe Experience Manager to Google Ads
- AEM → MetaConnecting Adobe Experience Manager to Meta Conversions API
RELATED GUIDES
Where AEM → Salesforce fits in the rest of your tracking
- Contentful → SalesforceConnecting Contentful to Salesforce
- Sanity → SalesforceConnecting Sanity to Salesforce
- Sitecore → SalesforceConnecting Sitecore to Salesforce
- AEM → MarketoConnecting Adobe Experience Manager to Marketo
- AEM → HubSpotConnecting Adobe Experience Manager to HubSpot
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Webflow → SalesforceConnecting Webflow to Salesforce
- Drupal Commerce → SalesforceConnecting Drupal Commerce to Salesforce
Free · 30 min
Get AEM and Salesforce joined properly
Free30 minutesNo obligation
