Connecting Ecwid to Salesforce Marketing Cloud
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. Marketing Cloud is a different product from Salesforce CRM with a different identity model, which catches out almost everyone who assumes a contact in one is a contact in the other. The join between them succeeds or fails on one thing: whether the Subscriber Key reaches the Ecwid order before the conversion happens, because Marketing Cloud can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Ecwid orders into a Marketing Cloud data extension, once each
Each paid Ecwid order becomes one row in the data extension your post-purchase journey watches, keyed on Subscriber Key, with an email-to-key lookup for guest checkouts. Ecwid's webhook fires on every order change, so insert only on the transition to paid and reject repeats for the same Ecwid order ID. Carry the checkout marketing opt-in into the row.
For Marketing Cloud, an Ecwid order is a row in the data extension your post-purchase journey watches, keyed on whatever your org uses as Subscriber Key. Ecwid gives you two candidates: the order email, which every order has, and the Ecwid customer ID, which only exists when the shopper created an account. Guest checkouts are common in embedded stores, so unless Subscriber Key is the email, a lookup from email to key is needed before the insert.
Ecwid's order webhook fires on changes to an order, not once per order. A single purchase can generate several updates as payment and fulfillment status move, and an integration that inserts a row on every update will enter the customer into the journey repeatedly. Insert only on the transition to paid, keyed so a repeat insert for the same Ecwid order ID is rejected, and send fulfillment updates to a separate data extension if a shipping journey needs them.
Consent comes from Ecwid's own checkout. If the store shows a marketing opt-in at checkout, carry that answer into the row and make the journey's entry criteria check it; a transactional order confirmation can go to everyone, a cross-sell sequence cannot. Refunds and cancellations should update the row so a review request or cross-sell does not go to someone whose order was cancelled.
Ecwid → Marketing Cloud · what breaks
Why this join usually fails — Ecwid → Marketing Cloud
- 01
The Subscriber Key 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
Two identity models treated as one
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
- 04
Nothing reconciles afterwards
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
Ecwid → Marketing Cloud · the fix
What working looks like — Ecwid → Marketing Cloud
The Subscriber Key on every order
Conversions arriving in Marketing Cloud
The record lands in the data extension, the journey's entry criteria evaluate on its schedule, and sends follow.
Reconciled against the source
Ecwid → Marketing Cloud · architecture
How Ecwid and Marketing Cloud 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 Marketing Cloud needs a click to match
The Subscriber Key, the data extension the journey listens to, and the fields its decision splits reference. An event landing in the wrong data extension will be stored correctly and trigger nothing.
- 3
The identifier is the bridge
The Subscriber Key, 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
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
Ecwid → Marketing Cloud · normal or broken
Working vs. broken, side by side — Ecwid → Marketing Cloud
Normal, not a fault
The Subscriber Key present on the order
Sent from the Ecwid order webhook
Deduplicated correctly
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
Reconciles with the source
Actually broken
The Subscriber Key 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
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
Nobody has reconciled it
Ecwid → Marketing Cloud · diagnose
Diagnostic order — Ecwid → Marketing Cloud
- 01
Count orders carrying the Subscriber Key
- 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
Confirm what Subscriber Key is actually set to in this org
Before sending anything. It is a configuration decision made once, often years ago, and every integration built afterwards inherits it.
- 05
Read the match rate, not the success message
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
Ecwid → Marketing Cloud · prove
How it gets proven — Ecwid → Marketing Cloud
Source of truth
Ecwid's order list for the same window, in the store's currency and timezone.
- The Subscriber Key confirmed present on a live order.
- Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
- A purchase completed through the embedded widget, confirmed to report with the identifier attached.
Ecwid → Marketing Cloud · free audit
What we check in the free audit
- Count orders carrying the Subscriber Key
- Follow one real conversion end to end
- Open a recent Ecwid order and check its extra fields
- Confirm what Subscriber Key is actually set to in this org
- 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 → Marketing Cloud · when not to buy
When you don't need this — Ecwid → Marketing Cloud
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Subscriber Key.
- 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 you are on Salesforce CRM but sending email through a simpler platform, adding Marketing Cloud brings an identity model to reconcile that you currently do not have to think about.
Ecwid → Marketing Cloud · what we deliver
What gets built — Ecwid → Marketing Cloud
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 Marketing Cloud
A server-side insert into the data extension the journey is configured against, keyed on Subscriber Key.
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 → Marketing Cloud questions, answered
Ecwid sends order webhooks on every status change, and each one is being inserted. Insert only when the order becomes paid and reject repeats on the Ecwid order ID.
Whatever your org already uses. If that is not email, look up the existing key by the order email before inserting, so guests do not become second subscribers.
Almost always because the Subscriber Key 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.
Marketing Cloud identifies people by Subscriber Key, which you define. It is not the CRM Contact ID unless somebody deliberately made it so, and in many orgs the two are unrelated. Sending an event keyed on the wrong one creates a second subscriber rather than updating the first, which splits the person across two journeys.
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 subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
More on Ecwid → Marketing Cloud
- Stripe → Marketing CloudConnecting Stripe to Salesforce Marketing Cloud
- PayPal → Marketing CloudConnecting PayPal to Salesforce Marketing Cloud
- Shopify → Marketing CloudConnecting Shopify to Salesforce Marketing Cloud
RELATED GUIDES
Where Ecwid → Marketing Cloud fits in the rest of your tracking
- Checkout Extensibility → Marketing CloudConnecting Shopify Checkout Extensibility to Salesforce Marketing Cloud
- Swell → Marketing CloudConnecting Swell to Salesforce Marketing Cloud
- Braintree → Marketing CloudConnecting Braintree to Salesforce Marketing Cloud
- Ecwid → Customer.ioConnecting Ecwid to Customer.io
- Ecwid → AttentiveConnecting Ecwid to Attentive
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- PrestaShop → Marketing CloudConnecting PrestaShop to Salesforce Marketing Cloud
- Shopify POS → Marketing CloudConnecting Shopify POS to Salesforce Marketing Cloud
Free · 30 min
Get Ecwid and Marketing Cloud joined properly
Free30 minutesNo obligation
