Skip to main content
OneTrust → SnowflakeIntegration guide

Connecting OneTrust to Snowflake

OneTrust sits upstream of every tag on the site, which makes it the single system most able to change your conversion volume overnight without anybody touching a tag. 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 OneTrust 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

OneTrust and Snowflake: point-in-time consent for every conversion

Land OneTrust consent records in Snowflake as a history table, one row per change with identifier, purposes, status and timestamp, deduplicated. Join each conversion to the consent state in effect when it happened, not today's, to build ad-platform files and consented-share reports. Map browser, email and customer identifiers from logins and checkouts where they appear together.

Snowflake is where consent becomes auditable rather than assumed. Land OneTrust's consent records, through whatever export or API access your license provides, as a history table: one row per change, with the identifier, purposes, granted or withdrawn, and a timestamp. Every conversion in the warehouse can then be joined to the consent state in effect at the moment it happened, not the state today.

That point-in-time join is the whole value of this pair. A conversion file for an ad platform should be built from orders whose consent at order time allowed advertising and that have not been withdrawn since; a weekly consented-share dashboard is the same query grouped differently. Most teams instead join on current consent, which wrongly includes people who withdrew yesterday in last month's audit and excludes people who accepted later.

The awkward join is identity. Banner consent is keyed on a browser identifier, preference center consent on email, orders on customer ID. Build the mapping once, from logins and checkouts where both IDs appear together, and accept that anonymous banner decisions that never meet a known identity cannot be tied to anyone. Loads are at-least-once, so deduplicate consent rows on identifier and timestamp before any of this is trusted.

OneTrust → Snowflake · what breaks

Why this join usually fails — OneTrust → Snowflake

  1. 01

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

    The identifier can only be captured after consent is given, so a visitor who consents on the second page has already lost the parameter from the first.

  2. 02

    A governance change that looks like broken tracking

    A privacy team tightens a banner on a Tuesday and a fifth of conversions disappear. The marketing team spends a week debugging tags that are working exactly as configured, because nobody connects the two systems.

  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.

OneTrust → Snowflake · the fix

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

OneTrust → Snowflake · architecture

How OneTrust and Snowflake actually connect

  1. 1

    OneTrust holds the truth

    Consent is not a tracking detail, it is the gate. A conversion from a visitor who declined cannot lawfully be sent to an ad platform, and the share who decline is the ceiling on everything you report.

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

  4. 4

    The event source decides reliability

    Send only conversions where consent for advertising purposes was actually granted, and report the unconsented share as a stated number rather than a gap.

  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.

OneTrust → Snowflake · normal or broken

Working vs. broken, side by side — OneTrust → 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 the consent record

  • 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 identifier can only be captured after consent is given, so a visitor who consents on the second page has already lost the parameter from the first.

  • Sent from the browser

    A privacy team tightens a banner on a Tuesday and a fifth of conversions disappear. The marketing team spends a week debugging tags that are working exactly as configured, because nobody connects the two systems.

  • 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

OneTrust → Snowflake · diagnose

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

    Correlate conversion drops against the consent change log first

    Before touching a tag. In governed environments this explains the drop more often than any technical fault does.

  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.

OneTrust → Snowflake · prove

How it gets proven — OneTrust → Snowflake

Source of truth

Your order or CRM system, with the consent state at the time of the event recorded alongside.

  • 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 consent rate stated explicitly in the report.

OneTrust → 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
  • Correlate conversion drops against the consent change log first
  • Write down both parties' conversion definitions before writing any query
  • Read the match rate, not the success message

Checked against

Your order or CRM system, with the consent state at the time of the event recorded alongside.

Get my free conversion tracking audit

Free30 minutesNo obligation

OneTrust → Snowflake · when not to buy

When you don't need this — OneTrust → 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.
  • If your consent rate is very low, improving the banner experience will do more for your reporting than any tracking build — and that is a design and legal conversation, not a tagging one.
  • 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.

OneTrust → Snowflake · what we deliver

What gets built — OneTrust → Snowflake

  • Identifier capture into OneTrust

    Capture into a pending buffer on landing and only persist and dispatch once consent is recorded — never the reverse, and never 'capture now, ask later'.

  • Event source: your order system, gated on the consent record

    Send only conversions where consent for advertising purposes was actually granted, and report the unconsented share as a stated number rather than a gap.

  • 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 of consent should stop future sends and, where the platform supports it, trigger a deletion request.

Written guarantee

95%+ tracking accuracy

Measured against Your order or CRM system, with the consent state at the time of the event recorded alongside.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

OneTrust → Snowflake questions, answered

Check what export or API access your OneTrust plan includes, then load changes as an append-only history rather than overwriting the current state.

Free · 30 min

Get OneTrust and Snowflake joined properly

Free30 minutesNo obligation