Connecting LoyaltyLion to Customer.io
LoyaltyLion is built around tiers, which means a customer's discount rate changes as they spend more — and so does the margin on every subsequent order. 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 LoyaltyLion tier 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
LoyaltyLion and Customer.io: empty points balances in live emails
Write LoyaltyLion points balance and tier as Customer.io person attributes before sending the events that trigger loyalty campaigns, with a liquid fallback or condition, or emails render blank balances. Key on the identifier Customer.io already uses, normalized email or Shopify customer ID. Message on tier reached and rewards available, not every accrual, and test separately.
The failure specific to this pair is a template that says you have {{points}} points rendering as you have points. Customer.io evaluates campaigns as events arrive, and if the LoyaltyLion points balance attribute has not been written to the person yet, the email sends with a blank. Write the points balance and tier as person attributes before sending the events that trigger loyalty campaigns, and add a liquid fallback or a campaign condition that requires the attribute to exist.
Key everything on the identifier Customer.io already uses for that person. If that is email, normalize LoyaltyLion's member email the same way; if it is the Shopify customer ID, use LoyaltyLion's merchant customer ID. A mismatch creates a second person, and the second one enters your welcome series while already holding a top tier.
Test in a separate workspace. A test points-expiry event posted to a production workspace emails a real customer that their points are expiring. Then decide which events matter: tier reached and rewards available are worth a message, while every points accrual is not, and sending all of them just teaches customers to ignore loyalty emails.
LoyaltyLion → Customer.io · what breaks
Why this join usually fails — LoyaltyLion → Customer.io
- 01
The person identifier you assign never reaches LoyaltyLion
Tier benefits apply automatically at checkout, so the discount is inside the order rather than in a code.
- 02
Tier discounts absorbed silently into order value
Unlike a coupon, a tier discount has no code. It is applied automatically and disappears into the order total, so the margin erosion from a maturing loyalty base is invisible in every marketing report.
- 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.
LoyaltyLion → Customer.io · the fix
What working looks like — LoyaltyLion → Customer.io
The person identifier you assign on every redemption
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
LoyaltyLion → Customer.io · architecture
How LoyaltyLion and Customer.io actually connect
- 1
LoyaltyLion holds the truth
A top-tier customer buys at a permanently lower margin. Their order value looks identical to a new customer's and is worth meaningfully less, which matters when you are deciding what a new customer is worth acquiring.
- 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 LoyaltyLion tier order.
- 4
The event source decides reliability
Send orders net of tier discount, with the tier recorded so margin by cohort stays visible.
- 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.
LoyaltyLion → Customer.io · normal or broken
Working vs. broken, side by side — LoyaltyLion → Customer.io
Normal, not a fault
The person identifier you assign present on the redemption
Sent from your order feed with tier 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
Tier benefits apply automatically at checkout, so the discount is inside the order rather than in a code.
Sent from the browser
Unlike a coupon, a tier discount has no code. It is applied automatically and disappears into the order total, so the margin erosion from a maturing loyalty base is invisible in every marketing report.
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
LoyaltyLion → Customer.io · diagnose
Diagnostic order — LoyaltyLion → Customer.io
- 01
Count redemptions carrying the person identifier you assign
- 02
Follow one real conversion end to end
- 03
Compare average margin by loyalty tier
As the programme matures this gap widens, and it is the reason a growing loyal base can coincide with falling profitability.
- 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.
LoyaltyLion → Customer.io · prove
How it gets proven — LoyaltyLion → Customer.io
Source of truth
Store orders with the customer's loyalty tier recorded at the time of purchase.
- The person identifier you assign confirmed present on a live redemption.
- Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
- Orders reconciled net of tier discount against imported conversions, with tier recorded.
LoyaltyLion → Customer.io · free audit
What we check in the free audit
- Count redemptions carrying the person identifier you assign
- Follow one real conversion end to end
- Compare average margin by loyalty tier
- Confirm which workspace you are writing to before sending anything
- Read the match rate, not the success message
Checked against
Store orders with the customer's loyalty tier recorded at the time of purchase.
Free30 minutesNo obligation
LoyaltyLion → Customer.io · when not to buy
When you don't need this — LoyaltyLion → Customer.io
- Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the person identifier you assign.
- Flat-rate loyalty programmes without tiers do not have this problem.
- If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.
LoyaltyLion → Customer.io · what we deliver
What gets built — LoyaltyLion → Customer.io
Identifier capture into LoyaltyLion
Record the tier on the order and net tier discounts out of the reported value.
Event source: your order feed with tier attached
Send orders net of tier discount, with the tier recorded so margin by cohort stays visible.
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.
Written guarantee
95%+ tracking accuracy
Measured against Store orders with the customer's loyalty tier recorded at the time of purchase.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
LoyaltyLion → Customer.io questions, answered
The points attribute was not on the person when the trigger event arrived. Write balance and tier as attributes first, and add a fallback or a condition in the campaign.
Tier changes, rewards available and points expiring soon. Routine points accrual is better kept as an attribute update than a trigger.
Almost always because the person identifier you assign never reached the LoyaltyLion tier order. Tier benefits apply automatically at checkout, so the discount is inside the order rather than in a code. 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 feed with tier attached. Send orders net of tier discount, with the tier recorded so margin by cohort stays visible.
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 LoyaltyLion → 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 LoyaltyLion → Customer.io fits in the rest of your tracking
- Talon.One → Customer.ioConnecting Talon.One to Customer.io
- Antavo → Customer.ioConnecting Antavo to Customer.io
- Smile.io → Customer.ioConnecting Smile.io to Customer.io
- LoyaltyLion → AttentiveConnecting LoyaltyLion to Attentive
- LoyaltyLion → BrazeConnecting LoyaltyLion to Braze
- RestaurantsConversion tracking for restaurants, across reservations, orders and calls
- Punchh → Customer.ioConnecting Punchh to Customer.io
Free · 30 min
Get LoyaltyLion and Customer.io joined properly
Free30 minutesNo obligation
