Connecting Optimizely to Customer.io
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. 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 Optimizely variant assignment 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
Optimizely and Customer.io: keep the variant out of campaign triggers
Send the Optimizely variation key to Customer.io as a person attribute or event property for reporting, not as a campaign trigger, then compare activation and nurture conversions per variant. Because Optimizely buckets anonymous visitors before Customer.io creates the person, carry the variation through the signup form or read it server-side at account creation.
Customer.io acts on attributes the moment they arrive, which makes it easy to turn an Optimizely variant into a campaign condition without meaning to. If a variant offers a trial extension or a different pricing page, it can be tempting to send a variant-specific follow-up email. That makes the test measure the page plus an email, not the page, and it keeps running after you stop the experiment unless someone removes the condition.
The useful pattern is reporting rather than triggering. Send the variation key as a person attribute or event property when the visitor is identified, then compare downstream behavior in Customer.io per variant: activation emails opened, onboarding steps completed, conversions from the trial nurture. Signup tests often win on signup count and lose on activation, and Customer.io has the activation data.
Identity timing is the catch. Optimizely buckets anonymous visitors on a cookie or anonymous ID before signup, and Customer.io may only create the person at signup. Carry the variation through the signup form or read it server-side at account creation, otherwise the attribute is missing for exactly the people the experiment converted.
Optimizely → Customer.io · what breaks
Why this join usually fails — Optimizely → Customer.io
- 01
The person identifier you assign 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.
- 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.
- 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.
- 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.
Optimizely → Customer.io · the fix
What working looks like — Optimizely → Customer.io
The person identifier you assign on every assignment
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
Optimizely → Customer.io · architecture
How Optimizely and Customer.io actually connect
- 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
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
The identifier is the bridge
The person identifier you assign, captured at the visit and carried into the Optimizely variant assignment.
- 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
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.
Optimizely → Customer.io · normal or broken
Working vs. broken, side by side — Optimizely → Customer.io
Normal, not a fault
The person identifier you assign present on the assignment
Sent from your order system with variant attached
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
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
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
Optimizely → Customer.io · diagnose
Diagnostic order — Optimizely → Customer.io
- 01
Count assignments carrying the person identifier you assign
- 02
Follow one real conversion end to end
- 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.
- 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.
- 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.
Optimizely → Customer.io · prove
How it gets proven — Optimizely → Customer.io
Source of truth
Your order system, joined to the variant each customer was assigned.
- The person identifier you assign confirmed present on a live assignment.
- Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
- Orders reconciled per variant against imported conversions over the full experiment window.
Optimizely → Customer.io · free audit
What we check in the free audit
- Count assignments carrying the person identifier you assign
- Follow one real conversion end to end
- Check for running experiments before diagnosing a performance change
- Confirm which workspace you are writing to before sending anything
- Read the match rate, not the success message
Checked against
Your order system, joined to the variant each customer was assigned.
Free30 minutesNo obligation
Optimizely → Customer.io · when not to buy
When you don't need this — Optimizely → Customer.io
- Measure identifier coverage yourself first — pull your last hundred assignments and count how many carry the person identifier you assign.
- If you are not running experiments on pages in the paid funnel, there is no confound and nothing to integrate.
- If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.
Optimizely → Customer.io · what we deliver
What gets built — Optimizely → Customer.io
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 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
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.
From $400 · See packages
FAQ
Optimizely → Customer.io questions, answered
Record the variation key at signup or identification as a person attribute or event property, carried from the anonymous visit.
Generally not during the test, since it changes what the experiment measures. Use the variant for reporting on activation and retention instead.
Almost always because the person identifier you assign never reached the Optimizely variant assignment. 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. Measure coverage before debugging the dispatch.
Customer.io identifies people by an ID you control, with email as a common choice. Anonymous events can be sent and later merged, but a mismatch creates a second profile — and a second profile means a second copy of every campaign that person is enrolled in.
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.
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.
More on Optimizely → Customer.io
- Stripe → Customer.ioConnecting Stripe to Customer.io
- PayPal → Customer.ioConnecting PayPal to Customer.io
- Shopify → Customer.ioConnecting Shopify to Customer.io
RELATED GUIDES
Where Optimizely → Customer.io fits in the rest of your tracking
- RudderStack → Customer.ioConnecting RudderStack to Customer.io
- Tealium → Customer.ioConnecting Tealium to Customer.io
- Dynamic Yield → Customer.ioConnecting Dynamic Yield to Customer.io
- Optimizely → BrazeConnecting Optimizely to Braze
- Optimizely → Marketing CloudConnecting Optimizely to Salesforce Marketing Cloud
- B2BConversion tracking for B2B, from first touch to closed-won
- mParticle → Customer.ioConnecting mParticle to Customer.io
- VWO → Customer.ioConnecting VWO to Customer.io
Free · 30 min
Get Optimizely and Customer.io joined properly
Free30 minutesNo obligation
