Skip to main content
CartStack → SalesforceIntegration guide

Connecting CartStack to Salesforce

CartStack recovers abandoned carts and abandoned browsing sessions, which means it can claim orders from visitors who never added anything to a cart at all. 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 CartStack recovered 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

CartStack to Salesforce: only worth it for B2B or wholesale carts

Abandoned carts belong in Salesforce only for B2B or wholesale stores whose reps follow up. Write to the existing Contact matched on email, not a new Lead per cart, with fields for last abandoned cart value, last recovery sent, recovered flag, original UTM and click ID. Test duplicate rules, and route high-value carts to reps instead of CartStack.

For a typical consumer store, abandoned carts don't belong in Salesforce. Each one would become a Lead that sales never works, and the duplicates would pile up against the Contacts created by real orders. The case that makes sense is a B2B or wholesale storefront where account reps follow up on large abandoned carts. There, a cart above a set value is a signal a rep should act on, and a recovered order is something the account history should show.

If that's your situation, write to the existing Contact, matched on email, instead of creating a new Lead per cart. Add custom fields for last abandoned cart value, last recovery sent and recovered order flag. Store the original UTM source and any click ID on the same record. The dangerous part is matching. If your org's duplicate rules don't match on email, every recovery event creates a new Lead, and the account history ends up split across records. Test with a known customer and open the record to check.

Decide who owns the follow-up. If CartStack emails the buyer while a rep also calls them about the same cart, the customer gets two chases and both get credit. A simple rule: carts above a threshold go to the rep and are excluded from automated recovery. Check whether CartStack supports that kind of exclusion before you design the flow around it.

CartStack → Salesforce · what breaks

Why this join usually fails — CartStack → Salesforce

  1. 01

    The Lead or Contact identity never reaches CartStack

    Recovery emails are opened days later on other devices, arriving as fresh sessions.

  2. 02

    Browse abandonment claiming credit for the original visit

    Recovering a browser who never added to cart means claiming an order from someone your advertising brought and your email finished. Both contributed, and only one gets reported without persistence.

  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.

CartStack → Salesforce · the fix

What working looks like — CartStack → Salesforce

  • The Lead or Contact identity on every recovery

  • 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

CartStack → Salesforce · architecture

How CartStack and Salesforce actually connect

  1. 1

    CartStack holds the truth

    Browse abandonment recovery reaches people who looked and left. Attributing their eventual purchase entirely to the recovery email ignores whatever brought them the first time.

  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 CartStack recovered order.

  4. 4

    The event source decides reliability

    Send orders with a flag for recovered versus first-pass, so both channels are visible.

  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.

CartStack → Salesforce · normal or broken

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

Normal, not a fault

  • The Lead or Contact identity present on the recovery

  • Sent from your order record with recovery 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

    Recovery emails are opened days later on other devices, arriving as fresh sessions.

  • Sent from the browser

    Recovering a browser who never added to cart means claiming an order from someone your advertising brought and your email finished. Both contributed, and only one gets reported without persistence.

  • 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

CartStack → Salesforce · diagnose

Diagnostic order — CartStack → Salesforce

  1. 01

    Count recoverys carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether recovered orders retain their original acquisition source

    If they show as email or direct, paid is undercounted by your recovery rate.

  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.

CartStack → Salesforce · prove

How it gets proven — CartStack → Salesforce

Source of truth

Store orders flagged by whether a recovery message preceded them.

  • The Lead or Contact identity confirmed present on a live recovery.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Orders reconciled with recovery flagged and original source retained.

CartStack → Salesforce · free audit

What we check in the free audit

  • Count recoverys carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Check whether recovered orders retain their original acquisition source
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Store orders flagged by whether a recovery message preceded them.

Get my free conversion tracking audit

Free30 minutesNo obligation

CartStack → Salesforce · when not to buy

When you don't need this — CartStack → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred recoverys and count how many carry the Lead or Contact identity.
  • No recovery programme means no double-claim and this is an ordinary store integration.
  • 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.

CartStack → Salesforce · what we deliver

What gets built — CartStack → Salesforce

  • Identifier capture into CartStack

    Persist the identifier against the abandoned session so a recovered order still resolves to the original source.

  • Event source: your order record with recovery attribution

    Send orders with a flag for recovered versus first-pass, so both channels are visible.

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

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by whether a recovery message preceded them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CartStack → Salesforce questions, answered

Usually not for consumer stores. For B2B or wholesale stores, write cart and recovery data to the existing Contact, matched on email, instead of creating a new Lead per cart.

Free · 30 min

Get CartStack and Salesforce joined properly

Free30 minutesNo obligation