Connecting CJ Affiliate to Salesforce
CJ operates at enterprise scale with sophisticated commissioning rules, which means the same publisher can be paid differently by product, by customer status or by placement — and getting those inputs wrong pays real money incorrectly. 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 CJ 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
CJ data in Salesforce: worth it only for leads that sales closes
For a pure online store, keep CJ Affiliate data in a warehouse instead. Salesforce fits when CJ publishers drive leads that sales closes: write the publisher ID and click identifier to Lead custom fields at creation and map them through Lead conversion onto Contact and Opportunity, then report Closed Won amounts back to CJ with the original identifier.
Most CJ programs commission ecommerce orders that never touch Salesforce, so for a pure online store this pair is a poor fit and a warehouse is the better home for CJ data. It earns its place when CJ publishers drive leads or trial signups that a sales team closes later, or when the same business runs B2B accounts in Salesforce alongside a CJ-tracked web store.
In that case, write the CJ publisher ID and click identifier to custom fields on the Lead at creation, and map them through Lead conversion onto the Contact and Opportunity, or they vanish the moment sales converts the lead. The CJ action and the money are different moments: the lead lands today, Closed Won lands weeks later. If publishers are paid on the sale, the Closed Won amount has to be reported back to CJ with the original identifier; confirm how your CJ account accepts late or offline transactions before promising sale-based payouts.
The failure specific to this pair: a later form fill creates a duplicate Lead without the CJ fields, that record wins the merge, and the publisher loses credit on a deal they sourced. Check your org's matching rules before anyone relies on these fields for commission.
CJ → Salesforce · what breaks
Why this join usually fails — CJ → Salesforce
- 01
The Lead or Contact identity never reaches CJ
The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths.
- 02
Commissioning rules fed the wrong inputs
A new-customer rate applied to returning customers because the status flag was never wired is a direct overpayment on every affected order, compounding quietly until somebody audits the programme.
- 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.
CJ → Salesforce · the fix
What working looks like — CJ → 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
CJ Affiliate's own records are the reference, not either dashboard.
CJ → Salesforce · architecture
How CJ and Salesforce actually connect
- 1
CJ Affiliate holds the truth
Rules commonly commission new customers differently from returning ones. If your order does not carry customer status correctly, publishers are paid the wrong rate systematically and neither side notices for months.
- 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 CJ transaction.
- 4
The event source decides reliability
Send orders net of commission, carrying the fields the commissioning rules depend on.
- 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.
CJ → Salesforce · normal or broken
Working vs. broken, side by side — CJ → Salesforce
Normal, not a fault
The Lead or Contact identity present on the conversion
Visible on the record itself in CJ Affiliate, not merely captured somewhere on the site.
Sent from your order record with CJ 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
Salesforce's count and CJ Affiliate's records agree within a few percent over a closed window.
Actually broken
The Lead or Contact identity missing on most records
The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths.
Sent from the browser
A new-customer rate applied to returning customers because the status flag was never wired is a direct overpayment on every affected order, compounding quietly until somebody audits the programme.
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
The dashboard shows a number and no one has compared it to CJ Affiliate.
CJ → Salesforce · diagnose
Diagnostic order — CJ → Salesforce
- 01
Count conversions carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
From the ad click through CJ and into Salesforce.
- 03
Verify that new-versus-returning status reaches CJ correctly
Sample recent transactions and compare against your own customer records. Mismatches are money.
- 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.
CJ → Salesforce · prove
How it gets proven — CJ → Salesforce
Against CJ Affiliate's own records, not against either platform's dashboard.
Source of truth
Orders flagged by publisher, with the commissioning inputs recorded on the order.
- The Lead or Contact identity confirmed present on a live conversion.
- A real conversion followed from click through CJ to Salesforce.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Transactions reconciled per order with commissioning inputs verified against your own customer data.
CJ → 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
- Verify that new-versus-returning status reaches CJ correctly
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Orders flagged by publisher, with the commissioning inputs recorded on the order.
Free30 minutesNo obligation
CJ → Salesforce · when not to buy
When you don't need this — CJ → Salesforce
- If Salesforce already reports conversions that reconcile against CJ Affiliate's records within a few percent, this join is working and there is nothing to buy.
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the Lead or Contact identity.
- Simple flat-rate programmes have no commissioning inputs to get wrong.
- 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.
CJ → Salesforce · what we deliver
What gets built — CJ → Salesforce
Identifier capture into CJ
Capture the identifier and the customer status on the order, and verify both across every checkout path you operate.
Event source: your order record with CJ attribution
Send orders net of commission, carrying the fields the commissioning rules depend on.
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 reverse the commission.
Written guarantee
95%+ tracking accuracy
Measured against Orders flagged by publisher, with the commissioning inputs recorded on the order.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
CJ → Salesforce questions, answered
Only if the closed deal is reported back to CJ with the original publisher identifier, which means storing it on the Lead and carrying it to the Opportunity. Confirm how your CJ account handles offline or delayed transactions.
Lead field mapping to Contact, Account and Opportunity is configured separately, and unmapped custom fields do not carry over. Add the mapping and test with a real conversion.
Almost always because the Lead or Contact identity never reached the CJ transaction. The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths. 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 CJ attribution. Send orders net of commission, carrying the fields the commissioning rules depend on.
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 CJ → Salesforce
- CJ → Marketing CloudConnecting CJ Affiliate to Salesforce Marketing Cloud
- CJ → Google AdsConnecting CJ Affiliate to Google Ads
- CJ → MetaConnecting CJ Affiliate to Meta Conversions API
RELATED GUIDES
Where CJ → Salesforce fits in the rest of your tracking
- Rakuten Advertising → SalesforceConnecting Rakuten Advertising to Salesforce
- LeadDyno → SalesforceConnecting LeadDyno to Salesforce
- FirstPromoter → SalesforceConnecting FirstPromoter to Salesforce
- CJ → MarketoConnecting CJ Affiliate to Marketo
- CJ → 6senseConnecting CJ Affiliate to 6sense
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- ShareASale → SalesforceConnecting ShareASale to Salesforce
- Post Affiliate Pro → SalesforceConnecting Post Affiliate Pro to Salesforce
Free · 30 min
Get CJ and Salesforce joined properly
Free30 minutesNo obligation
