Connecting LoyaltyLion to Amplitude
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. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the LoyaltyLion tier order before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
LoyaltyLion in Amplitude: tier as a property, revenue net of perks
Send store orders server-side to Amplitude with the store customer ID as user_id, revenue net of the tier discount, and the LoyaltyLion tier as a user property updated on change. Send points earned, points redeemed and tier changes as events. For backfilled history, put tier on each order as an event property, since imports otherwise stamp today's tier.
Amplitude can answer what a loyalty program is worth: do customers who join, earn and redeem keep buying longer, and at what margin as they climb tiers? Send store orders server-side with the store customer ID as user_id, the same one your storefront SDK identifies with, and set the LoyaltyLion tier as a user property whenever it changes. Amplitude stamps the user properties current at ingestion onto each event, so live orders carry the tier the customer held when they bought.
Revenue on each order must be net of the automatic tier discount. Amplitude will happily chart gross order value and show your top tier as your most valuable customers while they buy at your thinnest margin. Send points earned, points redeemed and tier changes as their own events; redemption behavior deserves its own retention chart, since members who never redeem often aren't really in the program.
Backfill is the gotcha. Import historical orders after setting today's tier and every old order is stamped with today's tier. For history, put the tier on each order as an event property taken from your order records. Check whether LoyaltyLion exposes tier-change webhooks or exports on your plan, because that decides whether tier history can be rebuilt at all.
LoyaltyLion → Amplitude · what breaks
Why this join usually fails — LoyaltyLion → Amplitude
- 01
The user ID and device ID pair 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
Revenue events that carry no revenue
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
- 04
Nothing reconciles afterwards
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
LoyaltyLion → Amplitude · the fix
What working looks like — LoyaltyLion → Amplitude
The user ID and device ID pair on every redemption
Conversions arriving in Amplitude
The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.
Reconciled against the source
LoyaltyLion → Amplitude · architecture
How LoyaltyLion and Amplitude 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
Amplitude needs a click to match
Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.
- 3
The identifier is the bridge
The user ID and device ID pair, 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
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
LoyaltyLion → Amplitude · normal or broken
Working vs. broken, side by side — LoyaltyLion → Amplitude
Normal, not a fault
The user ID and device ID pair present on the redemption
Sent from your order feed with tier attached
Deduplicated correctly
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
Reconciles with the source
Actually broken
The user ID and device ID pair 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
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
Nobody has reconciled it
LoyaltyLion → Amplitude · diagnose
Diagnostic order — LoyaltyLion → Amplitude
- 01
Count redemptions carrying the user ID and device ID pair
- 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
Check a purchase event for the price and quantity fields specifically
Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.
- 05
Read the match rate, not the success message
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
LoyaltyLion → Amplitude · prove
How it gets proven — LoyaltyLion → Amplitude
Source of truth
Store orders with the customer's loyalty tier recorded at the time of purchase.
- The user ID and device ID pair confirmed present on a live redemption.
- Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
- Orders reconciled net of tier discount against imported conversions, with tier recorded.
LoyaltyLion → Amplitude · free audit
What we check in the free audit
- Count redemptions carrying the user ID and device ID pair
- Follow one real conversion end to end
- Compare average margin by loyalty tier
- Check a purchase event for the price and quantity fields specifically
- 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 → Amplitude · when not to buy
When you don't need this — LoyaltyLion → Amplitude
- Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the user ID and device ID pair.
- Flat-rate loyalty programmes without tiers do not have this problem.
- If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
LoyaltyLion → Amplitude · what we deliver
What gets built — LoyaltyLion → Amplitude
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 Amplitude
The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.
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 → Amplitude questions, answered
Set tier as a user property on every change and send orders with the store customer ID as user_id; Amplitude stamps the current tier onto each live order. For backfilled orders, send tier as an event property.
It should be net of them. Gross values make your top tiers look most valuable while they buy at the lowest margin.
Almost always because the user ID and device ID pair 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.
Amplitude tracks both a device ID and a user ID and merges them when a user identifies. The merge rules decide who counts as one person, so a mistake here does not produce a small error — it changes every retention curve and cohort size in the account.
Your order feed with tier attached. Send orders net of tier discount, with the tier recorded so margin by cohort stays visible.
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
More on LoyaltyLion → Amplitude
- Stripe → AmplitudeConnecting Stripe to Amplitude
- PayPal → AmplitudeConnecting PayPal to Amplitude
- Shopify → AmplitudeConnecting Shopify to Amplitude
RELATED GUIDES
Where LoyaltyLion → Amplitude fits in the rest of your tracking
- Talon.One → AmplitudeConnecting Talon.One to Amplitude
- Antavo → AmplitudeConnecting Antavo to Amplitude
- Punchh → AmplitudeConnecting Punchh to Amplitude
- LoyaltyLion → PostHogConnecting LoyaltyLion to PostHog
- LoyaltyLion → Adobe AnalyticsConnecting LoyaltyLion to Adobe Analytics
- RestaurantsConversion tracking for restaurants, across reservations, orders and calls
- Smile.io → AmplitudeConnecting Smile.io to Amplitude
Free · 30 min
Get LoyaltyLion and Amplitude joined properly
Free30 minutesNo obligation
