Skip to main content
Complianz → Customer.ioIntegration guide

Connecting Complianz to Customer.io

Complianz is a WordPress consent plugin that blocks scripts by category automatically, which means a plugin update can change what fires on your site without anyone deciding to. 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 Complianz 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

Complianz to Customer.io: anonymous browsing that never merges

Complianz decides whether Customer.io's JavaScript snippet records anonymous page views before someone identifies, so browse-triggered campaigns shouldn't fire on unconsented data. Transactional messages sent from your server must never depend on the banner. Send the Complianz state to Customer.io as a person attribute and make it a condition on every behavioral campaign.

Customer.io's JavaScript snippet on a WordPress site records page views as anonymous activity and merges it into a person when they identify, by signing up, logging in or checking out. Complianz decides whether the snippet runs before that moment. If it is blocked until consent, everything a declined visitor browsed before identifying is absent, and browse-abandonment or interest-based campaigns never trigger for them.

That is the right result for declined visitors; the risk is acting on data you should not have. A campaign that fires on viewing a pricing page assumes the page view was collected with consent. Under a US opt-out banner the snippet runs by default, and a person who opts out of sale or sharing must stop being tracked from that point. Check whether Complianz stops the snippet on the current page after an opt-out, or only stops loading it on the next one.

Keep transactional and behavioral messaging apart. An order confirmation or password reset sent by Customer.io from your server does not depend on Complianz and must not be blocked by it. A browsing-triggered marketing email does. The cleanest setup sends the visitor's Complianz consent state to Customer.io as a person attribute and makes it a condition on every behavioral campaign, so a later change of mind is respected without rebuilding campaigns.

Complianz → Customer.io · what breaks

Why this join usually fails — Complianz → Customer.io

  1. 01

    The person identifier you assign never reaches Complianz

    Scripts are blocked before execution, and WordPress caching can serve a page with the wrong consent state entirely.

  2. 02

    Caching serving the wrong consent state

    A full-page cache does not know who is asking. A page cached for a consented visitor and served to one who declined runs scripts that should not have run, which is a compliance problem rather than a measurement one.

  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.

Complianz → Customer.io · the fix

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

Complianz → Customer.io · architecture

How Complianz and Customer.io actually connect

  1. 1

    Complianz holds the truth

    Automatic script blocking on WordPress interacts with every other plugin. A caching plugin, a tag manager and a consent plugin all touching the same page produce ordering problems nobody planned.

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

  4. 4

    The event source decides reliability

    Send consented conversions with the consent rate stated.

  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.

Complianz → Customer.io · normal or broken

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

Normal, not a fault

  • The person identifier you assign present on the consent record

  • Sent from your order system, gated on consent

  • 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

    Scripts are blocked before execution, and WordPress caching can serve a page with the wrong consent state entirely.

  • Sent from the browser

    A full-page cache does not know who is asking. A page cached for a consented visitor and served to one who declined runs scripts that should not have run, which is a compliance problem rather than a measurement one.

  • 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

Complianz → Customer.io · diagnose

Diagnostic order — Complianz → Customer.io

  1. 01

    Count consent records carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

  3. 03

    Test consent behaviour with caching enabled, not disabled

    Most consent testing is done with cache off, which is the one configuration that never runs in production.

  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.

Complianz → Customer.io · prove

How it gets proven — Complianz → Customer.io

Source of truth

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

  • 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, verified with production caching active.

Complianz → 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
  • Test consent behaviour with caching enabled, not disabled
  • 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 consent state recorded at the time of the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

Complianz → Customer.io · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the person identifier you assign.
  • Sites without full-page caching avoid the interaction, though the category classification still matters.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

Complianz → Customer.io · what we deliver

What gets built — Complianz → Customer.io

  • Identifier capture into Complianz

    Verify which category your capture script sits in, and check that caching does not serve a consented page to a non-consented visitor.

  • Event source: your order system, gated on consent

    Send consented conversions with the consent rate stated.

  • 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 stops future sends.

Written guarantee

95%+ tracking accuracy

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

Get my free conversion tracking audit

From $400 · See packages

FAQ

Complianz → Customer.io questions, answered

If the Customer.io snippet is in a blocked category, it does not run until consent, so declined visitors' pages are never recorded. Check behavior after an opt-out too, not only on first load.

Free · 30 min

Get Complianz and Customer.io joined properly

Free30 minutesNo obligation