Connecting Punchh to BigQuery
Punchh runs loyalty for restaurant and retail chains where members earn in one location and redeem in another, which spreads the programme's cost across sites your advertising cannot see. 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 Punchh loyalty transaction 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
Punchh to BigQuery: the cross-location loyalty cost table
Load Punchh member and loyalty transaction data into BigQuery next to the POS sales table to compute redemption cost per location, including points earned at one store and burned at another. Join on the Punchh member ID and POS transaction ID, treating the POS as the sales record. Reconcile redeemed points monthly against Punchh.
BigQuery is where Punchh's central problem gets solved: earn and burn consolidated across every location. Load Punchh's member and loyalty transaction data next to the POS sales table (check which export or API access your Punchh agreement includes), and the warehouse can show what redemptions cost per location, including points earned at one store and burned at another.
The join keys are the Punchh member ID, which ties a loyalty event to the person, and the POS check or transaction ID, which ties it to the sale. Online signups should also carry whatever ad click identifiers you captured on the web signup page, stored against the member ID at creation, so acquisition can be joined to ads later. Keep earn, redeem and refund as separate rows in one time zone; a chain across time zones that loads local store times will push late-night visits into the wrong day.
The trap with this pair is counting the same visit twice: once from the POS feed and once from Punchh's loyalty record. Make the POS the sales record and Punchh an attribute of it, and check for duplicate rows on the transaction ID before any aggregate. Then reconcile total points redeemed per month against Punchh's own reporting before anyone hands the cost figure to finance.
Punchh → BigQuery · what breaks
Why this join usually fails — Punchh → BigQuery
- 01
Whatever join key you decide on never reaches Punchh
Redemption happens at a till or in an app with no browser session at any point.
- 02
Loyalty cost spread across locations nobody totals
Points earned at one restaurant and redeemed at another appear in two different location reports and in neither marketing report. The programme looks free until someone consolidates it.
- 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.
Punchh → BigQuery · the fix
What working looks like — Punchh → BigQuery
Whatever join key you decide on on every redemption
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
Punchh → BigQuery · architecture
How Punchh and BigQuery actually connect
- 1
Punchh holds the truth
In multi-location chains, earning and redemption happen at different sites on different days. Only the combined view shows what the programme actually costs.
- 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 Punchh loyalty transaction.
- 4
The event source decides reliability
Send member acquisition and online orders net of redemption, with in-store redemption reported separately.
- 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.
Punchh → BigQuery · normal or broken
Working vs. broken, side by side — Punchh → BigQuery
Normal, not a fault
Whatever join key you decide on present on the redemption
Sent from your POS transaction record with loyalty attributes
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
Redemption happens at a till or in an app with no browser session at any point.
Sent from the browser
Points earned at one restaurant and redeemed at another appear in two different location reports and in neither marketing report. The programme looks free until someone consolidates it.
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
Punchh → BigQuery · diagnose
Diagnostic order — Punchh → BigQuery
- 01
Count redemptions carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Consolidate earn and burn across all locations
It is the only view that shows the programme's true cost, and chains routinely do not have it.
- 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.
Punchh → BigQuery · prove
How it gets proven — Punchh → BigQuery
Source of truth
Transactions across all locations, with loyalty earn and burn recorded per visit.
- Whatever join key you decide on confirmed present on a live redemption.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Member acquisition reconciled against imported conversions, with consolidated redemption cost reported.
Punchh → BigQuery · free audit
What we check in the free audit
- Count redemptions carrying whatever join key you decide on
- Follow one real conversion end to end
- Consolidate earn and burn across all locations
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Transactions across all locations, with loyalty earn and burn recorded per visit.
Free30 minutesNo obligation
Punchh → BigQuery · when not to buy
When you don't need this — Punchh → BigQuery
- Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry whatever join key you decide on.
- Single-location operators see both halves and do not have the consolidation problem.
- 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.
Punchh → BigQuery · what we deliver
What gets built — Punchh → BigQuery
Identifier capture into Punchh
Attribute online and app-signup acquisition only, and report cross-location redemption as programme cost.
Event source: your POS transaction record with loyalty attributes
Send member acquisition and online orders net of redemption, with in-store redemption reported separately.
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 reverse and reclaim points.
Written guarantee
95%+ tracking accuracy
Measured against Transactions across all locations, with loyalty earn and burn recorded per visit.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Punchh → BigQuery questions, answered
The POS transaction or check ID ties a loyalty event to the sale, and the Punchh member ID ties it to the person. Use both, and deduplicate on the transaction ID.
Load redemptions with their location and reward cost, then sum across all locations by period. Earn and burn at different stores only net out in a consolidated table.
Almost always because whatever join key you decide on never reached the Punchh loyalty transaction. Redemption happens at a till or in an app with no browser session at any point. 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.
Your POS transaction record with loyalty attributes. Send member acquisition and online orders net of redemption, with in-store redemption reported separately.
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 Punchh → BigQuery
- Stripe → BigQueryConnecting Stripe to BigQuery
- PayPal → BigQueryConnecting PayPal to BigQuery
- Shopify → BigQueryConnecting Shopify to BigQuery
RELATED GUIDES
Where Punchh → BigQuery fits in the rest of your tracking
- Talon.One → BigQueryConnecting Talon.One to BigQuery
- Antavo → BigQueryConnecting Antavo to BigQuery
- LoyaltyLion → BigQueryConnecting LoyaltyLion to BigQuery
- Punchh → SnowflakeConnecting Punchh to Snowflake
- Punchh → SegmentConnecting Punchh to Segment
- RestaurantsConversion tracking for restaurants, across reservations, orders and calls
- Smile.io → BigQueryConnecting Smile.io to BigQuery
Free · 30 min
Get Punchh and BigQuery joined properly
Free30 minutesNo obligation
