Connecting Termly to Salesforce
Termly bundles consent management with policy generation, which means small businesses frequently end up with a privacy policy describing data practices they do not actually have. 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 Termly consent record 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
Termly consent in Salesforce: cookie consent is not email opt-in
Write the Termly consent ID, accepted categories and timestamp to Lead fields at form submission, mapped through Lead conversion to the Contact, or use Salesforce's built-in consent objects. Keep cookie consent distinct from email consent, update the field on withdrawal, have offline uploads read it at upload time, and verify the integration user can write it.
Salesforce is where consent state needs to live once a visitor becomes a Lead, because every later upload of closed-won revenue to an ad platform starts from the Salesforce record. Write the Termly consent ID, the categories accepted and the timestamp to fields on the Lead at form submission, and make sure Lead conversion maps them to the Contact. Check whether your org uses Salesforce's built-in consent objects; if it does, use them rather than adding parallel fields.
The confusion specific to this pair is treating a Termly cookie acceptance as permission to email. Termly's banner records consent to cookies and tracking; marketing email consent is a separate choice with its own rules. If both live in Salesforce under similar names, someone will build a campaign on the wrong one. Keep them as distinct fields with distinct labels.
Withdrawal has to travel too. If a visitor later changes their Termly preference, the advertising consent field on the Contact should change, and any offline conversion upload built from Salesforce opportunities must read it at upload time, not at Lead creation. Salesforce writes can fail silently under field-level security, so verify on a real record that the consent fields populate for the integration user.
Termly → Salesforce · what breaks
Why this join usually fails — Termly → Salesforce
- 01
The Lead or Contact identity never reaches Termly
Default blocking configurations stop capture before consent on the first page view.
- 02
A generated policy that does not match reality
Generated policies are templates. Adding a new conversion destination without updating the policy means you are disclosing data to a partner your own published statement does not mention, which is a real exposure that no tracking configuration fixes.
- 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.
Termly → Salesforce · the fix
What working looks like — Termly → Salesforce
The Lead or Contact identity on every consent record
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
Termly → Salesforce · architecture
How Termly and Salesforce actually connect
- 1
Termly holds the truth
The published policy is a statement about what you do. If it says you share data with categories of partner you do not use, or omits ones you do, the mismatch is the compliance exposure — not the banner.
- 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 Termly consent record.
- 4
The event source decides reliability
Send consented conversions with the consent rate stated.
- 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.
Termly → Salesforce · normal or broken
Working vs. broken, side by side — Termly → Salesforce
Normal, not a fault
The Lead or Contact identity present on the consent record
Sent from your order system, gated on consent
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
Default blocking configurations stop capture before consent on the first page view.
Sent from the browser
Generated policies are templates. Adding a new conversion destination without updating the policy means you are disclosing data to a partner your own published statement does not mention, which is a real exposure that no tracking configuration fixes.
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
Termly → Salesforce · diagnose
Diagnostic order — Termly → Salesforce
- 01
Count consent records carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Compare your destination list against what the policy discloses
Every platform you send conversions to should appear. This is a five-minute check and it is almost never done after a new integration.
- 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.
Termly → Salesforce · prove
How it gets proven — Termly → Salesforce
Source of truth
Your order system, with consent state attached.
- The Lead or Contact identity confirmed present on a live consent record.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Consented conversions reconciled, with the destination list verified against the published policy.
Termly → Salesforce · free audit
What we check in the free audit
- Count consent records carrying the Lead or Contact identity
- Follow one real conversion end to end
- Compare your destination list against what the policy discloses
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Your order system, with consent state attached.
Free30 minutesNo obligation
Termly → Salesforce · when not to buy
When you don't need this — Termly → Salesforce
- Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the Lead or Contact identity.
- Before adding any new conversion destination, update the policy. That order matters, and it is cheaper than the alternative.
- 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.
Termly → Salesforce · what we deliver
What gets built — Termly → Salesforce
Identifier capture into Termly
Capture after consent, and make sure the policy actually describes the destinations you send conversions to.
Event source: your order system, gated on consent
Send consented conversions with the consent rate stated.
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
Withdrawal stops future sends.
Written guarantee
95%+ tracking accuracy
Measured against Your order system, with consent state attached.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Termly → Salesforce questions, answered
Write the consent ID, accepted categories and timestamp to the Lead at form submission and map them through Lead conversion, or use Salesforce's consent objects if your org has adopted them.
No. Cookie and tracking consent and email opt-in are separate choices. Store them in separate fields so neither is used as the other.
Almost always because the Lead or Contact identity never reached the Termly consent record. Default blocking configurations stop capture before consent on the first page view. 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, gated on consent. Send consented conversions with the consent rate stated.
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 Termly → Salesforce
- Termly → Marketing CloudConnecting Termly to Salesforce Marketing Cloud
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
RELATED GUIDES
Where Termly → Salesforce fits in the rest of your tracking
- Cookiebot → SalesforceConnecting Cookiebot to Salesforce
- OneTrust → SalesforceConnecting OneTrust to Salesforce
- CookieYes → SalesforceConnecting CookieYes to Salesforce
- Termly → MarketoConnecting Termly to Marketo
- Termly → HubSpotConnecting Termly to HubSpot
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- iubenda → SalesforceConnecting iubenda to Salesforce
- Complianz → SalesforceConnecting Complianz to Salesforce
Free · 30 min
Get Termly and Salesforce joined properly
Free30 minutesNo obligation
