Skip to main content
Smile.io → SnowflakeIntegration guide

Connecting Smile.io to Snowflake

Smile.io issues points that customers redeem later, which means every point awarded is a liability and every redemption is a discount against a future order. 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 Smile.io points redemption 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

Smile.io in Snowflake: points liability as a queryable table

Land store orders, Smile.io points transactions with their order IDs, and member balances in Snowflake, through a connector, API polling or raw webhook tables. Deduplicate on the points transaction ID in a scheduled step. Outstanding liability becomes a query, and joining to the acquisition source on first orders gives margin by channel after loyalty cost.

Snowflake is where Smile.io's real cost finally becomes visible. Land three things: orders from your store, points transactions from Smile.io with the order ID they relate to, and current member balances. With those, outstanding liability is a query: unredeemed points, times your historical redemption rate, times the cash value of a point. No marketing dashboard shows that number, and it is what every points-earning order actually costs.

Getting Smile.io data out is the first decision. Check whether your ETL tool has a Smile.io connector; otherwise poll the API or record webhooks into a raw table. Webhook deliveries can arrive twice, so keep the raw payload and deduplicate on the points transaction ID in a scheduled step, not at insert. A replayed batch otherwise doubles points earned for a day and inflates the liability you report.

Once orders and points live together, join them to the acquisition source stored on the first order. The useful output is margin by channel after loyalty cost: a paid channel whose customers redeem heavily may look strong on first-order ROAS and weak once their redemptions are netted out. That is a question only a warehouse join can answer, and it is the reason to bother with this pair at all.

Smile.io → Snowflake · what breaks

Why this join usually fails — Smile.io → Snowflake

  1. 01

    Whatever join key both parties agree on, usually a hashed identifier never reaches Smile.io

    The rewards widget renders in a Smile-served frame that does not share your page's storage.

  2. 02

    Points liability invisible in the conversion value

    An order that awards points is worth its value minus the eventual redemption. Reporting the gross figure on every order overstates margin by the whole cost of the loyalty programme.

  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.

Smile.io → Snowflake · the fix

What working looks like — Smile.io → Snowflake

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

  • 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

Smile.io → Snowflake · architecture

How Smile.io and Snowflake actually connect

  1. 1

    Smile.io holds the truth

    A redeemed order is retention revenue at a reduced margin. Crediting it to the paid click that acquired the customer originally counts one acquisition twice and at the wrong value.

  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 Smile.io points redemption.

  4. 4

    The event source decides reliability

    Send orders net of the discount points redeemed, with first orders and reward-driven repeats marked.

  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.

Smile.io → Snowflake · normal or broken

Working vs. broken, side by side — Smile.io → Snowflake

Normal, not a fault

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

  • Sent from your order feed with Smile attributes attached

  • 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 rewards widget renders in a Smile-served frame that does not share your page's storage.

  • Sent from the browser

    An order that awards points is worth its value minus the eventual redemption. Reporting the gross figure on every order overstates margin by the whole cost of the loyalty programme.

  • 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

Smile.io → Snowflake · diagnose

Diagnostic order — Smile.io → Snowflake

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare gross order value against value net of points issued and redeemed

    The gap is the programme's real cost, and it is rarely in any marketing report.

  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.

Smile.io → Snowflake · prove

How it gets proven — Smile.io → Snowflake

Source of truth

Store orders flagged by whether points were earned or redeemed on them.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live redemption.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • First orders reconciled against imported conversions, with redemption-driven orders reported separately.

Smile.io → Snowflake · free audit

What we check in the free audit

  • Count redemptions carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Compare gross order value against value net of points issued and redeemed
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Store orders flagged by whether points were earned or redeemed on them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Smile.io → Snowflake · when not to buy

When you don't need this — Smile.io → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • If you run no loyalty programme, this reduces to 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.

Smile.io → Snowflake · what we deliver

What gets built — Smile.io → Snowflake

  • Identifier capture into Smile.io

    Capture on your own domain before the widget loads and record points activity on the order so acquisition and retention stay separable.

  • Event source: your order feed with Smile attributes attached

    Send orders net of the discount points redeemed, with first orders and reward-driven repeats marked.

  • 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 claw back awarded points.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by whether points were earned or redeemed on them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Smile.io → Snowflake questions, answered

Check whether your ETL tool has a Smile.io connector. Otherwise pull from the Smile.io API on a schedule, or store webhook payloads in a raw table and deduplicate them on the transaction ID.

Free · 30 min

Get Smile.io and Snowflake joined properly

Free30 minutesNo obligation