Skip to main content
Rewardful → SnowflakeIntegration guide

Connecting Rewardful to Snowflake

Rewardful reads directly from Stripe, which makes it unusually accurate about revenue and unusually blind to everything that happened before the customer reached checkout. 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 Rewardful 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

Rewardful and Stripe in Snowflake: where the overlap gets measured

Snowflake is the best destination for Rewardful data. Load Stripe customers, subscriptions and invoices plus Rewardful affiliates, referrals and commissions from its API, joined on the Stripe customer ID, with paid click IDs from Stripe metadata. Key commissions on the Rewardful commission ID, load their state changes as slowly changing rows, and keep Stripe timestamps in UTC.

Snowflake is the best destination for Rewardful data, because the question that matters, how many customers were both affiliate-referred and paid-acquired, is a join, and no ad platform will do it. Load Stripe customers, subscriptions and invoices, then load Rewardful affiliates, referrals and commissions from its API, and join on the Stripe customer ID that Rewardful already records.

The paid identifiers come from Stripe customer metadata, which is why they need to be written there at checkout. With gclid, fbclid or UTM values in the same table as the Rewardful referral, the overlap is a query, and commission cost per customer can sit next to media cost per customer for the same cohort. Use the Rewardful commission ID as the key for commission rows and the Stripe invoice ID for revenue rows, with a scheduled deduplication step, since retried syncs load the same rows twice.

Watch two traps. Rewardful commissions move through states, from pending to due to paid, and voided on refund, so load them as slowly changing rows rather than overwriting, or historical commission cost silently drops. And store Stripe timestamps in UTC; a commission period calculated in local time disagrees with Rewardful's own reports at every month boundary.

Rewardful → Snowflake · what breaks

Why this join usually fails — Rewardful → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier never reaches Rewardful

    The referral cookie is set on click and read at checkout; a paid identifier stored earlier is invisible to Rewardful entirely.

  2. 02

    Accurate revenue, invisible overlap

    Rewardful will tell you exactly what an affiliate earned and nothing about whether you also paid Google for the same customer. Putting both identifiers in Stripe metadata is the cheapest fix available and almost nobody does it.

  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.

Rewardful → Snowflake · the fix

What working looks like — Rewardful → 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

Rewardful → Snowflake · architecture

How Rewardful and Snowflake actually connect

  1. 1

    Rewardful holds the truth

    Because it reads Stripe, the revenue figure is right. What it cannot see is the paid click that preceded the referral link, which is exactly the overlap you need to measure.

  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 Rewardful referral.

  4. 4

    The event source decides reliability

    Send new subscriptions net of commission, with the referral flag from Stripe metadata.

  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.

Rewardful → Snowflake · normal or broken

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

Normal, not a fault

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

  • Sent from the Stripe subscription with Rewardful 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

    The referral cookie is set on click and read at checkout; a paid identifier stored earlier is invisible to Rewardful entirely.

  • Sent from the browser

    Rewardful will tell you exactly what an affiliate earned and nothing about whether you also paid Google for the same customer. Putting both identifiers in Stripe metadata is the cheapest fix available and almost nobody does it.

  • 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

Rewardful → Snowflake · diagnose

Diagnostic order — Rewardful → Snowflake

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether Stripe customer metadata holds both identifiers

    If it holds only one, the overlap between affiliate and paid is unmeasurable after the fact.

  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.

Rewardful → Snowflake · prove

How it gets proven — Rewardful → Snowflake

Source of truth

Stripe subscriptions flagged by referral, with commission calculated on actual Stripe revenue.

  • 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.
  • New subscriptions reconciled in Stripe with both referral and paid identifiers present, and the overlap stated.

Rewardful → 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 whether Stripe customer metadata holds both identifiers
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Stripe subscriptions flagged by referral, with commission calculated on actual Stripe revenue.

Get my free conversion tracking audit

Free30 minutesNo obligation

Rewardful → Snowflake · when not to buy

When you don't need this — Rewardful → 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.
  • If you run no paid media alongside the affiliate programme, there is no overlap to measure.
  • 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.

Rewardful → Snowflake · what we deliver

What gets built — Rewardful → Snowflake

  • Identifier capture into Rewardful

    Store the paid identifier in Stripe customer metadata alongside the referral, so the overlap is visible in one place.

  • Event source: the Stripe subscription with Rewardful attribution

    Send new subscriptions net of commission, with the referral flag from Stripe metadata.

  • 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

    Cancellations and refunds reverse in both systems.

Written guarantee

95%+ tracking accuracy

Measured against Stripe subscriptions flagged by referral, with commission calculated on actual Stripe revenue.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Rewardful → Snowflake questions, answered

Load Stripe and Rewardful into Snowflake and join on Stripe customer ID, with paid click IDs or UTMs stored in Stripe metadata. Customers with both a referral and a paid identifier are the overlap.

Free · 30 min

Get Rewardful and Snowflake joined properly

Free30 minutesNo obligation