Connecting Ecwid to Salesforce
Ecwid is a store that embeds into someone else's website, which makes it the only ecommerce platform here where the checkout runs inside a widget on a page you do not fully control. 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 Ecwid 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
Ecwid to Salesforce: when web orders belong in the CRM
Ecwid belongs in Salesforce only for wholesale or B2B sellers whose reps manage accounts there. Match the order email to a Contact or Lead, store Ecwid's customer ID in an external ID field, write the paid order as a won Opportunity or Order, and copy click IDs from the order's extra fields onto custom fields so later deals trace back.
Ecwid into Salesforce makes sense for a narrow set of businesses: wholesale or B2B sellers whose reps manage accounts in Salesforce, and stores where a first web order starts a larger sales relationship. For a consumer store selling one-off items, a Salesforce record per buyer is overhead nobody uses.
Where it fits, the join is the order email to a Contact or Lead, with Ecwid's customer ID stored in an external ID field so repeat orders attach to the same record instead of creating a new Lead each time. Write the paid order as a won Opportunity, or to the Order object if your org uses it, and copy the click IDs from the order's extra fields onto custom fields, so a rep's later deal can be traced to the campaign that brought the first order. Check whether an off-the-shelf Ecwid connector maps extra fields at all; many map only standard order fields.
The specific failure: a guest checkout with a personal email from a business that already exists in Salesforce under a work email. Matching rules see a stranger, create a duplicate Lead, and the account owner never learns their customer ordered online. Decide in advance whether unmatched orders create Leads or wait in a queue for review.
Ecwid → Salesforce · what breaks
Why this join usually fails — Ecwid → Salesforce
- 01
The Lead or Contact identity never reaches Ecwid
The store runs inside an embedded widget, so the host page's scripts and the widget's own context are not the same environment. An identifier captured by the host page does not automatically reach the order, and a purchase inside the widget does not automatically fire the host page's tags.
- 02
A checkout inside somebody else's page
The host site and the store widget are two contexts. Tags installed on the host page routinely miss purchases entirely, and nobody notices because the site looks like it is working.
- 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.
Ecwid → Salesforce · the fix
What working looks like — Ecwid → 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
Ecwid → Salesforce · architecture
How Ecwid and Salesforce actually connect
- 1
Ecwid holds the truth
Ecwid is authoritative for the order. Because it embeds into WordPress, Wix, Squarespace and plain HTML sites alike, the surrounding page's own analytics frequently has no idea a purchase happened.
- 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 Ecwid order.
- 4
The event source decides reliability
Send from your server when Ecwid reports the order paid. The widget's own client-side events depend on the host page still being open and the embed having initialized correctly, neither of which is guaranteed.
- 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.
Ecwid → Salesforce · normal or broken
Working vs. broken, side by side — Ecwid → Salesforce
Normal, not a fault
The Lead or Contact identity present on the order
Sent from the Ecwid 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 store runs inside an embedded widget, so the host page's scripts and the widget's own context are not the same environment. An identifier captured by the host page does not automatically reach the order, and a purchase inside the widget does not automatically fire the host page's tags.
Sent from the browser
The host site and the store widget are two contexts. Tags installed on the host page routinely miss purchases entirely, and nobody notices because the site looks like it is working.
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
Ecwid → Salesforce · diagnose
Diagnostic order — Ecwid → Salesforce
- 01
Count orders carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Open a recent Ecwid order and check its extra fields
If the identifier is not on the order, the host page captured it and never passed it across the embed boundary.
- 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.
Ecwid → Salesforce · prove
How it gets proven — Ecwid → Salesforce
Source of truth
Ecwid's order list for the same window, in the store's currency and timezone.
- 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.
- A purchase completed through the embedded widget, confirmed to report with the identifier attached.
Ecwid → 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
- Open a recent Ecwid order and check its extra fields
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Ecwid's order list for the same window, in the store's currency and timezone.
Free30 minutesNo obligation
Ecwid → Salesforce · when not to buy
When you don't need this — Ecwid → Salesforce
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Lead or Contact identity.
- If your Ecwid store is a small add-on to a content site with modest volume, the native integrations may be adequate — measure the order volume before commissioning anything.
- 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.
Ecwid → Salesforce · what we deliver
What gets built — Ecwid → Salesforce
Identifier capture into Ecwid
Capture the click identifier on the host page and pass it into the Ecwid order through its order-extra-fields or the storefront API, so it lands on the order record rather than staying on the page.
Event source: the Ecwid order webhook
Send from your server when Ecwid reports the order paid. The widget's own client-side events depend on the host page still being open and the embed having initialized correctly, neither of which is guaranteed.
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
Ecwid records refunds and cancellations against the original order, so reversals can be wired properly.
Written guarantee
95%+ tracking accuracy
Measured against Ecwid's order list for the same window, in the store's currency and timezone.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Ecwid → Salesforce questions, answered
Yes, through a connector or your own webhook handler that writes Contacts and Opportunities or Orders. Check that it maps Ecwid extra fields if you need click IDs in Salesforce.
Store the Ecwid customer ID as an external ID and match on it first, then on email. Route unmatched orders to review rather than auto-creating Leads.
Almost always because the Lead or Contact identity never reached the Ecwid order. The store runs inside an embedded widget, so the host page's scripts and the widget's own context are not the same environment. An identifier captured by the host page does not automatically reach the order, and a purchase inside the widget does not automatically fire the host page's tags. 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 Ecwid order webhook. Send from your server when Ecwid reports the order paid. The widget's own client-side events depend on the host page still being open and the embed having initialized correctly, neither of which is guaranteed.
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 Ecwid → Salesforce
- Ecwid → Marketing CloudConnecting Ecwid to Salesforce Marketing Cloud
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
RELATED GUIDES
Where Ecwid → Salesforce fits in the rest of your tracking
- Wix → SalesforceConnecting Wix Stores to Salesforce
- Shopify POS → SalesforceConnecting Shopify POS to Salesforce
- Medusa → SalesforceConnecting Medusa to Salesforce
- Ecwid → HubSpotConnecting Ecwid to HubSpot
- Ecwid → MarketoConnecting Ecwid to Marketo
- SupplementsConversion tracking for supplement brands, built around subscription value
- WooCommerce → SalesforceConnecting WooCommerce to Salesforce
- nopCommerce → SalesforceConnecting nopCommerce to Salesforce
Free · 30 min
Get Ecwid and Salesforce joined properly
Free30 minutesNo obligation
