Connecting Stamped to BigQuery
Stamped bundles reviews with loyalty and rewards for mid-market ecommerce, so like Yotpo it produces genuine repeat revenue that must not be confused with acquisition. 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 Stamped reward redemption 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
Stamped to BigQuery: flag every order as first, reward or referral
Load store orders (order ID, customer ID, discount codes, total) and Stamped redemptions and referral events into BigQuery, then join on discount code and order ID. Each order gets one flag: first order, reward-driven repeat, or referral first order. Keep unmatched discount codes in their own table and review it monthly. Use a Stamped export or scheduled API pulls.
BigQuery is where Stamped's revenue split becomes permanent. Load store orders with order ID, customer ID, discount codes and total; load Stamped redemptions and referral events with the codes they issued; join on discount code and order ID. Every order then carries one of three flags: first order, reward-driven repeat, or referral first order. That flag is the column every acquisition report needs and almost none have.
Referral orders deserve their own type. A Stamped referral brings a new customer, so it is acquisition, but the click came from a friend's link, not an ad, and carries no gclid or fbclid. When an ad platform also claims that order through a view-through window, the warehouse shows the overlap plainly: a referral code on the order and a platform conversion for the same order ID.
Codes are the fragile part of the join. Generic codes, codes typed in by support staff and codes stacked with a site-wide sale all break the mapping. Keep unmatched discount codes in their own table and review it monthly; the unmatched share is the error bar on your retention-versus-acquisition split. Check whether Stamped offers a direct export on your plan; otherwise schedule API pulls.
Stamped → BigQuery · what breaks
Why this join usually fails — Stamped → BigQuery
- 01
Whatever join key you decide on never reaches Stamped
Widgets render in Stamped-served frames; referral and reward links route through Stamped before returning to your store.
- 02
Two programs claiming the same order
Paid acquisition and the rewards program will both count a reward-driven repeat purchase, and neither will mention it. The order gets paid for twice in the reporting and once in reality.
- 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.
Stamped → BigQuery · the fix
What working looks like — Stamped → 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
Stamped → BigQuery · architecture
How Stamped and BigQuery actually connect
- 1
Stamped holds the truth
Reward-driven orders are retention revenue. They belong in a retention figure, and they belong out of the paid acquisition figure.
- 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 Stamped reward redemption.
- 4
The event source decides reliability
Purchases, tagged first-order versus reward-driven repeat.
- 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.
Stamped → BigQuery · normal or broken
Working vs. broken, side by side — Stamped → BigQuery
Normal, not a fault
Whatever join key you decide on present on the redemption
Sent from your order feed with Stamped attributes attached
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
Widgets render in Stamped-served frames; referral and reward links route through Stamped before returning to your store.
Sent from the browser
Paid acquisition and the rewards program will both count a reward-driven repeat purchase, and neither will mention it. The order gets paid for twice in the reporting and once in reality.
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
Stamped → BigQuery · diagnose
Diagnostic order — Stamped → BigQuery
- 01
Count redemptions carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Count reward-coded orders inside the paid figure
The overlap is the overstatement, and it is usually larger than anyone expects on stores with mature loyalty programs.
- 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.
Stamped → BigQuery · prove
How it gets proven — Stamped → BigQuery
Source of truth
Store orders flagged by whether a Stamped reward, review coupon or referral applied.
- 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.
- First orders reconciled against imported conversions, reward-driven orders excluded and reported on their own.
Stamped → 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
- Count reward-coded orders inside the paid figure
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Store orders flagged by whether a Stamped reward, review coupon or referral applied.
Free30 minutesNo obligation
Stamped → BigQuery · when not to buy
When you don't need this — Stamped → BigQuery
- Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry whatever join key you decide on.
- Reviews-only setups need nothing here beyond keeping review events out of the conversion list.
- 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.
Stamped → BigQuery · what we deliver
What gets built — Stamped → BigQuery
Identifier capture into Stamped
Capture on your own domain first, then record the reward code on the resulting order so the two revenue types stay separable forever after.
Event source: your order feed with Stamped attributes attached
Purchases, tagged first-order versus reward-driven repeat.
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 reduce the figure.
Written guarantee
95%+ tracking accuracy
Measured against Store orders flagged by whether a Stamped reward, review coupon or referral applied.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Stamped → BigQuery questions, answered
Check Stamped's export options for your plan, or pull redemptions and referrals from its API on a schedule, then join them to store orders on discount code and order ID.
Flag each order as a first order, reward-driven repeat or referral based on the Stamped code applied, and exclude reward-driven orders from any figure compared against ad spend.
Almost always because whatever join key you decide on never reached the Stamped reward redemption. Widgets render in Stamped-served frames; referral and reward links route through Stamped before returning to your store. 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 order feed with Stamped attributes attached. Purchases, tagged first-order versus reward-driven repeat.
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 Stamped → BigQuery
- Stamped → Google AdsConnecting Stamped to Google Ads
- Stamped → MetaConnecting Stamped to Meta Conversions API
- Stamped → GA4Connecting Stamped to GA4
RELATED GUIDES
Where Stamped → BigQuery fits in the rest of your tracking
- Bazaarvoice → BigQueryConnecting Bazaarvoice to BigQuery
- Trustpilot → BigQueryConnecting Trustpilot to BigQuery
- Okendo → BigQueryConnecting Okendo to BigQuery
- Stamped → SegmentConnecting Stamped to Segment
- Stamped → SnowflakeConnecting Stamped to Snowflake
- BeautyConversion tracking for beauty brands, including the second order
- Loox → BigQueryConnecting Loox to BigQuery
- Yotpo → BigQueryConnecting Yotpo to BigQuery
Free · 30 min
Get Stamped and BigQuery joined properly
Free30 minutesNo obligation
