Connecting ShareASale to Salesforce
ShareASale is a long-established last-click affiliate network, which means the same voucher-code interception problem as any last-click programme, at the scale of a very large publisher base. 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 ShareASale transaction 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
ShareASale to Salesforce: affiliate leads that never close
For publishers paid per lead, capture the ShareASale affiliate ID, publisher type and click timestamp on the form into custom Lead fields, mapped through Lead conversion onto Contact and Opportunity. Report closed-won value by affiliate ID and void junk leads before commissions lock. Ecommerce programs usually belong in a warehouse instead.
This pair matters for SaaS and service companies paying ShareASale publishers per lead rather than per sale. ShareASale credits the lead when the form is submitted; whether it becomes revenue is only visible in Salesforce weeks later. Without the link, publishers are paid the same for leads that close and leads that never answer the phone.
Capture the ShareASale affiliate ID and publisher type on the form and write them to custom fields on the Lead, along with the click timestamp, and map them through Lead conversion onto the Contact and Opportunity, since that mapping is separate and usually missed. Then a report of closed-won value by affiliate ID shows which publishers send buyers and which send form-fillers. Check whether ShareASale's lead transactions can be voided within your program's locking period, and use the Salesforce data to void obvious junk before commissions lock.
For ecommerce merchants on ShareASale, Salesforce is usually the wrong place for this data unless sales actually works the accounts. Recording an affiliate ID on every retail customer clutters the CRM without anyone acting on it; a warehouse is the better home.
ShareASale → Salesforce · what breaks
Why this join usually fails — ShareASale → Salesforce
- 01
The Lead or Contact identity never reaches ShareASale
The affiliate cookie is set on click and read at checkout, and a voucher-site click seconds before the order will overwrite whatever preceded it.
- 02
Voucher publishers earning on sales your ads produced
A customer arrives from a paid ad, opens a tab to find a code, clicks a voucher site's link and returns to buy. Under last-click the voucher site earns the commission on a sale your advertising created — and your paid reporting counts it too.
- 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.
ShareASale → Salesforce · the fix
What working looks like — ShareASale → Salesforce
The Lead or Contact identity on every conversion
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
ShareASale → Salesforce · architecture
How ShareASale and Salesforce actually connect
- 1
ShareASale holds the truth
Publisher type is the whole analysis. Content publishers introduce customers; voucher and cashback publishers intercept them at the basket. Both are paid the same way and they are not the same thing.
- 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 ShareASale transaction.
- 4
The event source decides reliability
Send orders net of commission, with affiliate-sourced orders marked and publisher type recorded.
- 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.
ShareASale → Salesforce · normal or broken
Working vs. broken, side by side — ShareASale → Salesforce
Normal, not a fault
The Lead or Contact identity present on the conversion
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
The affiliate cookie is set on click and read at checkout, and a voucher-site click seconds before the order will overwrite whatever preceded it.
Sent from the browser
A customer arrives from a paid ad, opens a tab to find a code, clicks a voucher site's link and returns to buy. Under last-click the voucher site earns the commission on a sale your advertising created — and your paid reporting counts it too.
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
ShareASale → Salesforce · diagnose
Diagnostic order — ShareASale → Salesforce
- 01
Count conversions carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Segment commissions by publisher type and time-from-click to order
Clicks seconds before an order are interception. That segmentation is available and rarely run.
- 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.
ShareASale → Salesforce · prove
How it gets proven — ShareASale → Salesforce
Source of truth
Orders flagged by affiliate, with commission recorded and the publisher type identified.
- The Lead or Contact identity confirmed present on a live conversion.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Orders reconciled net of commission against imported conversions, with the paid-media overlap measured.
ShareASale → Salesforce · free audit
What we check in the free audit
- Count conversions carrying the Lead or Contact identity
- Follow one real conversion end to end
- Segment commissions by publisher type and time-from-click to order
- 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 commission recorded and the publisher type identified.
Free30 minutesNo obligation
ShareASale → Salesforce · when not to buy
When you don't need this — ShareASale → Salesforce
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the Lead or Contact identity.
- No affiliate programme means none of this applies. If you run one, the commission structure by publisher type will change your economics more than tracking accuracy will.
- 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.
ShareASale → Salesforce · what we deliver
What gets built — ShareASale → Salesforce
Identifier capture into ShareASale
Record the click timestamp alongside the affiliate identifier so late-journey interception is visible.
Event source: your order record with affiliate attribution
Send orders net of commission, with affiliate-sourced orders marked and publisher type 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 should reverse the commission.
Written guarantee
95%+ tracking accuracy
Measured against Orders flagged by affiliate, with commission recorded and the publisher type identified.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
ShareASale → Salesforce questions, answered
Store the affiliate ID and publisher type on the Lead, map them through Lead conversion to the Opportunity, and report closed-won value by affiliate ID.
Check your program's voiding and locking rules in ShareASale. Salesforce lead status gives you the evidence, but voids have to happen before the transaction locks.
Almost always because the Lead or Contact identity never reached the ShareASale transaction. The affiliate cookie is set on click and read at checkout, and a voucher-site click seconds before the order will overwrite whatever preceded it. 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 record with affiliate attribution. Send orders net of commission, with affiliate-sourced orders marked and publisher type recorded.
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 ShareASale → Salesforce
- ShareASale → Marketing CloudConnecting ShareASale to Salesforce Marketing Cloud
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
RELATED GUIDES
Where ShareASale → Salesforce fits in the rest of your tracking
- Rakuten Advertising → SalesforceConnecting Rakuten Advertising to Salesforce
- CJ → SalesforceConnecting CJ Affiliate to Salesforce
- FirstPromoter → SalesforceConnecting FirstPromoter to Salesforce
- ShareASale → HubSpotConnecting ShareASale to HubSpot
- ShareASale → 6senseConnecting ShareASale to 6sense
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- Tapfiliate → SalesforceConnecting Tapfiliate to Salesforce
- Rewardful → SalesforceConnecting Rewardful to Salesforce
Free · 30 min
Get ShareASale and Salesforce joined properly
Free30 minutesNo obligation
