Connecting Chargebee to Customer.io
Chargebee is a billing system, so it holds the only complete record of what a subscription business earned — and it sits entirely outside the browser. 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 Chargebee subscription 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
Chargebee into Customer.io without blank plan names
Chargebee webhooks carry item price codes, so map them to plan names before sending events to Customer.io, or templates render blank. Key on your user ID stored on the Chargebee customer, since billing emails change in the portal. Send first payment, plan change, scheduled cancellation and payment failed as events, renewals as attributes, and skip repeated event IDs.
Customer.io will happily trigger a campaign from a Chargebee event even when the attributes the message uses are missing. The classic result is an upgrade email that reads "Thanks for moving to ." because the webhook carried a plan identifier and the template expected a friendly name. In Chargebee's newer product catalog, subscriptions reference item price IDs, which are codes, not display names. Map them to names in your backend before sending the event.
Key events on the person identifier Customer.io already uses. If that is email, remember that customers can change their billing email in Chargebee's portal; the next webhook then carries an address Customer.io has never seen and creates a second person, who enters every campaign again. Keying on your own user ID, stored on the Chargebee customer, avoids that.
Send first payment, plan change, cancellation scheduled and payment failed as named events with the attributes their campaigns reference, and send renewals as attribute updates. Chargebee retries webhooks and Customer.io does not deduplicate, so a retried cancellation can enter a win-back workflow twice; keep a record of processed Chargebee event IDs and skip repeats.
Chargebee → Customer.io · what breaks
Why this join usually fails — Chargebee → Customer.io
- 01
The person identifier you assign never reaches Chargebee
The identifier must live on the customer or subscription so it survives a trial period that is longer than any browser cookie you can rely on. Chargebee's hosted checkout is also a different origin, so nothing crosses it by default.
- 02
Trials longer than any cookie
The gap between signup and first payment is where the identifier has to survive, and it is measured in weeks. Browser storage will not do it.
- 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.
Chargebee → Customer.io · the fix
What working looks like — Chargebee → Customer.io
The person identifier you assign on every subscription
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
Chargebee → Customer.io · architecture
How Chargebee and Customer.io actually connect
- 1
Chargebee holds the truth
The distinction that matters most here is invoice generated versus payment succeeded. An invoice is a bill you sent; a payment is money you received, and in any business with dunning the gap between them is large.
- 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 Chargebee subscription.
- 4
The event source decides reliability
Fire on payment succeeded, not invoice generated, and key the conversion on the billing period so a dunning sequence with four retries produces one conversion rather than four.
- 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.
Chargebee → Customer.io · normal or broken
Working vs. broken, side by side — Chargebee → Customer.io
Normal, not a fault
The person identifier you assign present on the subscription
Sent from the Chargebee payment_succeeded webhook
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 must live on the customer or subscription so it survives a trial period that is longer than any browser cookie you can rely on. Chargebee's hosted checkout is also a different origin, so nothing crosses it by default.
Sent from the browser
The gap between signup and first payment is where the identifier has to survive, and it is measured in weeks. Browser storage will not do it.
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
Chargebee → Customer.io · diagnose
Diagnostic order — Chargebee → Customer.io
- 01
Count subscriptions carrying the person identifier you assign
- 02
Follow one real conversion end to end
- 03
Check whether the event fires on invoice or on payment
Invoice-based firing counts money you have not received, and in a business with dunning that overstates consistently.
- 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.
Chargebee → Customer.io · prove
How it gets proven — Chargebee → Customer.io
Source of truth
Chargebee's paid invoices by payment date, net of refunds and failed payments.
- The person identifier you assign confirmed present on a live subscription.
- Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
- A dunning sequence confirmed to produce one conversion rather than one per retry.
Chargebee → Customer.io · free audit
What we check in the free audit
- Count subscriptions carrying the person identifier you assign
- Follow one real conversion end to end
- Check whether the event fires on invoice or on payment
- Confirm which workspace you are writing to before sending anything
- Read the match rate, not the success message
Checked against
Chargebee's paid invoices by payment date, net of refunds and failed payments.
Free30 minutesNo obligation
Chargebee → Customer.io · when not to buy
When you don't need this — Chargebee → Customer.io
- Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the person identifier you assign.
- If your trial is longer than 90 days, uploading the first payment against the original click cannot work — we will tell you that before quoting.
- If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.
Chargebee → Customer.io · what we deliver
What gets built — Chargebee → Customer.io
Identifier capture into Chargebee
Write the click identifier to a custom field on the Chargebee customer or subscription when the subscription is created, server-side, rather than relying on the hosted checkout page to carry it.
Event source: the Chargebee payment_succeeded webhook
Fire on payment succeeded, not invoice generated, and key the conversion on the billing period so a dunning sequence with four retries produces one conversion rather than four.
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
Cancellations and refunds are exposed and should reverse the lifetime value claimed at acquisition.
Written guarantee
95%+ tracking accuracy
Measured against Chargebee's paid invoices by payment date, net of refunds and failed payments.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Chargebee → Customer.io questions, answered
The event carries Chargebee's item price ID rather than a display name. Translate it to a readable name before sending the event.
The billing email changed in Chargebee and the event was keyed on email. Key on your own user ID instead.
Almost always because the person identifier you assign never reached the Chargebee subscription. The identifier must live on the customer or subscription so it survives a trial period that is longer than any browser cookie you can rely on. Chargebee's hosted checkout is also a different origin, so nothing crosses it by default. 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.
The Chargebee payment_succeeded webhook. Fire on payment succeeded, not invoice generated, and key the conversion on the billing period so a dunning sequence with four retries produces one conversion rather than four.
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 Chargebee → 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 Chargebee → Customer.io fits in the rest of your tracking
- Adyen → Customer.ioConnecting Adyen to Customer.io
- Sezzle → Customer.ioConnecting Sezzle to Customer.io
- Zuora → Customer.ioConnecting Zuora to Customer.io
- Chargebee → AttentiveConnecting Chargebee to Attentive
- Chargebee → BrazeConnecting Chargebee to Braze
- Financial servicesConversion tracking for financial services, built for the compliance review
- Square → Customer.ioConnecting Square to Customer.io
- Worldpay → Customer.ioConnecting Worldpay to Customer.io
Free · 30 min
Get Chargebee and Customer.io joined properly
Free30 minutesNo obligation
