Connecting WooCommerce to Customer.io
WooCommerce keeps the order in your own database, which is both the advantage and the reason nobody has wired it properly. 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 WooCommerce order 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
WooCommerce to Customer.io: purchase events that never send twice
Point any WooCommerce staging copy at a separate Customer.io workspace first. Identify registered buyers by customer ID and guests by email, send the order event with line items, order ID, total, currency and coupon, and record sent order IDs against gateway replays. Map statuses: on-hold gets a payment reminder, and refunds are their own event.
Customer.io acts on events within seconds, and WooCommerce is less single-shot than people assume: some payment gateways call the completion hook again on a retry or webhook replay, and a staging copy of the store, cloned with live plugin settings, will happily send real events about real customers. Point staging at a separate Customer.io workspace before anything else.
Identify people by an ID you control. The WooCommerce customer ID works for registered buyers; guests need email as the identifier, which Customer.io supports, and the two should resolve to one person when a guest later creates an account. Send the order event with line items, order ID, total, currency and coupon, and record sent order IDs in your sender so a repeated call does nothing.
The mistakes customers see come from status mapping. On-hold orders awaiting bank transfer should trigger a payment reminder, not a thank-you. Processing and completed are different moments, and a review request keyed to completed fires the day the order ships, not the day it arrives, so add a delay. Refunds should be their own event so post-purchase upsells stop. Check whether Customer.io's data pipelines offer a WooCommerce source before writing a custom sender.
WooCommerce → Customer.io · what breaks
Why this join usually fails — WooCommerce → Customer.io
- 01
The person identifier you assign never reaches WooCommerce
WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently.
- 02
Caching and optimization plugins eat the tracking
The page the customer sees is not the page your code assumed. This is the most common cause of WooCommerce tracking that worked at launch and silently stopped after a plugin update.
- 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.
WooCommerce → Customer.io · the fix
What working looks like — WooCommerce → Customer.io
The person identifier you assign on every order
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
WooCommerce → Customer.io · architecture
How WooCommerce and Customer.io actually connect
- 1
WooCommerce holds the truth
You own the database, so the truth is exactly as good as the query you write against it. Pin the status set first — whether processing, completed, or both count as a conversion changes the number by a lot and is the source of most arguments.
- 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 WooCommerce order.
- 4
The event source decides reliability
Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.
- 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.
WooCommerce → Customer.io · normal or broken
Working vs. broken, side by side — WooCommerce → Customer.io
Normal, not a fault
The person identifier you assign present on the order
Sent from the woocommerce_payment_complete hook
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
WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently.
Sent from the browser
The page the customer sees is not the page your code assumed. This is the most common cause of WooCommerce tracking that worked at launch and silently stopped after a plugin update.
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
WooCommerce → Customer.io · diagnose
Diagnostic order — WooCommerce → Customer.io
- 01
Count orders carrying the person identifier you assign
- 02
Follow one real conversion end to end
- 03
Check order meta on ten recent orders
Directly in the database or with a meta viewer. Then disable page caching for the checkout path and see whether coverage changes — if it does, caching is your cause.
- 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.
WooCommerce → Customer.io · prove
How it gets proven — WooCommerce → Customer.io
Source of truth
WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.
- The person identifier you assign confirmed present on a live order.
- Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
- Order meta confirmed present on orders placed while full page caching was active.
WooCommerce → Customer.io · free audit
What we check in the free audit
- Count orders carrying the person identifier you assign
- Follow one real conversion end to end
- Check order meta on ten recent orders
- Confirm which workspace you are writing to before sending anything
- Read the match rate, not the success message
Checked against
WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.
Free30 minutesNo obligation
WooCommerce → Customer.io · when not to buy
When you don't need this — WooCommerce → Customer.io
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the person identifier you assign.
- If you run a small store with no caching layer and a single free plugin already reporting accurately, leave it alone.
- If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.
WooCommerce → Customer.io · what we deliver
What gets built — WooCommerce → Customer.io
Identifier capture into WooCommerce
Capture the click identifier and persist it as order meta on the order object with a small snippet in the theme's functions or a purpose-built plugin. Order meta lives in your own database, so it survives caching, plugin conflicts and the customer's browser.
Event source: the woocommerce_payment_complete hook
Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.
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
The refund hooks carry the order ID, so reversals are straightforward once the identifier is on the order.
Written guarantee
95%+ tracking accuracy
Measured against WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
WooCommerce → Customer.io questions, answered
Post an event from the WooCommerce payment hook through Customer.io's Track API, identified by customer ID or by email for guests, with line items and the order ID. Deduplicate on the order ID in your sender.
A cloned staging site keeps the live credentials. Point it at a separate workspace or disable the sender on non-production hosts.
Almost always because the person identifier you assign never reached the WooCommerce order. WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently. 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 woocommerce_payment_complete hook. Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.
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 WooCommerce → Customer.io
- WooCommerce Subscriptions → Customer.ioConnecting WooCommerce Subscriptions to Customer.io
- Stripe → Customer.ioConnecting Stripe to Customer.io
- PayPal → Customer.ioConnecting PayPal to Customer.io
RELATED GUIDES
Where WooCommerce → Customer.io fits in the rest of your tracking
- Braintree → Customer.ioConnecting Braintree to Customer.io
- Shopify POS → Customer.ioConnecting Shopify POS to Customer.io
- Shopify → Customer.ioConnecting Shopify to Customer.io
- WooCommerce → BrazeConnecting WooCommerce to Braze
- WooCommerce → Marketing CloudConnecting WooCommerce to Salesforce Marketing Cloud
- BeautyConversion tracking for beauty brands, including the second order
- WooCommerce Subscriptions → Customer.ioConnecting WooCommerce Subscriptions to Customer.io
- Ecwid → Customer.ioConnecting Ecwid to Customer.io
Free · 30 min
Get WooCommerce and Customer.io joined properly
Free30 minutesNo obligation
