Connecting Complianz to Salesforce
Complianz is a WordPress consent plugin that blocks scripts by category automatically, which means a plugin update can change what fires on your site without anyone deciding to. 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 Complianz 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
Complianz consent state on Salesforce Leads, not just cookies
Write Complianz marketing and statistics statuses, with a timestamp, to Salesforce Lead fields at form submission, filled in the browser at submit time so cached pages don't copy one visitor's consent onto every Lead. Use Salesforce's Individual and consent objects if your org has them, and confirm the fields survive Lead conversion for later offline uploads.
When a WordPress form creates a Salesforce Lead, the Complianz decision the visitor made a minute earlier usually goes nowhere. That matters later, when someone wants to upload closed-won deals from Salesforce to Google or Meta as offline conversions and has no record of which Leads agreed to marketing. Write the Complianz marketing and statistics statuses, with a timestamp, to fields on the Lead at the moment the form is submitted.
Populate those hidden fields in the browser at submit time, not in PHP when the page renders. A form rendered server-side and stored by a full-page cache carries whatever values were present for the first visitor, so every later Lead inherits one stranger's consent status and click identifiers. This is the specific way Complianz, a cache and a CRM form go wrong together, and it looks like clean data in Salesforce.
Check whether your org already models consent with Salesforce's Individual and consent objects; if it does, map to those instead of inventing parallel fields. Either way, confirm the fields survive Lead conversion onto the Contact, because the offline conversion upload usually runs from the Opportunity, several steps and often several weeks away from the original form.
Complianz → Salesforce · what breaks
Why this join usually fails — Complianz → Salesforce
- 01
The Lead or Contact identity never reaches Complianz
Scripts are blocked before execution, and WordPress caching can serve a page with the wrong consent state entirely.
- 02
Caching serving the wrong consent state
A full-page cache does not know who is asking. A page cached for a consented visitor and served to one who declined runs scripts that should not have run, which is a compliance problem rather than a measurement one.
- 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.
Complianz → Salesforce · the fix
What working looks like — Complianz → 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
Complianz → Salesforce · architecture
How Complianz and Salesforce actually connect
- 1
Complianz holds the truth
Automatic script blocking on WordPress interacts with every other plugin. A caching plugin, a tag manager and a consent plugin all touching the same page produce ordering problems nobody planned.
- 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 Complianz 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.
Complianz → Salesforce · normal or broken
Working vs. broken, side by side — Complianz → 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
Scripts are blocked before execution, and WordPress caching can serve a page with the wrong consent state entirely.
Sent from the browser
A full-page cache does not know who is asking. A page cached for a consented visitor and served to one who declined runs scripts that should not have run, which is a compliance problem rather than a measurement one.
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
Complianz → Salesforce · diagnose
Diagnostic order — Complianz → Salesforce
- 01
Count consent records carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Test consent behaviour with caching enabled, not disabled
Most consent testing is done with cache off, which is the one configuration that never runs in production.
- 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.
Complianz → Salesforce · prove
How it gets proven — Complianz → Salesforce
Source of truth
Your order or CRM system, with consent state recorded at the time of the event.
- 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 against imported figures, verified with production caching active.
Complianz → 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
- Test consent behaviour with caching enabled, not disabled
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Your order or CRM system, with consent state recorded at the time of the event.
Free30 minutesNo obligation
Complianz → Salesforce · when not to buy
When you don't need this — Complianz → Salesforce
- Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the Lead or Contact identity.
- Sites without full-page caching avoid the interaction, though the category classification still matters.
- 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.
Complianz → Salesforce · what we deliver
What gets built — Complianz → Salesforce
Identifier capture into Complianz
Verify which category your capture script sits in, and check that caching does not serve a consented page to a non-consented visitor.
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 or CRM system, with consent state recorded at the time of the event.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Complianz → Salesforce questions, answered
Add hidden fields to the form and fill them with JavaScript from the Complianz consent cookie or event at submit time. Confirm the cookie names in your Complianz version first.
Yes, if your policy ties ad measurement to consent. Filter the upload on the consent field stored with the Lead, which only works if it was written when the form was submitted.
Almost always because the Lead or Contact identity never reached the Complianz consent record. Scripts are blocked before execution, and WordPress caching can serve a page with the wrong consent state entirely. 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 Complianz → Salesforce
- Complianz → Marketing CloudConnecting Complianz to Salesforce Marketing Cloud
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
RELATED GUIDES
Where Complianz → Salesforce fits in the rest of your tracking
- Osano → SalesforceConnecting Osano to Salesforce
- OneTrust → SalesforceConnecting OneTrust to Salesforce
- Termly → SalesforceConnecting Termly to Salesforce
- Complianz → MarketoConnecting Complianz to Marketo
- Complianz → 6senseConnecting Complianz to 6sense
- Financial servicesConversion tracking for financial services, built for the compliance review
- iubenda → SalesforceConnecting iubenda to Salesforce
- Usercentrics → SalesforceConnecting Usercentrics to Salesforce
Free · 30 min
Get Complianz and Salesforce joined properly
Free30 minutesNo obligation
