Skip to main content
CookieYes → SnowflakeIntegration guide

Connecting CookieYes to Snowflake

CookieYes serves smaller sites that adopted a consent banner because a plugin suggested it, which frequently means the banner is stricter than the business's legal position requires. 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 CookieYes consent record 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 CookieYes consent IDs to orders in Snowflake

At checkout, read the cookieyes-consent cookie and store its consent ID, category choices, a timestamp and the raw cookie string on the order, then load them into Snowflake with it. The consent ID links each row to CookieYes's own log. Filter any data share or clean room view on the stored advertisement choice, and note when the banner model changed.

CookieYes gives each visitor's choice a consent ID and keeps a consent log. Snowflake is where that ID becomes useful, joined to the orders it applied to. At checkout, read the cookieyes-consent cookie from the request, store the consent ID, the category choices and a timestamp on the order, and load them with the order into Snowflake. Keep the raw cookie string as well; if CookieYes changes its format, you can re-parse history instead of losing it.

That join answers questions a small business otherwise guesses at. What share of revenue comes from customers who accepted advertisement? Did the consent rate change when the banner design changed? If a regulator or customer asks, which consent applied to a specific order? The consent ID links your warehouse row to CookieYes's own log, so you can show the record rather than reconstruct it.

For any data share or clean room built on these tables, filter in the shared view on the stored advertisement choice, so a partner query cannot include orders a decline should exclude. And note when the banner was default-deny versus opt-out: consent rates from the two models are not comparable, and a strict banner a small US site did not need will make every downstream share smaller than necessary.

CookieYes → Snowflake · what breaks

Why this join usually fails — CookieYes → Snowflake

  1. 01

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

    Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor.

  2. 02

    A banner stricter than the law requires

    Plugins default to the strictest setting because that is safest for the plugin vendor. For a business whose customers are all in a market with different rules, that default costs a large share of measurable conversions and buys no protection that was needed.

  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.

CookieYes → Snowflake · the fix

What working looks like — CookieYes → Snowflake

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

  • 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

CookieYes → Snowflake · architecture

How CookieYes and Snowflake actually connect

  1. 1

    CookieYes holds the truth

    For a small business the practical question is often whether the banner configuration matches the obligation. A default-deny banner in a market with no such requirement is data thrown away for nothing.

  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 CookieYes consent record.

  4. 4

    The event source decides reliability

    Send consented conversions with the consent rate stated.

  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.

CookieYes → Snowflake · normal or broken

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

Normal, not a fault

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

  • Sent from your order system, gated on consent

  • 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

    Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor.

  • Sent from the browser

    Plugins default to the strictest setting because that is safest for the plugin vendor. For a business whose customers are all in a market with different rules, that default costs a large share of measurable conversions and buys no protection that was needed.

  • 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

CookieYes → Snowflake · diagnose

Diagnostic order — CookieYes → Snowflake

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm which regulations actually apply to your customer base

    A legal question, not a technical one, and worth answering before accepting a default that costs you a third of your data.

  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.

CookieYes → Snowflake · prove

How it gets proven — CookieYes → Snowflake

Source of truth

Your order system, with consent state attached to the event.

  • Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live consent record.
  • Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
  • Consented conversions reconciled against imported figures, with the configuration checked against the obligation.

CookieYes → Snowflake · free audit

What we check in the free audit

  • Count consent records carrying whatever join key both parties agree on, usually a hashed identifier
  • Follow one real conversion end to end
  • Confirm which regulations actually apply to your customer base
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Your order system, with consent state attached to the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

CookieYes → Snowflake · when not to buy

When you don't need this — CookieYes → Snowflake

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry whatever join key both parties agree on, usually a hashed identifier.
  • This is the common case for small sites: get the legal position confirmed first. The right banner may be considerably lighter than the one installed.
  • 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.

CookieYes → Snowflake · what we deliver

What gets built — CookieYes → Snowflake

  • Identifier capture into CookieYes

    Check the default blocking behaviour against your actual legal obligation, then capture accordingly.

  • Event source: your order system, gated on consent

    Send consented conversions with the consent rate stated.

  • 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

    Withdrawal stops future sends.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with consent state attached to the event.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CookieYes → Snowflake questions, answered

Read the cookieyes-consent cookie at checkout, save the consent ID, category choices and timestamp on the order, and load them with it. Keep the raw cookie value too.

Free · 30 min

Get CookieYes and Snowflake joined properly

Free30 minutesNo obligation