Skip to main content
iubenda → SalesforceIntegration guide

Connecting iubenda to Salesforce

iubenda bundles consent management with generated privacy policies and cookie declarations, which means the published document and the actual behaviour can drift apart silently. 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 iubenda 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

iubenda to Salesforce: consent that follows the lead

Write iubenda's per-purpose preference, and any Consent Database form consent, onto the Salesforce Lead at creation, using the Individual and contact point consent objects or custom fields mapped through Lead conversion. Check field-level security did not drop them. Build a separate withdrawal sync, and filter every Salesforce ad export on the stored consent fields.

Salesforce is where consent state goes to be remembered after the browser forgets it. A form on your site creates a Lead long after iubenda's banner was answered, and months later someone exports Salesforce contacts into a Customer Match list or a conversions upload. If the Lead does not carry the consent given at capture, that export has no way to tell who agreed to advertising use.

Write the iubenda preference per purpose, and the form-level consent if you use iubenda's Consent Database, onto the Lead at creation. Salesforce has standard consent objects (Individual and the contact point consent objects); check whether your org uses them, otherwise add custom fields, and make sure Lead conversion maps them onto the Contact. As with any Salesforce write, open the record afterwards: field-level security can drop the consent fields while the API reports success, and a lead with no consent recorded is worse than no lead.

Withdrawal needs its own path into Salesforce. iubenda records a withdrawal in the browser or in its Consent Database, but nothing updates the Contact unless you build it, so someone who opted out keeps flowing into ad uploads from CRM exports. Check whether iubenda offers an integration or export you can sync from; otherwise sync on a schedule, and make every ad export from Salesforce filter on the stored consent fields.

iubenda → Salesforce · what breaks

Why this join usually fails — iubenda → Salesforce

  1. 01

    The Lead or Contact identity never reaches iubenda

    Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.

  2. 02

    A cookie declaration that no longer matches the site

    Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.

  3. 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.

  4. 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.

iubenda → Salesforce · the fix

What working looks like — iubenda → 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

iubenda → Salesforce · architecture

How iubenda and Salesforce actually connect

  1. 1

    iubenda holds the truth

    The cookie declaration lists what the site sets. Adding a new conversion destination adds cookies and data sharing the declaration does not mention until somebody updates it.

  2. 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. 3

    The identifier is the bridge

    The Lead or Contact identity, captured at the visit and carried into the iubenda consent record.

  4. 4

    The event source decides reliability

    Send consented conversions, with the destination list matching the published declaration.

  5. 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.

iubenda → Salesforce · normal or broken

Working vs. broken, side by side — iubenda → 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

    Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.

  • Sent from the browser

    Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.

  • 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

iubenda → Salesforce · diagnose

Diagnostic order — iubenda → Salesforce

  1. 01

    Count consent records carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare your destination list against the published declaration

    Five minutes, and it is almost never done after a new integration goes live.

  4. 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.

  5. 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.

iubenda → Salesforce · prove

How it gets proven — iubenda → Salesforce

Source of truth

Your order system, with consent state attached to 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, with the declaration verified against the live destination list.

iubenda → 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 the published declaration
  • 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 to the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

iubenda → Salesforce · when not to buy

When you don't need this — iubenda → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the Lead or Contact identity.
  • Update the declaration before adding a destination, not after. That order 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.

iubenda → Salesforce · what we deliver

What gets built — iubenda → Salesforce

  • Identifier capture into iubenda

    Capture after consent, and re-run the scan whenever a destination is added.

  • Event source: your order system, gated on consent

    Send consented conversions, with the destination list matching the published declaration.

  • 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 to the event.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

iubenda → Salesforce questions, answered

Capture the per-purpose preference with the form submission and write it to consent fields or Salesforce's consent objects on the Lead, then map those fields through Lead conversion. Confirm the values in the record itself, not just the API response.

Free · 30 min

Get iubenda and Salesforce joined properly

Free30 minutesNo obligation