Skip to main content
Checkout Extensibility → SalesforceIntegration guide

Connecting Shopify Checkout Extensibility to Salesforce

Shopify replaced checkout.liquid with a sandboxed extension model, and the thank-you page — where nearly every store put its conversion tracking — was the last thing to go. 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 Shopify 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

Shopify orders into Salesforce: B2B and wholesale, not every order

Send only sales-relationship orders, such as wholesale or B2B, to Salesforce. Capture click IDs and UTMs into cart attributes so the orders/create webhook delivers them as note attributes, then write them onto the Order or Opportunity with the Shopify order ID as external ID, matching buyers on a stored Shopify customer ID rather than email. Avoid two writers.

Shopify orders belong in Salesforce when there is a sales relationship behind them: wholesale accounts, B2B buyers ordering through Shopify's B2B features, or high-value customers an account team manages. Pushing every retail order in usually means duplicate Contacts and a CRM nobody trusts. Decide which orders qualify before anything is built.

The checkout upgrade matters here only indirectly: any attribution you used to read from the thank-you page now has to come from the order itself. Capture click IDs and UTMs into cart attributes at landing, so the orders/create webhook delivers them as note attributes, then write them onto the Salesforce Order or Opportunity with the Shopify order ID as an external ID. Match the buyer on a Shopify customer ID stored on the Contact, not on email; B2B buyers order from shared inboxes and several colleagues.

Check whether a Shopify connector from the AppExchange or a middleware tool already writes orders; two writers to the same objects cause overwrites that look like data loss. Refunds and cancellations should update the order record rather than reverse an Opportunity stage. Then open a record in the UI to confirm validation rules did not silently reject the attribution fields.

Checkout Extensibility → Salesforce · what breaks

Why this join usually fails — Checkout Extensibility → Salesforce

  1. 01

    The Lead or Contact identity never reaches Checkout Extensibility

    Custom scripts can no longer run on checkout or the thank-you page. Client-side conversion tags placed there are not blocked — they are simply never loaded.

  2. 02

    Conversion tracking that silently stopped

    This is the single most common live tracking failure on Shopify right now. Nothing errors. The tag simply never runs, revenue keeps arriving, and the ad platform reports a collapse that looks like a market problem.

  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.

Checkout Extensibility → Salesforce · the fix

What working looks like — Checkout Extensibility → 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

    Shopify Checkout Extensibility's own records are the reference, not either dashboard.

Checkout Extensibility → Salesforce · architecture

How Checkout Extensibility and Salesforce actually connect

  1. 1

    Shopify Checkout Extensibility holds the truth

    Additional Scripts and script tags on the order status page are gone. Any tracking that lived there has already stopped firing or will, and the store owner usually finds out from a revenue report rather than an error.

  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 Shopify order.

  4. 4

    The event source decides reliability

    Send orders from the webhook at the paid total. Web Pixels are the supported browser-side path and they run sandboxed, with no access to the page.

  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.

Checkout Extensibility → Salesforce · normal or broken

Working vs. broken, side by side — Checkout Extensibility → Salesforce

Normal, not a fault

  • The Lead or Contact identity present on the order

    Visible on the record itself in Shopify Checkout Extensibility, not merely captured somewhere on the site.

  • Sent from the Shopify order webhook, server-side

  • 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 Shopify Checkout Extensibility's records agree within a few percent over a closed window.

Actually broken

  • The Lead or Contact identity missing on most records

    Custom scripts can no longer run on checkout or the thank-you page. Client-side conversion tags placed there are not blocked — they are simply never loaded.

  • Sent from the browser

    This is the single most common live tracking failure on Shopify right now. Nothing errors. The tag simply never runs, revenue keeps arriving, and the ad platform reports a collapse that looks like a market problem.

  • 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 Shopify Checkout Extensibility.

Checkout Extensibility → Salesforce · diagnose

Diagnostic order — Checkout Extensibility → Salesforce

  1. 01

    Count orders carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare Shopify order count against platform-reported conversions for the last 60 days

    A sharp divergence with no change in actual sales is the signature. Check what was in Additional Scripts before assuming anything else.

  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.

Checkout Extensibility → Salesforce · prove

How it gets proven — Checkout Extensibility → Salesforce

Against Shopify Checkout Extensibility's own records, not against either platform's dashboard.

Source of truth

Shopify orders by creation date, read from the order record rather than from anything rendered on a page.

  • 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.
  • Orders reconciled from the webhook against imported conversions for a settled week, with no dependence on anything rendered at checkout.

Checkout Extensibility → 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 Shopify order count against platform-reported conversions for the last 60 days
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Shopify orders by creation date, read from the order record rather than from anything rendered on a page.

Get my free conversion tracking audit

Free30 minutesNo obligation

Checkout Extensibility → Salesforce · when not to buy

When you don't need this — Checkout Extensibility → Salesforce

  • If Salesforce already reports conversions that reconcile against Shopify Checkout Extensibility'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 orders and count how many carry the Lead or Contact identity.
  • If you were already sending conversions server-side from the order webhook, this migration does not affect your tracking at all — which is exactly why server-side was worth doing before it was forced.
  • 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.

Checkout Extensibility → Salesforce · what we deliver

What gets built — Checkout Extensibility → Salesforce

  • Identifier capture into Checkout Extensibility

    Capture the identifier on your own storefront, persist it into cart or order attributes, and send the conversion server-side from the order webhook rather than from any page.

  • Event source: the Shopify order webhook, server-side

    Send orders from the webhook at the paid total. Web Pixels are the supported browser-side path and they run sandboxed, with no access to the page.

  • 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 and cancellations reverse from their own webhooks.

Written guarantee

95%+ tracking accuracy

Measured against Shopify orders by creation date, read from the order record rather than from anything rendered on a page.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Checkout Extensibility → Salesforce questions, answered

From the order webhooks or an existing connector, with attribution read from note attributes set on the cart, not from the thank-you page.

Free · 30 min

Get Checkout Extensibility and Salesforce joined properly

Free30 minutesNo obligation