Connecting Square Online to BigQuery
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. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the Square Online order before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Square Online to BigQuery: online orders split from the counter
Load Square orders with source, location ID, fulfillment type and each money amount, including tax, tip, discount and net, as columns, and filter channel in queries. Deduplicate on order ID, since order.updated fires repeatedly, and keep refunds in their own table. Match click IDs captured on your domain to orders by email and time, with a match-confidence column.
BigQuery is the cleanest place to fix Square's mixed-channel problem, because you can keep every transaction and filter in the query rather than at ingestion. Load orders from Square's Orders API or order webhooks with source, location ID, fulfillment type and each money amount as its own column: total, tax, tip, discount and net. Check the field names in Square's API reference, and note that tips may sit on the payment rather than the order depending on how they were collected.
The ad join is weak on Square Online because the storefront offers little room to write click IDs onto orders. Capture gclid, fbclid and UTMs on your own domain or through whatever code injection your plan allows, store them with the visitor's email when they enter it, and match to orders on email and time. Keep a match-confidence column: an email match within an hour is not the same evidence as a click ID written on the order.
Refunds arrive as separate records. Load them into a refunds table keyed on the original order and payment IDs, and compute daily net revenue in a view. Deduplicate orders on order ID, because order.updated fires repeatedly as an order moves through fulfillment, and an append-only load will multiply every order.
Square Online → BigQuery · what breaks
Why this join usually fails — Square Online → BigQuery
- 01
Whatever join key you decide on 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.
- 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.
- 03
The warehouse quietly disagreeing with every platform
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
- 04
Nothing reconciles afterwards
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Square Online → BigQuery · the fix
What working looks like — Square Online → BigQuery
Whatever join key you decide on on every order
Conversions arriving in BigQuery
The row lands in a table you own, joinable to every other table you own, with no window and no expiry.
Reconciled against the source
Square Online → BigQuery · architecture
How Square Online and BigQuery actually connect
- 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
BigQuery needs a click to match
BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.
- 3
The identifier is the bridge
Whatever join key you decide on, captured at the visit and carried into the Square Online order.
- 4
The event source decides reliability
Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.
- 5
Deduplication at the destination
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Square Online → BigQuery · normal or broken
Working vs. broken, side by side — Square Online → BigQuery
Normal, not a fault
Whatever join key you decide on present on the order
Sent from the Square transaction record
Deduplicated correctly
Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.
Reconciles with the source
Actually broken
Whatever join key you decide on 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
This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.
Nobody has reconciled it
Square Online → BigQuery · diagnose
Diagnostic order — Square Online → BigQuery
- 01
Count orders carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 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.
- 04
Reconcile warehouse order counts against each platform for one closed window
The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.
- 05
Read the match rate, not the success message
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
Square Online → BigQuery · prove
How it gets proven — Square Online → BigQuery
Source of truth
Square transactions filtered to the online sales channel, by location.
- Whatever join key you decide on confirmed present on a live order.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Online-channel transactions reconciled against imported conversions for a settled week.
Square Online → BigQuery · free audit
What we check in the free audit
- Count orders carrying whatever join key you decide on
- Follow one real conversion end to end
- Filter by sales channel and re-check the total
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Square transactions filtered to the online sales channel, by location.
Free30 minutesNo obligation
Square Online → BigQuery · when not to buy
When you don't need this — Square Online → BigQuery
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
- 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 one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.
Square Online → BigQuery · what we deliver
What gets built — Square Online → BigQuery
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 BigQuery
Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever 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.
From $400 · See packages
FAQ
Square Online → BigQuery questions, answered
Pull from Square's Orders API or stream order webhooks into a staging table, then merge on order ID. Check whether a connector you already use supports Square before writing your own.
Filter on the order's source and location fields, then verify by comparing the filtered count against Square Online's own order count for a week.
Almost always because whatever join key you decide on never reached the Square Online order. Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration. Measure coverage before debugging the dispatch.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
The Square transaction record. Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.
BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.
More on Square Online → BigQuery
- Square Online → Google AdsConnecting Square Online to Google Ads
- Square Online → MetaConnecting Square Online to Meta Conversions API
- Square Online → GA4Connecting Square Online to GA4
RELATED GUIDES
Where Square Online → BigQuery fits in the rest of your tracking
- Otter → BigQueryConnecting Otter to BigQuery
- DoorDash → BigQueryConnecting DoorDash to BigQuery
- ChowNow → BigQueryConnecting ChowNow to BigQuery
- Square Online → SnowflakeConnecting Square Online to Snowflake
- Square Online → SegmentConnecting Square Online to Segment
- CateringConversion tracking for catering, measured in confirmed events
- Uber Eats → BigQueryConnecting Uber Eats to BigQuery
- Slice → BigQueryConnecting Slice to BigQuery
Free · 30 min
Get Square Online and BigQuery joined properly
Free30 minutesNo obligation
