Skip to main content
Ecwid → MetaIntegration guide

Connecting Ecwid to Meta Conversions API

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. Meta's pixel loses a large share of conversions to Safari, ad blockers and iOS, and the Conversions API exists because of it. The join between them succeeds or fails on one thing: whether the fbc and fbp values reaches the Ecwid order before the conversion happens, because Meta can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Ecwid to Meta CAPI: one Purchase, from widget, host or server

An Ecwid order can reach Meta three times: Ecwid's built-in pixel, a host-site pixel and your server. Keep one browser Purchase, and send the server Purchase from Ecwid's paid-order webhook with the Ecwid order number as event_id on both copies. Write _fbc and _fbp into an order extra field and include hashed email and phone from the order.

Ecwid has a Meta pixel setting of its own, and many host sites carry a second Meta pixel through a WordPress plugin or Wix's marketing settings. Add a server event from the order webhook and the same order can reach Meta three times, while only two of them can share an event_id. Decide where the browser Purchase comes from, remove it from the other place, and check in Events Manager that each order arrives once.

Send Purchase from the Ecwid order webhook when the order is paid, with the Ecwid order number as event_id. The browser copy has to use the same value; check what event ID Ecwid's built-in pixel sends, and if you cannot control it, turn off the built-in Purchase and fire it from the host page with the order number. Hashed email and phone from the order give Meta a strong match even when the cookies are missing.

fbclid arrives on the host page URL. Read _fbc and _fbp there and write them into an order extra field so the server event carries them, otherwise the server Purchase depends entirely on customer data. Meta has no way to retract a Purchase, so Ecwid cancellations and refunds stay in your own reconciliation: compare Meta-reported purchase value with Ecwid's paid-minus-refunded total for the same window.

Ecwid → Meta · what breaks

Why this join usually fails — Ecwid → Meta

  1. 01

    The fbc and fbp values 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

    Double counting from broken deduplication

    Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.

  4. 04

    Nothing reconciles afterwards

    Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.

Ecwid → Meta · the fix

What working looks like — Ecwid → Meta

  • The fbc and fbp values on every order

  • Conversions arriving in Meta

    Events appear in Events Manager with an Event Match Quality score, deduplicated against the pixel, and become usable for optimization and attribution.

  • Reconciled against the source

Ecwid → Meta · architecture

How Ecwid and Meta 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

    Meta Conversions API needs a click to match

    Meta matches server events to people using whatever identifiers you send, hashed with SHA-256 where required. There is no single mandatory key, which is why quality varies so much between implementations — a poorly matched event is accepted, reported, and worth much less than it appears.

  3. 3

    The identifier is the bridge

    The fbc and fbp values, 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

    Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.

Ecwid → Meta · normal or broken

Working vs. broken, side by side — Ecwid → Meta

Normal, not a fault

  • The fbc and fbp values present on the order

  • Sent from the Ecwid order webhook

  • Deduplicated correctly

    Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.

  • Reconciles with the source

Actually broken

  • The fbc and fbp values 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

    Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.

  • Nobody has reconciled it

Ecwid → Meta · diagnose

Diagnostic order — Ecwid → Meta

  1. 01

    Count orders carrying the fbc and fbp values

  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

    Read Event Match Quality and the deduplication indicator

    In Events Manager, open the event and check both. A low match quality means weak identifiers; a missing deduplication indicator means your event_id pairing is broken.

  5. 05

    Read the match rate, not the success message

    Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.

Ecwid → Meta · prove

How it gets proven — Ecwid → Meta

Source of truth

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

  • The fbc and fbp values confirmed present on a live order.
  • Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
  • A purchase completed through the embedded widget, confirmed to report with the identifier attached.

Ecwid → Meta · free audit

What we check in the free audit

  • Count orders carrying the fbc and fbp values
  • Follow one real conversion end to end
  • Open a recent Ecwid order and check its extra fields
  • Read Event Match Quality and the deduplication indicator
  • 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 → Meta · when not to buy

When you don't need this — Ecwid → Meta

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the fbc and fbp values.
  • 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 not running Meta ads at meaningful spend, the Conversions API is effort without payoff. It earns its cost when the optimization signal is worth improving.

Ecwid → Meta · what we deliver

What gets built — Ecwid → Meta

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

    Server-side events to the Conversions API with the event_id matched to the pixel, action_source set correctly, and customer data hashed before it leaves your infrastructure.

  • 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 → Meta questions, answered

Yes, if both send Purchase. Meta can only deduplicate copies that share an event_id, so keep one browser Purchase and match it to the server event.

Free · 30 min

Get Ecwid and Meta joined properly

Free30 minutesNo obligation