Connecting Lightspeed to BigQuery
Lightspeed runs the till in retail and hospitality, which means it holds the majority of the revenue and almost none of the digital signal. 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 Lightspeed sale 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
Lightspeed to BigQuery: business dates, channels and holdouts
Load Lightspeed sales and sale lines with outlet, register, channel, customer ID, business date and UTC timestamp, joining spend on business date so after-midnight sales stay on the right day. Online eCom orders join to campaigns by order ID carrying click IDs; in-store sales join on outlet and date for geo holdouts. Load refunds and voids as separate rows.
BigQuery is where Lightspeed's in-store majority can finally sit next to ad data without being counted as a conversion. Load sales and sale lines with the outlet, register, sales channel, customer ID if any, and both the business date and the UTC timestamp. Check which export or API route your Lightspeed product offers, since Retail and Restaurant editions differ.
The two dates matter more here than usual. A bar or restaurant on Lightspeed closes after midnight, so a 1 a.m. tab belongs to the previous business date while its timestamp says otherwise. Join ad spend, which platforms report by calendar day in the account's time zone, on the wrong one and late-night revenue shifts into the next day's campaign figures. Pick business date for reporting and convert spend to match.
For the online channel, the join key is the eCom order ID, which should carry the click IDs captured at checkout, so online orders join to campaigns per order. For the in-store majority there is no per-sale key, so join on outlet and business date instead and use it for geo holdouts: compare outlets in markets where a campaign ran against outlets where it did not. Load refunds and voids as their own rows referencing the original sale ID rather than overwriting it, so returns that happen in a later week stay visible.
Lightspeed → BigQuery · what breaks
Why this join usually fails — Lightspeed → BigQuery
- 01
Whatever join key you decide on never reaches Lightspeed
A point-of-sale terminal has no browser. Online orders, where the business has them, are the only channel with any identifier at all.
- 02
In-store revenue absorbed into online reporting
If the channel filter is missing, every card taken at the counter becomes an advertising conversion, and the reported return climbs with foot traffic rather than with campaign quality.
- 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.
Lightspeed → BigQuery · the fix
What working looks like — Lightspeed → BigQuery
Whatever join key you decide on on every sale
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
Lightspeed → BigQuery · architecture
How Lightspeed and BigQuery actually connect
- 1
Lightspeed holds the truth
The in-store majority is real revenue that no click produced and no click can claim. Naming that share is more useful than any model that quietly absorbs it.
- 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 Lightspeed sale.
- 4
The event source decides reliability
Send online-channel sales at their value. Report in-store revenue alongside as context, never inside the same conversion action.
- 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.
Lightspeed → BigQuery · normal or broken
Working vs. broken, side by side — Lightspeed → BigQuery
Normal, not a fault
Whatever join key you decide on present on the sale
Sent from the Lightspeed sales 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
A point-of-sale terminal has no browser. Online orders, where the business has them, are the only channel with any identifier at all.
Sent from the browser
If the channel filter is missing, every card taken at the counter becomes an advertising conversion, and the reported return climbs with foot traffic rather than with campaign quality.
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
Lightspeed → BigQuery · diagnose
Diagnostic order — Lightspeed → BigQuery
- 01
Count sales 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 figure against the online order count. A mismatch means 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.
Lightspeed → BigQuery · prove
How it gets proven — Lightspeed → BigQuery
Source of truth
Lightspeed sales by business date, filtered to the online channel where one exists.
- Whatever join key you decide on confirmed present on a live sale.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Online-channel sales reconciled against imported conversions for a settled week.
Lightspeed → BigQuery · free audit
What we check in the free audit
- Count sales 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
Lightspeed sales by business date, filtered to the online channel where one exists.
Free30 minutesNo obligation
Lightspeed → BigQuery · when not to buy
When you don't need this — Lightspeed → BigQuery
- Measure identifier coverage yourself first — pull your last hundred sales and count how many carry whatever join key you decide on.
- A purely bricks-and-mortar business has no online conversion to import. Measure directions, calls and offer-code redemptions instead.
- 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.
Lightspeed → BigQuery · what we deliver
What gets built — Lightspeed → BigQuery
Identifier capture into Lightspeed
Attribute the online channel only, and measure in-store influence with a geo holdout or an offer code rather than pretending it is trackable.
Event source: the Lightspeed sales record
Send online-channel sales at their value. Report in-store revenue alongside as context, never inside the same conversion action.
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 and voids reverse.
Written guarantee
95%+ tracking accuracy
Measured against Lightspeed sales by business date, filtered to the online channel where one exists.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Lightspeed → BigQuery questions, answered
Not per sale, since counter sales have no click ID. Join on outlet and business date and compare outlets where a campaign ran against outlets where it did not.
Business date for reporting, because tabs closed after midnight belong to the previous trading day. Keep the UTC timestamp too and align ad spend to the same convention.
Almost always because whatever join key you decide on never reached the Lightspeed sale. A point-of-sale terminal has no browser. Online orders, where the business has them, are the only channel with any identifier at all. 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 Lightspeed sales record. Send online-channel sales at their value. Report in-store revenue alongside as context, never inside the same conversion action.
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 Lightspeed → BigQuery
- Stripe → BigQueryConnecting Stripe to BigQuery
- PayPal → BigQueryConnecting PayPal to BigQuery
- Shopify → BigQueryConnecting Shopify to BigQuery
RELATED GUIDES
Where Lightspeed → BigQuery fits in the rest of your tracking
- SpotOn → BigQueryConnecting SpotOn to BigQuery
- TouchBistro → BigQueryConnecting TouchBistro to BigQuery
- Revel → BigQueryConnecting Revel Systems to BigQuery
- Lightspeed → SnowflakeConnecting Lightspeed to Snowflake
- Lightspeed → SegmentConnecting Lightspeed to Segment
- JewelryConversion tracking for jewelry, measured in margin, not revenue
- Clover → BigQueryConnecting Clover to BigQuery
Free · 30 min
Get Lightspeed and BigQuery joined properly
Free30 minutesNo obligation
