Connecting Squarespace Commerce to BigQuery
Squarespace prioritises design simplicity over extensibility, so what you can instrument is bounded by what the platform chooses to expose. 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 Squarespace 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
Squarespace orders in BigQuery: API pulls, not just the webhook
Use Squarespace's order webhook as a trigger and scheduled Commerce Orders API pulls as the source of truth, storing snapshots keyed on order ID. Since click IDs can't be written onto orders, have a confirmation-page script post the order ID and stored click IDs to your endpoint, into a separate attribution table. Track the missing-attribution rate daily.
Squarespace's order webhook tells you an order was created, but a warehouse needs the whole lifecycle: fulfillment, refunds, line items and discounts. The reliable pattern for this pair is to use the webhook as a trigger and a scheduled pull from the Squarespace Commerce Orders API as the source of truth, writing full order snapshots keyed on the Squarespace order ID. Confirm your plan exposes the Commerce APIs before building.
Click IDs are the hard column. Squarespace's checkout does not let scripts write arbitrary values onto the order, so gclid, fbclid and rdt_cid captured on your pages do not arrive with the API record. Fill that column a different way: a script on the order confirmation page sends the order ID and the click IDs held in first-party storage to your server-side endpoint, which writes them to a separate attribution table keyed on order ID. Joined to the order table, that is the attribution data no Squarespace report gives you.
Expect gaps: when the confirmation script does not run, for example blocked or skipped, the order exists with no attribution row. Track that rate by day as a metric in its own right. Deduplicate snapshots on order ID and update time, and reconcile order counts against Squarespace's own sales report for a closed period.
Squarespace → BigQuery · what breaks
Why this join usually fails — Squarespace → BigQuery
- 01
Whatever join key you decide on never reaches Squarespace
Checkout runs on Squarespace's infrastructure with limited script access, so an identifier held in a cookie on your pages does not reliably reach the order. What survives has to be tested rather than assumed.
- 02
Platform limits mistaken for implementation failures
Squarespace restricts what runs at checkout by design. A setup that works on Shopify will not simply port, and the gap is the platform rather than the build.
- 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.
Squarespace → BigQuery · the fix
What working looks like — Squarespace → 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
Squarespace Commerce's own records are the reference, not either dashboard.
Squarespace → BigQuery · architecture
How Squarespace and BigQuery actually connect
- 1
Squarespace Commerce holds the truth
Squarespace holds the order cleanly. The constraint is access — code injection is limited and checkout customisation more so, which caps what a browser-side approach can achieve.
- 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 Squarespace order.
- 4
The event source decides reliability
Send from the webhook rather than the confirmation page, which has restricted script access and may not run what you expect.
- 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.
Squarespace → BigQuery · normal or broken
Working vs. broken, side by side — Squarespace → BigQuery
Normal, not a fault
Whatever join key you decide on present on the order
Visible on the record itself in Squarespace Commerce, not merely captured somewhere on the site.
Sent from the Squarespace order webhook
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
BigQuery's count and Squarespace Commerce's records agree within a few percent over a closed window.
Actually broken
Whatever join key you decide on missing on most records
Checkout runs on Squarespace's infrastructure with limited script access, so an identifier held in a cookie on your pages does not reliably reach the order. What survives has to be tested rather than assumed.
Sent from the browser
Squarespace restricts what runs at checkout by design. A setup that works on Shopify will not simply port, and the gap is the platform rather than the build.
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
The dashboard shows a number and no one has compared it to Squarespace Commerce.
Squarespace → BigQuery · diagnose
Diagnostic order — Squarespace → BigQuery
- 01
Count orders carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Test what actually reaches the order record
One real purchase tells you more than the documentation about what this platform preserves.
- 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.
Squarespace → BigQuery · prove
How it gets proven — Squarespace → BigQuery
Against Squarespace Commerce's own records, not against either platform's dashboard.
Source of truth
Squarespace's order records for the same window.
- 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.
- A test purchase with the identifier confirmed retrievable from the Squarespace order.
Squarespace → 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
- Test what actually reaches the order record
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Squarespace's order records for the same window.
Free30 minutesNo obligation
Squarespace → BigQuery · when not to buy
When you don't need this — Squarespace → BigQuery
- If BigQuery already reports conversions that reconcile against Squarespace Commerce's records within a few percent, this join is working and there is nothing to buy.
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
- For a small Squarespace store, the native integrations plus honest reporting may be the right answer — the platform's ceiling is real.
- 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.
Squarespace → BigQuery · what we deliver
What gets built — Squarespace → BigQuery
Identifier capture into Squarespace
Capture the identifier and pass it through the supported order form fields or the commerce API, verifying on a real order which values persist.
Event source: the Squarespace order webhook
Send from the webhook rather than the confirmation page, which has restricted script access and may not run what you expect.
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 are recorded against the order.
Written guarantee
95%+ tracking accuracy
Measured against Squarespace's order records for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Squarespace → BigQuery questions, answered
Pull from the Squarespace Commerce Orders API on a schedule, using the order webhook as a trigger, and store snapshots keyed on order ID. Check that your plan includes API access.
Send order ID plus stored click IDs from the order confirmation page to your server, write them to an attribution table, and join on order ID.
Almost always because whatever join key you decide on never reached the Squarespace order. Checkout runs on Squarespace's infrastructure with limited script access, so an identifier held in a cookie on your pages does not reliably reach the order. What survives has to be tested rather than assumed. 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 Squarespace order webhook. Send from the webhook rather than the confirmation page, which has restricted script access and may not run what you expect.
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 Squarespace → BigQuery
- Squarespace → Google AdsConnecting Squarespace Commerce to Google Ads
- Squarespace → MetaConnecting Squarespace Commerce to Meta Conversions API
- Squarespace → GA4Connecting Squarespace Commerce to GA4
RELATED GUIDES
Where Squarespace → BigQuery fits in the rest of your tracking
- Swell → BigQueryConnecting Swell to BigQuery
- Braintree → BigQueryConnecting Braintree to BigQuery
- nopCommerce → BigQueryConnecting nopCommerce to BigQuery
- Squarespace → SnowflakeConnecting Squarespace Commerce to Snowflake
- Squarespace → SegmentConnecting Squarespace Commerce to Segment
- BeautyConversion tracking for beauty brands, including the second order
- Magento → BigQueryConnecting Magento to BigQuery
- Shopify POS → BigQueryConnecting Shopify POS to BigQuery
Free · 30 min
Get Squarespace and BigQuery joined properly
Free30 minutesNo obligation
