Connecting Friendbuy to Snowflake
Friendbuy runs customer-to-customer referral, which means the acquisition was produced by an existing customer and paid for with a reward on both sides. 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 Friendbuy referral 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
Friendbuy in Snowflake: the true cost of a referred customer
Join orders, Friendbuy referral and reward records, and landing ad identifiers on order ID in Snowflake, modeling one row per order with referral flag, advocate, discount, reward, status and paid identifiers present. Store reward status as of a date, deduplicate on Friendbuy's record ID, align time zones, and agree whether referral orders count as conversions before sharing.
Snowflake is the right place for the question Friendbuy's dashboard cannot answer on its own: what a referred customer costs and is worth compared with a paid one. That takes three sources joined on order ID: your orders, Friendbuy's referral and reward records, and the ad identifiers captured at landing. Once joined, you can compute acquisition cost including both rewards and see how many referral orders also carry a paid click.
Load Friendbuy data through whatever export or API your plan provides (check what Friendbuy exposes for referrals and rewards), keep the raw records, and model one row per order: referral flag, advocate ID, friend discount, advocate reward, reward status and which paid identifiers were present. Rewards can be issued, voided or reversed after the order, so store reward status as of a date rather than as a fixed value, or last quarter's cost changes every time you rerun it.
Two breaks specific to this join. Retried loads duplicate reward rows, so one referral appears to cost two rewards; deduplicate on Friendbuy's own record ID. And timestamps from Friendbuy and your store in different time zones push month-end referrals into the wrong month. If an agency queries this through a share, agree in writing whether referral orders count as conversions first.
Friendbuy → Snowflake · what breaks
Why this join usually fails — Friendbuy → Snowflake
- 01
Whatever join key both parties agree on, usually a hashed identifier never reaches Friendbuy
Referral links route through Friendbuy and land on your store with their own parameters, potentially overwriting a stored paid identifier.
- 02
Word of mouth billed to the ad account
The better your referral programme performs, the worse your paid reporting gets — a genuinely perverse outcome caused entirely by last-write-wins identifier storage that nobody consciously chose.
- 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.
- 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.
Friendbuy → Snowflake · the fix
What working looks like — Friendbuy → Snowflake
Whatever join key both parties agree on, usually a hashed identifier on every referral
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
Friendbuy → Snowflake · architecture
How Friendbuy and Snowflake actually connect
- 1
Friendbuy holds the truth
A double-sided referral costs you two discounts to acquire one customer. That is a real and known acquisition cost, and it sits nowhere near the ad account that will otherwise claim the sale.
- 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
The identifier is the bridge
Whatever join key both parties agree on, usually a hashed identifier, captured at the visit and carried into the Friendbuy referral.
- 4
The event source decides reliability
Send orders net of both referral rewards, with referral-sourced orders marked and held out of paid conversion imports.
- 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.
Friendbuy → Snowflake · normal or broken
Working vs. broken, side by side — Friendbuy → Snowflake
Normal, not a fault
Whatever join key both parties agree on, usually a hashed identifier present on the referral
Sent from your order feed with referral attribution
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
Referral links route through Friendbuy and land on your store with their own parameters, potentially overwriting a stored paid identifier.
Sent from the browser
The better your referral programme performs, the worse your paid reporting gets — a genuinely perverse outcome caused entirely by last-write-wins identifier storage that nobody consciously chose.
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
Friendbuy → Snowflake · diagnose
Diagnostic order — Friendbuy → Snowflake
- 01
Count referrals carrying whatever join key both parties agree on, usually a hashed identifier
- 02
Follow one real conversion end to end
- 03
Check precedence between referral and paid parameters
Whichever wins decides who gets credit, and almost nobody has decided it deliberately.
- 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.
- 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.
Friendbuy → Snowflake · prove
How it gets proven — Friendbuy → Snowflake
Source of truth
Orders flagged by whether a referral produced them, with both reward costs recorded.
- Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live referral.
- Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
- Non-referral orders reconciled against imported conversions, with referral volume and reward cost reported separately.
Friendbuy → Snowflake · free audit
What we check in the free audit
- Count referrals carrying whatever join key both parties agree on, usually a hashed identifier
- Follow one real conversion end to end
- Check precedence between referral and paid parameters
- Write down both parties' conversion definitions before writing any query
- Read the match rate, not the success message
Checked against
Orders flagged by whether a referral produced them, with both reward costs recorded.
Free30 minutesNo obligation
Friendbuy → Snowflake · when not to buy
When you don't need this — Friendbuy → Snowflake
- Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry whatever join key both parties agree on, usually a hashed identifier.
- No referral programme means no conflict and this is an ordinary store integration.
- 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.
Friendbuy → Snowflake · what we deliver
What gets built — Friendbuy → Snowflake
Identifier capture into Friendbuy
Apply an explicit precedence rule between referral and paid parameters and record both on the order.
Event source: your order feed with referral attribution
Send orders net of both referral rewards, with referral-sourced orders marked and held out of paid conversion imports.
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 and should reclaim rewards.
Written guarantee
95%+ tracking accuracy
Measured against Orders flagged by whether a referral produced them, with both reward costs recorded.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Friendbuy → Snowflake questions, answered
Join orders to Friendbuy reward records on order ID and add the friend discount and advocate reward per order, using reward status after the holding period.
Yes. The overlap between referral orders and paid clicks can only be measured where both exist in the same tables.
Almost always because whatever join key both parties agree on, usually a hashed identifier never reached the Friendbuy referral. Referral links route through Friendbuy and land on your store with their own parameters, potentially overwriting a stored paid identifier. Measure coverage before debugging the dispatch.
There is no vendor identifier. In a data share or clean room the key is negotiated: hashed email, order ID, a partner-supplied ID. Normalisation before hashing is the entire match rate, and a formatting difference between two organisations looks exactly like a poor-performing partnership.
Your order feed with referral attribution. Send orders net of both referral rewards, with referral-sourced orders marked and held out of paid conversion imports.
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.
More on Friendbuy → Snowflake
- Stripe → SnowflakeConnecting Stripe to Snowflake
- PayPal → SnowflakeConnecting PayPal to Snowflake
- Shopify → SnowflakeConnecting Shopify to Snowflake
RELATED GUIDES
Where Friendbuy → Snowflake fits in the rest of your tracking
- Extole → SnowflakeConnecting Extole to Snowflake
- ReferralCandy → SnowflakeConnecting ReferralCandy to Snowflake
- Talkable → SnowflakeConnecting Talkable to Snowflake
- Friendbuy → SegmentConnecting Friendbuy to Segment
- Friendbuy → BigQueryConnecting Friendbuy to BigQuery
- Subscription boxesConversion tracking for subscription boxes, measured in retained subscribers
Free · 30 min
Get Friendbuy and Snowflake joined properly
Free30 minutesNo obligation
