Skip to main content
LeadDyno → SalesforceIntegration guide

Connecting LeadDyno to Salesforce

LeadDyno targets smaller businesses running their first affiliate programme, where the most common outcome is paying commission on customers who would have bought anyway. 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 LeadDyno referral 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

LeadDyno to Salesforce: affiliate credit on the Opportunity

When affiliate deals close through sales, carry the LeadDyno code from landing into a Lead custom field, mapped explicitly through conversion onto the Opportunity. Record the sale to LeadDyno from Closed Won with the Opportunity amount, not the form fill. Flag referrals matching existing Contacts or Accounts with revenue at Lead creation, testing your duplicate rules.

Salesforce enters this pair when affiliate-referred deals close through a sales team rather than a checkout, which is common for smaller B2B and service businesses running LeadDyno. The affiliate code captured on landing needs to reach the Lead as a custom field, survive Lead conversion into Contact and Opportunity, and be on the Opportunity when it goes Closed Won. Map the field through Lead conversion explicitly; unmapped custom Lead fields do not carry over.

Then record the sale back to LeadDyno from Closed Won, not from the form fill, so commission is paid on revenue rather than on a lead. Check whether that runs through LeadDyno's API, a Zapier-style connector or your own job; whichever it is, it needs the Opportunity amount and an identifier LeadDyno can tie to the affiliate.

Salesforce already knows whether the account existed before the referral, which makes it the right place to enforce a new-customer rule. At Lead creation, flag the referral when the email matches an existing Contact or Account with closed revenue, before anyone pays commission. Your org's duplicate and matching rules decide whether that check sees the match, so test it with a real existing customer's email.

LeadDyno → Salesforce · what breaks

Why this join usually fails — LeadDyno → Salesforce

  1. 01

    The Lead or Contact identity never reaches LeadDyno

    Affiliate links land on your store carrying parameters that may overwrite a paid identifier already stored.

  2. 02

    Paying commission on existing customers

    First affiliate programmes almost always leak this way. Without a new-customer condition on the commission rule, you are paying a percentage on repeat purchases you would have received for nothing.

  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.

LeadDyno → Salesforce · the fix

What working looks like — LeadDyno → Salesforce

  • The Lead or Contact identity on every referral

  • 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

LeadDyno → Salesforce · architecture

How LeadDyno and Salesforce actually connect

  1. 1

    LeadDyno holds the truth

    New programmes frequently recruit existing customers as affiliates, who then refer themselves or their own repeat purchases. That is commission on revenue you already had.

  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 LeadDyno referral.

  4. 4

    The event source decides reliability

    Send orders net of commission, with new-versus-existing customer status recorded.

  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.

LeadDyno → Salesforce · normal or broken

Working vs. broken, side by side — LeadDyno → Salesforce

Normal, not a fault

  • The Lead or Contact identity present on the referral

  • Sent from your order record with affiliate attribution

  • 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

    Affiliate links land on your store carrying parameters that may overwrite a paid identifier already stored.

  • Sent from the browser

    First affiliate programmes almost always leak this way. Without a new-customer condition on the commission rule, you are paying a percentage on repeat purchases you would have received for nothing.

  • 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

LeadDyno → Salesforce · diagnose

Diagnostic order — LeadDyno → Salesforce

  1. 01

    Count referrals carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Count affiliate-attributed orders from customers who already existed

    If the share is high, the fix is the commission rule rather than the tracking.

  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.

LeadDyno → Salesforce · prove

How it gets proven — LeadDyno → Salesforce

Source of truth

Orders flagged by affiliate, with the customer's prior relationship recorded.

  • The Lead or Contact identity confirmed present on a live referral.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Affiliate orders reconciled net of commission, split by new versus existing customer.

LeadDyno → Salesforce · free audit

What we check in the free audit

  • Count referrals carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Count affiliate-attributed orders from customers who already existed
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Orders flagged by affiliate, with the customer's prior relationship recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

LeadDyno → Salesforce · when not to buy

When you don't need this — LeadDyno → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the Lead or Contact identity.
  • Programmes already restricted to new customers do not have this leak.
  • 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.

LeadDyno → Salesforce · what we deliver

What gets built — LeadDyno → Salesforce

  • Identifier capture into LeadDyno

    Set precedence explicitly and record whether the referred customer was already known to you.

  • Event source: your order record with affiliate attribution

    Send orders net of commission, with new-versus-existing customer status recorded.

  • 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 and reclaim commission.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by affiliate, with the customer's prior relationship recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LeadDyno → Salesforce questions, answered

Carry the affiliate code from the Lead to the Opportunity through a mapped custom field, then report the sale to LeadDyno when the Opportunity closes, with the Opportunity amount.

Free · 30 min

Get LeadDyno and Salesforce joined properly

Free30 minutesNo obligation