Connecting Shopify to Snowflake
Shopify is the system of record for the order, and its admin numbers are the ones the business runs on. 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 Shopify 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
Shopify orders, refunds and click IDs into Snowflake as raw rows
Load Shopify orders, line items, refunds, transactions and customers into Snowflake through an ELT connector or bulk export, keeping each order's raw JSON and note attributes, where your click IDs live. Decide whether to merge on order ID or keep history, compute revenue with refunds as their own table, keep both currency amounts, and reconcile row counts against Shopify Admin.
Snowflake is where Shopify's own records can be reconciled against every ad platform at once, which no single destination can do. Load orders, line items, refunds, transactions and customers through an ELT connector or Shopify's bulk export, and keep the raw JSON of each order, including the note attributes where your click IDs are stored. Those attributes are what let a query match an order to the gclid, fbc, ttclid or affiliate ID that drove it.
Shopify data changes after the fact: an order is edited, partially refunded, fulfilled and tagged, and each change bumps its updated timestamp. A loader that appends on change produces several rows per order; one that merges on order ID keeps only the latest and loses history. Decide which you need, and compute revenue with refunds as their own table rather than from the order's current total. Keep shop-currency and presentment-currency amounts both, clearly labeled.
The clean-room use is narrower than people expect: a retail or media partner joins on hashed email, and Shopify's email is customer-typed, so normalize before hashing on both sides. Reconcile row counts against Shopify Admin for a closed day before anyone builds on it; test orders, archived orders, POS orders and the store's timezone on the day boundary are the usual mismatches.
Shopify → Snowflake · what breaks
Why this join usually fails — Shopify → Snowflake
- 01
Whatever join key both parties agree on, usually a hashed identifier never reaches Shopify
Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself.
- 02
Checkout extensibility hides what you need
Shopify deliberately restricts what runs during checkout. Setups that assumed free rein there broke when the platform moved to Checkout Extensibility, and many stores have been quietly under-reporting since.
- 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.
- 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.
Shopify → Snowflake · the fix
What working looks like — Shopify → 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
Shopify → Snowflake · architecture
How Shopify and Snowflake actually connect
- 1
Shopify holds the truth
The order carries line items, discounts, shipping, tax, currency and the customer. Note which figure you intend to report — total, subtotal, or net of shipping and tax — because most mismatches between Shopify and an ad platform turn out to be two people comparing two different numbers.
- 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
The identifier is the bridge
Whatever join key both parties agree on, usually a hashed identifier, captured at the visit and carried into the Shopify order.
- 4
The event source decides reliability
Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.
- 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.
Shopify → Snowflake · normal or broken
Working vs. broken, side by side — Shopify → Snowflake
Normal, not a fault
Whatever join key both parties agree on, usually a hashed identifier present on the order
Sent from the orders/paid 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
Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself.
Sent from the browser
Shopify deliberately restricts what runs during checkout. Setups that assumed free rein there broke when the platform moved to Checkout Extensibility, and many stores have been quietly under-reporting since.
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
Shopify → Snowflake · diagnose
Diagnostic order — Shopify → Snowflake
- 01
Count orders carrying whatever join key both parties agree on, usually a hashed identifier
- 02
Follow one real conversion end to end
- 03
Open a recent paid order and read its note attributes
If the identifier is not on the order, nothing downstream can attribute it. Check ten orders, not one — partial coverage is the normal failure, not total absence.
- 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.
- 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.
Shopify → Snowflake · prove
How it gets proven — Shopify → Snowflake
Source of truth
Shopify Admin → Orders, for the same window, in the same currency and on the same 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.
- Order totals in Shopify Admin reconciled per order, not on the summed total, over a closed window.
Shopify → 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 paid order and read its note attributes
- Write down both parties' conversion definitions before writing any query
- Read the match rate, not the success message
Checked against
Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.
Free30 minutesNo obligation
Shopify → Snowflake · when not to buy
When you don't need this — Shopify → 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.
- Shopify's own native channel integrations already cover simple single-currency stores adequately. If your admin numbers and platform numbers already agree, you do not need this.
- 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.
Shopify → Snowflake · what we deliver
What gets built — Shopify → Snowflake
Identifier capture into Shopify
Capture the click identifier on the storefront, write it to a cart attribute so it becomes an order note attribute, and read it back server-side from the order. That path survives the checkout domain hop that breaks cookie-based approaches.
Event source: the orders/paid webhook
Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.
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
refunds/create fires with the original order reference, so refunds and cancellations can be reversed at the destination.
Written guarantee
95%+ tracking accuracy
Measured against Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Shopify → Snowflake questions, answered
An ELT connector or Shopify's bulk export, loading raw orders, refunds and customers on a schedule. Keep raw order JSON so note attributes and click IDs stay queryable.
Duplicate rows from order updates, refunds netted differently, test or POS orders included, or a timezone mismatch at the day boundary. Check each against a closed day.
Almost always because whatever join key both parties agree on, usually a hashed identifier never reached the Shopify order. Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself. Measure coverage before debugging the dispatch.
There is no vendor identifier. In a data share or clean room the key is negotiated: hashed email, order ID, a partner-supplied ID. Normalisation before hashing is the entire match rate, and a formatting difference between two organisations looks exactly like a poor-performing partnership.
The orders/paid webhook. Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.
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.
More on Shopify → Snowflake
- Shopify POS → SnowflakeConnecting Shopify POS to Snowflake
- Checkout Extensibility → SnowflakeConnecting Shopify Checkout Extensibility to Snowflake
- Shopify → HubSpotConnecting Shopify to HubSpot
RELATED GUIDES
Where Shopify → Snowflake fits in the rest of your tracking
- Magento → SnowflakeConnecting Magento to Snowflake
- Wix → SnowflakeConnecting Wix Stores to Snowflake
- WooCommerce Subscriptions → SnowflakeConnecting WooCommerce Subscriptions to Snowflake
- Shopify → BigQueryConnecting Shopify to BigQuery
- Shopify → SegmentConnecting Shopify to Segment
- Jewelry ecommerceConversion tracking for jewelry ecommerce, measured in settled orders
- Braintree → SnowflakeConnecting Braintree to Snowflake
- OpenCart → SnowflakeConnecting OpenCart to Snowflake
Free · 30 min
Get Shopify and Snowflake joined properly
Free30 minutesNo obligation
