Skip to main content
Ecwid → Customer.ioIntegration guide

Connecting Ecwid to Customer.io

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. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the Ecwid order before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Ecwid webhooks into Customer.io: send paid once, not every update

Ecwid sends several webhooks per order, so store the last status processed and send a purchase event to Customer.io's Track API only when payment first moves to paid. Key it on the person ID your workspace uses, usually the lowercased order email, and include product names, totals and coupon. Decide whether Ecwid or Customer.io owns each email.

Ecwid notifies your server of order changes through webhooks, and one order generates several: created, then updated as payment and fulfillment statuses change. Map each of those straight to a Customer.io event and a customer can enter the post-purchase workflow three times for one order, receiving three thank-you emails within an hour.

Store the last status you processed for each Ecwid order, and send a purchase event to the Track API only when payment status moves to paid for the first time. Key it on the person ID your workspace uses, usually the email from the order, lowercased, because Ecwid keeps the case the customer typed and Customer.io may treat a capitalized address as a new person. Include product names, totals and the coupon used as event attributes so workflow conditions have what they reference.

Then decide which tool owns which emails. Ecwid sends its own order confirmations and, depending on plan, abandoned-cart reminders. Leaving Ecwid's on while building the same messages in Customer.io doubles every email. Usually Ecwid keeps the transactional receipt and Customer.io takes the behavioral follow-ups. Test the whole flow against a separate workspace with real webhook payloads before pointing it at production.

Ecwid → Customer.io · what breaks

Why this join usually fails — Ecwid → Customer.io

  1. 01

    The person identifier you assign 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.

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

  3. 03

    A test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

Ecwid → Customer.io · the fix

What working looks like — Ecwid → Customer.io

  • The person identifier you assign on every order

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

Ecwid → Customer.io · architecture

How Ecwid and Customer.io actually connect

  1. 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. 2

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, captured at the visit and carried into the Ecwid order.

  4. 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. 5

    Deduplication at the destination

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

Ecwid → Customer.io · normal or broken

Working vs. broken, side by side — Ecwid → Customer.io

Normal, not a fault

  • The person identifier you assign present on the order

  • Sent from the Ecwid order webhook

  • Deduplicated correctly

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

Actually broken

  • The person identifier you assign 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

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

Ecwid → Customer.io · diagnose

Diagnostic order — Ecwid → Customer.io

  1. 01

    Count orders carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

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

  4. 04

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

Ecwid → Customer.io · prove

How it gets proven — Ecwid → Customer.io

Source of truth

Ecwid's order list for the same window, in the store's currency and timezone.

  • The person identifier you assign confirmed present on a live order.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • A purchase completed through the embedded widget, confirmed to report with the identifier attached.

Ecwid → Customer.io · free audit

What we check in the free audit

  • Count orders carrying the person identifier you assign
  • Follow one real conversion end to end
  • Open a recent Ecwid order and check its extra fields
  • Confirm which workspace you are writing to before sending anything
  • 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.

Get my free conversion tracking audit

Free30 minutesNo obligation

Ecwid → Customer.io · when not to buy

When you don't need this — Ecwid → Customer.io

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the person identifier you assign.
  • 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 messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

Ecwid → Customer.io · what we deliver

What gets built — Ecwid → Customer.io

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

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

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

Get my free conversion tracking audit

From $400 · See packages

FAQ

Ecwid → Customer.io questions, answered

Ecwid sends several webhooks per order as statuses change. Send the purchase event only on the first transition to paid, and turn off overlapping Ecwid emails.

Free · 30 min

Get Ecwid and Customer.io joined properly

Free30 minutesNo obligation