Skip to main content
LeadDyno → SnowflakeIntegration guide

Connecting LeadDyno to Snowflake

LeadDyno targets smaller businesses running their first affiliate programme, where the most common outcome is paying commission on customers who would have bought anyway. 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 LeadDyno 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

Auditing LeadDyno commission against Snowflake order history

Snowflake audits LeadDyno commission against full order history: join referrals and commissions on order ID, with hashed email as fallback, to see whether commissioned buyers ordered before or are the affiliate. Load through export, API pulls or staged CSVs, keep raw rows including reversals, and upsert on LeadDyno's record ID. Align time zones for monthly reconciliation.

Snowflake is the right place to check the existing-customer leak properly. Load LeadDyno's referrals and commissions into Snowflake beside your order table, then join on order ID, with hashed email as a fallback. For each commissioned order, you can see whether the customer had a previous order, how long before, and whether the buyer's email belongs to the affiliate. One query answers whether your commission rule needs a new-customer condition.

Check whether LeadDyno offers a direct export to Snowflake. If it does not, a scheduled pull from LeadDyno's API or regular CSV exports landed in a stage will do. Keep the raw LeadDyno rows, including reversals, and build the clean table from them. LeadDyno reverses a commission when a refund arrives, so a referral's status changes after the fact. Each load must upsert on LeadDyno's own record ID, or reversals become new rows and commission totals inflate.

Watch timestamps. LeadDyno and your store may record times in different zones, and an order near midnight can fall into a different month in each, enough to break a monthly reconciliation. Use the result as a monthly report of affiliate revenue, net of commission, split by new and existing customers.

LeadDyno → Snowflake · what breaks

Why this join usually fails — LeadDyno → Snowflake

  1. 01

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

    Affiliate links land on your store carrying parameters that may overwrite a paid identifier already stored.

  2. 02

    Paying commission on existing customers

    First affiliate programmes almost always leak this way. Without a new-customer condition on the commission rule, you are paying a percentage on repeat purchases you would have received for nothing.

  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.

LeadDyno → Snowflake · the fix

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

LeadDyno → Snowflake · architecture

How LeadDyno and Snowflake actually connect

  1. 1

    LeadDyno holds the truth

    New programmes frequently recruit existing customers as affiliates, who then refer themselves or their own repeat purchases. That is commission on revenue you already had.

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

  4. 4

    The event source decides reliability

    Send orders net of commission, with new-versus-existing customer status recorded.

  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.

LeadDyno → Snowflake · normal or broken

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

Normal, not a fault

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

  • Sent from your order record with affiliate 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

    Affiliate links land on your store carrying parameters that may overwrite a paid identifier already stored.

  • Sent from the browser

    First affiliate programmes almost always leak this way. Without a new-customer condition on the commission rule, you are paying a percentage on repeat purchases you would have received for nothing.

  • 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

LeadDyno → Snowflake · diagnose

Diagnostic order — LeadDyno → 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

    Count affiliate-attributed orders from customers who already existed

    If the share is high, the fix is the commission rule rather than the tracking.

  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.

LeadDyno → Snowflake · prove

How it gets proven — LeadDyno → Snowflake

Source of truth

Orders flagged by affiliate, with the customer's prior relationship 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.
  • Affiliate orders reconciled net of commission, split by new versus existing customer.

LeadDyno → 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
  • Count affiliate-attributed orders from customers who already existed
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Orders flagged by affiliate, with the customer's prior relationship recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

LeadDyno → Snowflake · when not to buy

When you don't need this — LeadDyno → 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.
  • Programmes already restricted to new customers do not have this leak.
  • 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.

LeadDyno → Snowflake · what we deliver

What gets built — LeadDyno → Snowflake

  • Identifier capture into LeadDyno

    Set precedence explicitly and record whether the referred customer was already known to you.

  • Event source: your order record with affiliate attribution

    Send orders net of commission, with new-versus-existing customer status recorded.

  • 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 reclaim commission.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by affiliate, with the customer's prior relationship recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LeadDyno → Snowflake questions, answered

Check for a native export first. Otherwise pull referrals and commissions from LeadDyno's API, or land CSV exports on a schedule, and upsert on LeadDyno's record ID so reversals update existing rows.

Free · 30 min

Get LeadDyno and Snowflake joined properly

Free30 minutesNo obligation