Skip to main content
Optimizely → SnowflakeIntegration guide

Connecting Optimizely to Snowflake

Optimizely deliberately shows different people different experiences, which means every conversion figure your ad platform reports is an average across variants it knows nothing about. 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 Optimizely variant assignment 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

Joining Optimizely exposures to orders in Snowflake

In Snowflake, join Optimizely decision events, from an event export, warehouse-native analytics or your own decision log, to orders. Take the first exposure per user per experiment, count only later orders, store both timestamps in UTC, deduplicate rows on their IDs in a scheduled step, and keep refunds as separate rows for net revenue per variant.

Snowflake is the natural home for this pair because the join the spec describes, orders by variant, is a query once both tables are there. The assignment side comes from Optimizely's decision events; check whether your plan gives you an event export or Optimizely's warehouse-native analytics on Snowflake, and if neither, log decisions from your own code to a table with user ID, experiment, variation and timestamp.

The modeling details decide whether the result is right. Feature Experimentation can log a decision every time a flag is evaluated, so take the first exposure per user per experiment and discard the rest. Only count orders whose timestamp falls after that exposure. Store timestamps in UTC on both sides; an order table in local time shifts conversions across the exposure boundary for every customer near midnight.

Loads are at-least-once, so deduplicate decision and order rows on their own IDs in a scheduled step, not in each analyst's query. Keep refunds as separate rows tied to the original order so net revenue per variant can be computed. Then send per-variant figures nowhere: the media team reads them from the warehouse, which is the only place both the experiment and the campaign data sit together.

Optimizely → Snowflake · what breaks

Why this join usually fails — Optimizely → Snowflake

  1. 01

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

    Client-side experiments can flicker and can delay rendering, which loses landing-page identifier capture on slow connections — a bias that falls unevenly across variants.

  2. 02

    An experiment silently confounding every campaign result

    A test that moves conversion rate by fifteen percent will move every campaign's measured performance by some fraction of that, and the media team will attribute it to bidding, creative or seasonality. Anything but the test.

  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.

Optimizely → Snowflake · the fix

What working looks like — Optimizely → Snowflake

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

  • 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

Optimizely → Snowflake · architecture

How Optimizely and Snowflake actually connect

  1. 1

    Optimizely holds the truth

    The variant is the missing dimension. Without it, a campaign's performance is confounded by an experiment nobody told the media team about, and both teams will draw confident, wrong conclusions.

  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 Optimizely variant assignment.

  4. 4

    The event source decides reliability

    Send purchases with the variant as a custom dimension, so campaign performance can be read per variant rather than blended.

  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.

Optimizely → Snowflake · normal or broken

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

Normal, not a fault

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

  • Sent from your order system with variant 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

    Client-side experiments can flicker and can delay rendering, which loses landing-page identifier capture on slow connections — a bias that falls unevenly across variants.

  • Sent from the browser

    A test that moves conversion rate by fifteen percent will move every campaign's measured performance by some fraction of that, and the media team will attribute it to bidding, creative or seasonality. Anything but the test.

  • 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

Optimizely → Snowflake · diagnose

Diagnostic order — Optimizely → Snowflake

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Check for running experiments before diagnosing a performance change

    First question, not last. It costs one minute and explains a surprising share of unexplained movements.

  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.

Optimizely → Snowflake · prove

How it gets proven — Optimizely → Snowflake

Source of truth

Your order system, joined to the variant each customer was assigned.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live assignment.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • Orders reconciled per variant against imported conversions over the full experiment window.

Optimizely → Snowflake · free audit

What we check in the free audit

  • Count assignments carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Check for running experiments before diagnosing a performance change
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Your order system, joined to the variant each customer was assigned.

Get my free conversion tracking audit

Free30 minutesNo obligation

Optimizely → Snowflake · when not to buy

When you don't need this — Optimizely → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred assignments and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • If you are not running experiments on pages in the paid funnel, there is no confound and nothing to integrate.
  • 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.

Optimizely → Snowflake · what we deliver

What gets built — Optimizely → Snowflake

  • Identifier capture into Optimizely

    Capture the identifier before the experiment framework initializes, and pass the variant assignment as a dimension alongside it.

  • Event source: your order system with variant attached

    Send purchases with the variant as a custom dimension, so campaign performance can be read per variant rather than blended.

  • 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 retain the variant dimension.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, joined to the variant each customer was assigned.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Optimizely → Snowflake questions, answered

Check whether your Optimizely plan includes an event export or warehouse-native analytics. Otherwise log each decision from your application to a Snowflake table with user ID, experiment, variation and time.

Free · 30 min

Get Optimizely and Snowflake joined properly

Free30 minutesNo obligation