Connecting CartHook to Salesforce
CartHook does post-purchase one-click upsells specifically, which means every pound it adds arrives after the order was created and after any checkout-time conversion already fired. 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 CartHook post-purchase order 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
CartHook orders in Salesforce: worth it only for wholesale or B2B
Pushing every CartHook order into Salesforce only helps wholesale, B2B or service-led stores. Then write the settled order to a Person Account or Contact, with the upsell amount in a custom field, matching on email under duplicate rules and checking field-level security. The minimal version is a lifetime value field plus first-touch click identifiers from the Shopify order.
Most CartHook stores sell direct to consumers, and pushing every Shopify order into Salesforce as an Opportunity creates records nobody in sales will touch. The setup only makes sense if Salesforce already holds your customers. That could be a subscription brand with a service team, a store with wholesale accounts, or a business where high-value orders get a sales follow-up.
If that's you, write the settled order to Salesforce, not the checkout version. A Person Account or Contact gets the order. Store the upsell amount in a separate custom field so reps can see which customers take offers. Match on email under your org's duplicate rules, because a buyer who checked out as a guest and later filled in a wholesale form is the classic duplicate here. Field-level security that silently blocks the write is the next thing to check.
The minimal useful version is smaller: a customer-level field for lifetime order value including upsells, plus the first-touch click identifiers copied from the Shopify order. That gives sales context without an Opportunity per order, and the ad platforms still get conversions directly from Shopify.
CartHook → Salesforce · what breaks
Why this join usually fails — CartHook → Salesforce
- 01
The Lead or Contact identity never reaches CartHook
The offer runs after order creation, so anything that fired at checkout has already gone.
- 02
Upsell revenue that no campaign ever gets credit for
If the conversion fires at checkout, every pound the upsell adds is invisible. The campaigns bringing buyers most receptive to upsells look identical to those bringing the least receptive.
- 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.
CartHook → Salesforce · the fix
What working looks like — CartHook → Salesforce
The Lead or Contact identity on every order
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
CartHook → Salesforce · architecture
How CartHook and Salesforce actually connect
- 1
CartHook holds the truth
A one-click upsell charges the stored payment method and appends to the same order. The order total changes; the checkout total does not.
- 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 CartHook post-purchase order.
- 4
The event source decides reliability
Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.
- 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.
CartHook → Salesforce · normal or broken
Working vs. broken, side by side — CartHook → Salesforce
Normal, not a fault
The Lead or Contact identity present on the order
Sent from the Shopify order webhook
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 offer runs after order creation, so anything that fired at checkout has already gone.
Sent from the browser
If the conversion fires at checkout, every pound the upsell adds is invisible. The campaigns bringing buyers most receptive to upsells look identical to those bringing the least receptive.
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
CartHook → Salesforce · diagnose
Diagnostic order — CartHook → Salesforce
- 01
Count orders carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Compare checkout total against final settled total
The gap is the revenue your conversion reporting is currently discarding.
- 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.
CartHook → Salesforce · prove
How it gets proven — CartHook → Salesforce
Source of truth
The final Shopify order total after the post-purchase sequence completes.
- The Lead or Contact identity confirmed present on a live order.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Settled order totals reconciled against imported conversions for a closed week.
CartHook → Salesforce · free audit
What we check in the free audit
- Count orders carrying the Lead or Contact identity
- Follow one real conversion end to end
- Compare checkout total against final settled total
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
The final Shopify order total after the post-purchase sequence completes.
Free30 minutesNo obligation
CartHook → Salesforce · when not to buy
When you don't need this — CartHook → Salesforce
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Lead or Contact identity.
- Stores without post-purchase offers can report checkout value and the timing question does not arise.
- 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.
CartHook → Salesforce · what we deliver
What gets built — CartHook → Salesforce
Identifier capture into CartHook
Send the conversion from the order webhook once the post-purchase window closes, rather than at checkout.
Event source: the Shopify order webhook
Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.
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; an upsell-only refund should reduce rather than reverse the order.
Written guarantee
95%+ tracking accuracy
Measured against The final Shopify order total after the post-purchase sequence completes.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
CartHook → Salesforce questions, answered
Usually not for consumer orders. Update a customer-level record with settled order value, and create Opportunities only for wholesale or sales-assisted orders.
Write the settled Shopify order total after the post-purchase window, with the upsell amount in its own custom field on the customer or order record.
Almost always because the Lead or Contact identity never reached the CartHook post-purchase order. The offer runs after order creation, so anything that fired at checkout has already gone. 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.
The Shopify order webhook. Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.
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 CartHook → Salesforce
- CartHook → Marketing CloudConnecting CartHook to Salesforce Marketing Cloud
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
RELATED GUIDES
Where CartHook → Salesforce fits in the rest of your tracking
- ReConvert → SalesforceConnecting ReConvert to Salesforce
- Zipify OCU → SalesforceConnecting Zipify OneClickUpsell to Salesforce
- Rebuy → SalesforceConnecting Rebuy to Salesforce
- CartHook → MarketoConnecting CartHook to Marketo
- CartHook → 6senseConnecting CartHook to 6sense
- FashionConversion tracking for fashion brands, reported net of returns
- AfterSell → SalesforceConnecting AfterSell to Salesforce
Free · 30 min
Get CartHook and Salesforce joined properly
Free30 minutesNo obligation
