Skip to main content
Square Online → SnowflakeIntegration guide

Connecting Square Online to Snowflake

Square Online orders settle into the same Square account as the card taken at the counter, which is a genuine advantage: the online and in-person halves of the business are already denominated in one ledger. 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 Square Online 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

Square online and counter sales in Snowflake, labeled by channel

Load Square orders, payments and refunds as raw rows with channel and location, then write the channel filter once as a Snowflake view of online orders net of tips that every ad export reads. Join orders, payments and refunds explicitly, since tips sit on payments, deduplicate on Square's order ID after each load, and keep labeled counter sales too.

Snowflake is where the Square channel filter should live, written once in SQL instead of re-implemented in every ad platform upload. Load orders, payments and refunds from Square's APIs as raw rows, keep the channel or source and the location on every order, and build one view of online-channel orders net of tips that every downstream export reads from. When an ad platform's numbers disagree with that view, there is one place to settle it.

Square's data model needs care. An order and the payment that settled it are separate objects, the tip sits on the payment rather than in the order's item totals, and a refund is its own record pointing back at the payment. Join them explicitly: a naive sum of payments counts tips as sales, and a naive sum of orders misses refunds entirely. Check whether your ELT tool has a maintained Square connector before writing API pagination yourself, and confirm which channel or source field it exposes.

Unlike the ad platforms, Snowflake is the right home for counter sales too. With both channels in one table, labeled, you can answer questions no ad platform will: whether customers who first ordered online later come in to the counter, and what an online customer is worth across both. Deduplicate on Square's order ID after every load, because retried syncs append rather than replace.

Square Online → Snowflake · what breaks

Why this join usually fails — Square Online → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier never reaches Square Online

    Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration.

  2. 02

    Counter sales counted as online conversions

    The convenience of one ledger is also the trap. If the sales channel is not filtered, every card swipe at the register lands in your ad reporting as a conversion you paid for.

  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.

Square Online → Snowflake · the fix

What working looks like — Square Online → 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

Square Online → Snowflake · architecture

How Square Online and Snowflake actually connect

  1. 1

    Square Online holds the truth

    The filter is the whole job. Square's default reporting cheerfully sums counter sales and online orders, and that total is not something any ad platform should be optimizing toward.

  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 Square Online order.

  4. 4

    The event source decides reliability

    Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.

  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.

Square Online → Snowflake · normal or broken

Working vs. broken, side by side — Square Online → Snowflake

Normal, not a fault

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

  • Sent from the Square transaction record

  • 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

    Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration.

  • Sent from the browser

    The convenience of one ledger is also the trap. If the sales channel is not filtered, every card swipe at the register lands in your ad reporting as a conversion you paid for.

  • 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

Square Online → Snowflake · diagnose

Diagnostic order — Square Online → 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

    Filter by sales channel and re-check the total

    Compare the filtered online total against Square Online's own order count. If they disagree, the filter is wrong before the tracking is.

  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.

Square Online → Snowflake · prove

How it gets proven — Square Online → Snowflake

Source of truth

Square transactions filtered to the online sales channel, by location.

  • 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.
  • Online-channel transactions reconciled against imported conversions for a settled week.

Square Online → 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
  • Filter by sales channel and re-check the total
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Square transactions filtered to the online sales channel, by location.

Get my free conversion tracking audit

Free30 minutesNo obligation

Square Online → Snowflake · when not to buy

When you don't need this — Square Online → 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 Square Online is a small side channel next to your counter business, measure it on order count and do not build an import for it.
  • 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.

Square Online → Snowflake · what we deliver

What gets built — Square Online → Snowflake

  • Identifier capture into Square Online

    Persist the identifier in first-party storage on your own domain before the handoff, and reattach it to the order at the point the transaction is written.

  • Event source: the Square transaction record

    Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.

  • 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 appear in Square as their own records and should be sent as reversals.

Written guarantee

95%+ tracking accuracy

Measured against Square transactions filtered to the online sales channel, by location.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Square Online → Snowflake questions, answered

Use an ELT connector for Square if your tool offers one, or pull orders, payments and refunds from Square's APIs on a schedule. Land raw rows first and derive the online-only view in SQL.

Free · 30 min

Get Square Online and Snowflake joined properly

Free30 minutesNo obligation