Connecting LoyaltyLion to TikTok Events API
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. TikTok's audience skews to exactly the browsers and app contexts where browser-side tracking performs worst. The join between them succeeds or fails on one thing: whether the ttclid reaches the LoyaltyLion tier order before the conversion happens, because TikTok can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
LoyaltyLion to TikTok: keep loyal repeat orders out of the signal
From a LoyaltyLion store, send TikTok CompletePayment for every order, net of the tier discount, with the order ID as event_id, plus a separate first-order custom event to optimize on if volume allows. Include hashed email from the order, since TikTok visitors arrive logged out with a fragile ttclid; it also shows how many TikTok purchases came from existing members.
TikTok's value for most stores is reaching people who have never bought. For a store running LoyaltyLion, that means the CompletePayment events TikTok optimizes on should lean toward first orders, and repeat orders from members already in a discount tier should either carry their net value or stay out of the optimization event altogether.
The practical setup: send CompletePayment for every order with value net of the tier discount and the order ID as event_id, and send a separate custom event for first orders only. Optimize on the first-order event if your volume supports it. Otherwise a tier member who reopens the store after a TikTok video they happened to watch counts as a TikTok conversion at the discounted price, and TikTok learns to find more people like them.
The failure particular to this pair is matching. Loyalty members tend to check out logged in, while TikTok visitors arrive in the in-app browser logged out, with a fragile ttclid. Hashed email from the order is what lets TikTok match those buyers, and it is also how you measure how many TikTok-attributed purchases came from existing LoyaltyLion members. If that share is high, TikTok is mostly reaching customers you already had.
LoyaltyLion → TikTok · what breaks
Why this join usually fails — LoyaltyLion → TikTok
- 01
The ttclid 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
The ttclid is lost in the in-app browser
TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.
- 04
Nothing reconciles afterwards
TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.
LoyaltyLion → TikTok · the fix
What working looks like — LoyaltyLion → TikTok
The ttclid on every redemption
Conversions arriving in TikTok
Events appear in TikTok Events Manager, deduplicated against the pixel, and become usable for optimization.
Reconciled against the source
LoyaltyLion → TikTok · architecture
How LoyaltyLion and TikTok 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
TikTok Events API needs a click to match
TikTok matches server events using ttclid where available, falling back to hashed contact information. Both should be sent — the fallback is what carries the events where the click ID did not survive.
- 3
The identifier is the bridge
The ttclid, 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
TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.
LoyaltyLion → TikTok · normal or broken
Working vs. broken, side by side — LoyaltyLion → TikTok
Normal, not a fault
The ttclid present on the redemption
Sent from your order feed with tier attached
Deduplicated correctly
TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.
Reconciles with the source
Actually broken
The ttclid 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
TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.
Nobody has reconciled it
LoyaltyLion → TikTok · diagnose
Diagnostic order — LoyaltyLion → TikTok
- 01
Count redemptions carrying the ttclid
- 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
Measure ttclid capture rate on TikTok traffic specifically
Not on all traffic. TikTok's in-app browser is the failure case, so a healthy overall capture rate can hide a poor one on exactly the traffic that matters.
- 05
Read the match rate, not the success message
TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.
LoyaltyLion → TikTok · prove
How it gets proven — LoyaltyLion → TikTok
Source of truth
Store orders with the customer's loyalty tier recorded at the time of purchase.
- The ttclid confirmed present on a live redemption.
- Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
- Orders reconciled net of tier discount against imported conversions, with tier recorded.
LoyaltyLion → TikTok · free audit
What we check in the free audit
- Count redemptions carrying the ttclid
- Follow one real conversion end to end
- Compare average margin by loyalty tier
- Measure ttclid capture rate on TikTok traffic 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 → TikTok · when not to buy
When you don't need this — LoyaltyLion → TikTok
- Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the ttclid.
- Flat-rate loyalty programmes without tiers do not have this problem.
- If TikTok is a small share of spend, the effort is hard to justify. It pays when TikTok is a channel you are actively scaling.
LoyaltyLion → TikTok · what we deliver
What gets built — LoyaltyLion → TikTok
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 TikTok
Server events to the TikTok Events API with the ttclid, hashed contact information and a matching event_id.
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 → TikTok questions, answered
Send them at net value for reporting, but optimize on a first-order event if volume allows. Otherwise TikTok learns from members who would have bought anyway.
Compare the emails on TikTok-attributed orders against your LoyaltyLion member list. A high overlap means the campaigns are re-engaging customers rather than acquiring them.
Almost always because the ttclid 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.
The ttclid — TikTok's click identifier, appended to your landing page URL and also stored in the _ttp cookie. TikTok additionally matches on hashed email and phone. In-app browser behavior makes ttclid capture more fragile than the equivalents on other platforms, so persisting it server-side as soon as it is seen matters more here than elsewhere.
Your order feed with tier attached. Send orders net of tier discount, with the tier recorded so margin by cohort stays visible.
TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.
More on LoyaltyLion → TikTok
- TikTok · Lead → booked callHow to track lead to booked call for TikTok Ads
- TikTok · Booked call → closed wonHow to track booked call to closed won for TikTok Ads
- TikTok · Free trial → paidHow to track free trial to paid for TikTok Ads
RELATED GUIDES
Where LoyaltyLion → TikTok fits in the rest of your tracking
- TikTok · RestaurantsTikTok Ads conversion tracking for restaurants
- TikTok · BeautyTikTok Ads conversion tracking for beauty brands
- TikTok × POS SystemHow to reconcile TikTok Ads against your point-of-sale system
- TikTok · Referral → closed saleHow to track referral to closed sale for TikTok Ads
- Talon.One → TikTokConnecting Talon.One to TikTok Events API
- LoyaltyLion → QuoraConnecting LoyaltyLion to Quora Ads
- BeautyConversion tracking for beauty brands, including the second order
- Punchh → TikTokConnecting Punchh to TikTok Events API
Free · 30 min
Get LoyaltyLion and TikTok joined properly
Free30 minutesNo obligation
