Skip to main content
Ecwid → SnowflakeIntegration guide

Connecting Ecwid to Snowflake

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. Snowflake's distinguishing feature is that two organisations can join data without either copying it to the other, which turns measurement between partners from a legal negotiation into a query. The join between them succeeds or fails on one thing: whether whatever join key both parties agree on, usually a hashed identifier reaches the Ecwid order before the conversion happens, because Snowflake can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Loading Ecwid orders into Snowflake as the reference table

Load Ecwid orders into Snowflake two ways: a scheduled REST API pull for completeness and the order webhook for near-real-time rows, keeping raw order JSON beside parsed columns. Orders get edited and refunded, so keep a history table keyed on Ecwid order ID plus updated timestamp, report from the latest version, and parse click IDs from extra fields.

Snowflake is where Ecwid orders can finally sit next to the data the host site never had: ad spend, analytics sessions and email activity. Load from two directions. A scheduled pull from Ecwid's REST API keeps a complete table of orders and catches anything a webhook missed, and the order webhook gives you near-real-time rows. Store the raw order JSON alongside the parsed columns, because Ecwid orders carry nested items, discounts, shipping options and the extra fields where your click identifiers live.

Ecwid orders are not immutable. Merchants edit orders in the admin, add items, change shipping and issue partial refunds, and the API returns the current version. Keep a history table keyed on the Ecwid order ID and the updated timestamp, and build reporting from the latest version, so revenue reflects refunds instead of the original basket. Webhooks can repeat, so deduplicate on order ID plus updated time.

Decide timezone and currency once. Ecwid's admin reports in the store's timezone while API timestamps should be treated as UTC, and a day-level reconciliation that mixes the two will be off at every boundary. The same applies to the extra fields: they arrive as free-form name and value pairs, so parse the click identifiers into proper columns at load time and check how many orders carry each one.

Ecwid → Snowflake · what breaks

Why this join usually fails — Ecwid → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier 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 clean room that answers a question nobody agreed on

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  4. 04

    Nothing reconciles afterwards

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

Ecwid → Snowflake · the fix

What working looks like — Ecwid → Snowflake

  • Whatever join key both parties agree on, usually a hashed identifier on every order

  • Conversions arriving in Snowflake

    The row lands in a table you own, joinable to your own data and — through a share or clean room — to a partner's, without either party moving raw records.

  • Reconciled against the source

Ecwid → Snowflake · architecture

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

    Snowflake needs a click to match

    A schema both sides agree on, consistent types, and identifiers normalised identically before hashing. The failure mode is not rejection but silent divergence — a timestamp in the wrong zone or a trimmed-versus-untrimmed email produces answers that look plausible.

  3. 3

    The identifier is the bridge

    Whatever join key both parties agree on, usually a hashed identifier, 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

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

Ecwid → Snowflake · normal or broken

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

Normal, not a fault

  • Whatever join key both parties agree on, usually a hashed identifier present on the order

  • Sent from the Ecwid order webhook

  • Deduplicated correctly

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

  • Reconciles with the source

Actually broken

  • Whatever join key both parties agree on, usually a hashed identifier 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

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  • Nobody has reconciled it

Ecwid → Snowflake · diagnose

Diagnostic order — Ecwid → Snowflake

  1. 01

    Count orders carrying whatever join key both parties agree on, usually a hashed identifier

  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

    Write down both parties' conversion definitions before writing any query

    Definition mismatch, not technology, is what makes most partner measurement projects produce numbers neither side trusts.

  5. 05

    Read the match rate, not the success message

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

Ecwid → Snowflake · prove

How it gets proven — Ecwid → Snowflake

Source of truth

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

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live order.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • A purchase completed through the embedded widget, confirmed to report with the identifier attached.

Ecwid → Snowflake · free audit

What we check in the free audit

  • Count orders carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Open a recent Ecwid order and check its extra fields
  • Write down both parties' conversion definitions before writing any query
  • 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 → Snowflake · when not to buy

When you don't need this — Ecwid → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • 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 have no partner to share data with and one cloud, a warehouse you already run does the same job. The sharing capability is what justifies this one.

Ecwid → Snowflake · what we deliver

What gets built — Ecwid → Snowflake

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

    Batch or streaming loads from your order system, with the raw event retained alongside anything you derive from it.

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

Re-pull orders that changed and keep each version keyed on order ID and updated time. Report from the latest version so partial refunds reduce revenue.

Free · 30 min

Get Ecwid and Snowflake joined properly

Free30 minutesNo obligation