Skip to main content
OneTrust → Customer.ioIntegration guide

Connecting OneTrust to Customer.io

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. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the OneTrust consent record before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

OneTrust and Customer.io: preference topics before cookie flags

For Customer.io, map each OneTrust preference center purpose to a Customer.io attribute or subscription topic on the same person identifier, and filter each message on it, not just the trigger. Gate the Customer.io JavaScript snippet behind the banner category counsel assigns. Push preference changes as they happen rather than nightly, so a withdrawal stops the next send.

For Customer.io, the OneTrust product that matters most is usually the preference center, not the cookie banner. Customer.io sends messages to a person you identify, and the consent that governs that is a marketing preference by topic, not whether the visitor allowed targeting cookies. Map each OneTrust preference purpose to a Customer.io attribute or subscription topic, keyed on the same person identifier, and let campaign filters read it.

The banner still gates Customer.io's JavaScript snippet, which tracks page views and identifies visitors in the browser. If the snippet loads before consent, anonymous activity is collected and later merged into the profile of someone who declined. Gate it on the category counsel assigns and accept that browsing-triggered campaigns, such as a viewed-pricing email, will only ever reach consenting visitors.

Because Customer.io acts on arrival, the risk specific to this pair is a consent change that arrives late. A person unsubscribes in the OneTrust preference center at 10 a.m., the sync runs nightly, and the 2 p.m. campaign sends anyway. Push preference changes to Customer.io as they happen, and add the consent attribute as a filter on each message in a campaign, not only on its trigger, so a mid-campaign withdrawal still stops the next send.

OneTrust → Customer.io · what breaks

Why this join usually fails — OneTrust → Customer.io

  1. 01

    The person identifier you assign 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 test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

OneTrust → Customer.io · the fix

What working looks like — OneTrust → Customer.io

  • The person identifier you assign on every consent record

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

OneTrust → Customer.io · architecture

How OneTrust and Customer.io 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

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, 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

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

OneTrust → Customer.io · normal or broken

Working vs. broken, side by side — OneTrust → Customer.io

Normal, not a fault

  • The person identifier you assign present on the consent record

  • Sent from your order system, gated on the consent record

  • Deduplicated correctly

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

Actually broken

  • The person identifier you assign 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

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

OneTrust → Customer.io · diagnose

Diagnostic order — OneTrust → Customer.io

  1. 01

    Count consent records carrying the person identifier you assign

  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

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

OneTrust → Customer.io · prove

How it gets proven — OneTrust → Customer.io

Source of truth

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

  • The person identifier you assign confirmed present on a live consent record.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • Consented conversions reconciled against imported figures, with the consent rate stated explicitly in the report.

OneTrust → Customer.io · free audit

What we check in the free audit

  • Count consent records carrying the person identifier you assign
  • Follow one real conversion end to end
  • Correlate conversion drops against the consent change log first
  • Confirm which workspace you are writing to before sending anything
  • 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 → Customer.io · when not to buy

When you don't need this — OneTrust → Customer.io

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the person identifier you assign.
  • 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 your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

OneTrust → Customer.io · what we deliver

What gets built — OneTrust → Customer.io

  • 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 Customer.io

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

  • 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 → Customer.io questions, answered

Not directly. Email permission comes from marketing preferences; cookie consent controls the tracking snippet. Keep both in Customer.io as separate attributes.

Free · 30 min

Get OneTrust and Customer.io joined properly

Free30 minutesNo obligation