Connecting Rebuy to BigQuery
Rebuy adds personalised upsells across the cart, checkout and post-purchase, which means the order value at checkout is frequently not the order value that settles. 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 Rebuy-influenced 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
Rebuy in BigQuery: checkout value versus settled order value
Load Shopify orders into BigQuery with original and settled totals, line items with Rebuy's properties, and click identifiers from the landing URL or cart attributes, joined on order ID. Then measure, per campaign, revenue arriving after checkout conversions were sent, and set send delays from time to last Rebuy edit. Keep edits and refunds as events, deduplicated.
BigQuery is the cleanest place to measure what Rebuy is worth by campaign. Load Shopify orders with both the original total and the settled total after edits, plus line items with whatever properties Rebuy writes to the items it adds; check a real order to confirm the property names your version uses. The order ID is the join key, and the click identifiers come from the order's landing site URL or the cart attributes you stored at landing.
With that, one query answers the question the ad platforms cannot: for each campaign, how much revenue arrived after the conversion was sent at checkout. Campaigns that bring upsell-receptive buyers stand out, and you can show what share of reported revenue each platform is missing. It also tells you how long to wait: measure the time from order creation to the last Rebuy edit and set your send delay from that distribution.
Keep order edits and refunds as events rather than overwriting the order row, because a refunded upsell has to come off the upsell line, not the original purchase. Deduplicate on order ID plus edit ID before aggregating, since Shopify webhooks can repeat and streaming inserts are at-least-once.
Rebuy → BigQuery · what breaks
Why this join usually fails — Rebuy → BigQuery
- 01
Whatever join key you decide on never reaches Rebuy
Post-purchase offers render after the order is created, so a conversion fired at checkout has already gone before the upsell revenue exists.
- 02
Upsell revenue missing from every conversion
Post-purchase upsells can add a meaningful percentage to average order value. Firing the conversion at checkout means none of it is attributed, and the campaigns that bring upsell-receptive buyers look identical to those that do not.
- 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.
Rebuy → BigQuery · the fix
What working looks like — Rebuy → 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
Rebuy → BigQuery · architecture
How Rebuy and BigQuery actually connect
- 1
Rebuy holds the truth
A post-purchase upsell creates additional revenue on the same order, seconds to minutes after the original conversion fired. If the conversion was sent at checkout, that revenue is missing from every report.
- 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 Rebuy-influenced order.
- 4
The event source decides reliability
Send the settled order total including accepted upsells, with the upsell contribution recorded 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.
Rebuy → BigQuery · normal or broken
Working vs. broken, side by side — Rebuy → BigQuery
Normal, not a fault
Whatever join key you decide on present on the order
Sent from the Shopify order webhook, after post-purchase
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
Post-purchase offers render after the order is created, so a conversion fired at checkout has already gone before the upsell revenue exists.
Sent from the browser
Post-purchase upsells can add a meaningful percentage to average order value. Firing the conversion at checkout means none of it is attributed, and the campaigns that bring upsell-receptive buyers look identical to those that do not.
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
Rebuy → BigQuery · diagnose
Diagnostic order — Rebuy → BigQuery
- 01
Count orders carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Compare checkout-time order value against final settled order value
The gap is your upsell revenue, and it is the amount your conversion reporting is currently discarding.
- 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.
Rebuy → BigQuery · prove
How it gets proven — Rebuy → BigQuery
Source of truth
The final Shopify order total after any post-purchase upsell has been accepted.
- 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.
- Settled order totals reconciled against imported conversions, with upsell contribution stated separately.
Rebuy → 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
- Compare checkout-time order value against final settled order value
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
The final Shopify order total after any post-purchase upsell has been accepted.
Free30 minutesNo obligation
Rebuy → BigQuery · when not to buy
When you don't need this — Rebuy → BigQuery
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
- If you run no post-purchase offers, checkout-time value is the final value and the timing question does not arise.
- 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.
Rebuy → BigQuery · what we deliver
What gets built — Rebuy → BigQuery
Identifier capture into Rebuy
Send the conversion from the order webhook after the post-purchase window closes, or send an adjustment when the upsell is accepted.
Event source: the Shopify order webhook, after post-purchase
Send the settled order total including accepted upsells, with the upsell contribution recorded 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, including refunded upsells specifically.
Written guarantee
95%+ tracking accuracy
Measured against The final Shopify order total after any post-purchase upsell has been accepted.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Rebuy → BigQuery questions, answered
Load Shopify orders with original and settled totals and Rebuy-tagged line items, then compare them per order. The gap is the upsell revenue your checkout-time conversions miss.
Measure it: query the time between order creation and the last post-purchase edit in your own data, and set the delay to cover nearly all of them.
Almost always because whatever join key you decide on never reached the Rebuy-influenced order. Post-purchase offers render after the order is created, so a conversion fired at checkout has already gone before the upsell revenue exists. 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 Shopify order webhook, after post-purchase. Send the settled order total including accepted upsells, with the upsell contribution recorded 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 Rebuy → BigQuery
- Stripe → BigQueryConnecting Stripe to BigQuery
- PayPal → BigQueryConnecting PayPal to BigQuery
- Shopify → BigQueryConnecting Shopify to BigQuery
RELATED GUIDES
Where Rebuy → BigQuery fits in the rest of your tracking
- Checkout Champ → BigQueryConnecting Checkout Champ to BigQuery
- CartHook → BigQueryConnecting CartHook to BigQuery
- AfterSell → BigQueryConnecting AfterSell to BigQuery
- Rebuy → SnowflakeConnecting Rebuy to Snowflake
- Rebuy → SegmentConnecting Rebuy to Segment
- FashionConversion tracking for fashion brands, reported net of returns
- Zipify OCU → BigQueryConnecting Zipify OneClickUpsell to BigQuery
Free · 30 min
Get Rebuy and BigQuery joined properly
Free30 minutesNo obligation
