Skip to main content
LoyaltyLion → TikTokIntegration guide

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

  1. 01

    The ttclid never reaches LoyaltyLion

    Tier benefits apply automatically at checkout, so the discount is inside the order rather than in a code.

  2. 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.

  3. 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.

  4. 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. 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. 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. 3

    The identifier is the bridge

    The ttclid, captured at the visit and carried into the LoyaltyLion tier order.

  4. 4

    The event source decides reliability

    Send orders net of tier discount, with the tier recorded so margin by cohort stays visible.

  5. 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

  1. 01

    Count redemptions carrying the ttclid

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 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.

  5. 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.

Get my free conversion tracking audit

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.

Get my free conversion tracking audit

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.

Free · 30 min

Get LoyaltyLion and TikTok joined properly

Free30 minutesNo obligation