Skip to main content
Rebuy → SnowflakeIntegration guide

Connecting Rebuy to Snowflake

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. Snowflake's distinguishing feature is that two organisations can join data without either copying it to the other, which turns measurement between partners from a legal negotiation into a query. The join between them succeeds or fails on one thing: whether whatever join key both parties agree on, usually a hashed identifier reaches the Rebuy-influenced order before the conversion happens, because Snowflake can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Rebuy order data in Snowflake: model the upsell as its own column

To measure Rebuy upsells in Snowflake, load raw Shopify orders with line items, post-purchase order edits, per-line refunds and the Rebuy item marker. Key on order ID plus updated-at timestamp, then model one row per order with checkout value, settled value and upsell delta as separate columns, so a twice-loaded order is not read as two.

Snowflake is where you can answer the question any vendor dashboard answers in its own favor: how much revenue Rebuy's upsells actually added, net of refunds and of purchases that would have happened at full price anyway. That needs Shopify orders with line items, the order edits that post-purchase acceptances create, refunds per line, and whatever marker your Rebuy setup leaves on the items it added, loaded raw and modeled afterwards.

The modeling error specific to this pair is reading the order total once. Shopify order data loaded at creation shows the pre-upsell total; loaded again after an edit it shows the settled one; loaded twice without deduplication it shows both. Key on order ID with an updated-at timestamp, keep the raw payloads, and derive one row per order with checkout value, settled value and upsell delta as separate columns.

That table is also the honest input for paid-media comparisons. Join settled orders to your stored click identifiers and you can show, per channel, how much of each platform's reported revenue missed the upsell. If you share data with a retail or media partner through a Snowflake share or clean room, agree first whether conversion value means checkout or settled. The difference is exactly Rebuy's contribution, and the two sides will disagree by that amount until it is written down.

Rebuy → Snowflake · what breaks

Why this join usually fails — Rebuy → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier 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.

  2. 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.

  3. 03

    A clean room that answers a question nobody agreed on

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  4. 04

    Nothing reconciles afterwards

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

Rebuy → Snowflake · the fix

What working looks like — Rebuy → Snowflake

  • Whatever join key both parties agree on, usually a hashed identifier on every order

  • Conversions arriving in Snowflake

    The row lands in a table you own, joinable to your own data and — through a share or clean room — to a partner's, without either party moving raw records.

  • Reconciled against the source

Rebuy → Snowflake · architecture

How Rebuy and Snowflake actually connect

  1. 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. 2

    Snowflake needs a click to match

    A schema both sides agree on, consistent types, and identifiers normalised identically before hashing. The failure mode is not rejection but silent divergence — a timestamp in the wrong zone or a trimmed-versus-untrimmed email produces answers that look plausible.

  3. 3

    The identifier is the bridge

    Whatever join key both parties agree on, usually a hashed identifier, captured at the visit and carried into the Rebuy-influenced order.

  4. 4

    The event source decides reliability

    Send the settled order total including accepted upsells, with the upsell contribution recorded separately.

  5. 5

    Deduplication at the destination

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

Rebuy → Snowflake · normal or broken

Working vs. broken, side by side — Rebuy → Snowflake

Normal, not a fault

  • Whatever join key both parties agree on, usually a hashed identifier present on the order

  • Sent from the Shopify order webhook, after post-purchase

  • Deduplicated correctly

    Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.

  • Reconciles with the source

Actually broken

  • Whatever join key both parties agree on, usually a hashed identifier 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

    The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.

  • Nobody has reconciled it

Rebuy → Snowflake · diagnose

Diagnostic order — Rebuy → Snowflake

  1. 01

    Count orders carrying whatever join key both parties agree on, usually a hashed identifier

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Write down both parties' conversion definitions before writing any query

    Definition mismatch, not technology, is what makes most partner measurement projects produce numbers neither side trusts.

  5. 05

    Read the match rate, not the success message

    Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.

Rebuy → Snowflake · prove

How it gets proven — Rebuy → Snowflake

Source of truth

The final Shopify order total after any post-purchase upsell has been accepted.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live order.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • Settled order totals reconciled against imported conversions, with upsell contribution stated separately.

Rebuy → Snowflake · free audit

What we check in the free audit

  • Count orders carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Compare checkout-time order value against final settled order value
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

The final Shopify order total after any post-purchase upsell has been accepted.

Get my free conversion tracking audit

Free30 minutesNo obligation

Rebuy → Snowflake · when not to buy

When you don't need this — Rebuy → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • If you run no post-purchase offers, checkout-time value is the final value and the timing question does not arise.
  • If you have no partner to share data with and one cloud, a warehouse you already run does the same job. The sharing capability is what justifies this one.

Rebuy → Snowflake · what we deliver

What gets built — Rebuy → Snowflake

  • 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 Snowflake

    Batch or streaming loads from your order system, with the raw event retained alongside anything 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Rebuy → Snowflake questions, answered

Model checkout value, settled value and refunded upsell lines per order, then compare against a control group if your Rebuy plan supports A/B tests. Attributed upsell revenue alone is not incrementality.

Free · 30 min

Get Rebuy and Snowflake joined properly

Free30 minutesNo obligation