Skip to main content
LoyaltyLion → X AdsIntegration guide

Connecting LoyaltyLion to X Ads

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. X is a conversation platform where a large share of engagement is discussion rather than intent, which makes the gap between engagement metrics and conversions unusually wide. The join between them succeeds or fails on one thing: whether the twclid click identifier reaches the LoyaltyLion tier order before the conversion happens, because X Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

LoyaltyLion to X Ads: referral shares aren't paid conversions

Send LoyaltyLion store orders to the X Conversions API net of the automatic tier discount, with hashed email, a conversion ID shared with the pixel, and the twclid stored server-side from paid clicks and carried onto the order. Tag first orders separately, since a few VIP reorders can skew small volumes. Referral-link orders and points for social follows stay out.

LoyaltyLion's referral rewards push members to share links, and X is an obvious place to share them. Those referral clicks carry no twclid, so orders from them never match an X ad, which is correct: they're organic. The X conversions that matter are paid clicks, where twclid lands on the URL, gets stored server-side because X's in-app browser storage is short-lived, and travels onto the order.

Send the order to the X Conversions API net of the automatic tier discount, with hashed email and a conversion ID shared with the pixel. Existing members clicking X ads buy at member prices, and at X's usually small volumes a handful of VIP reorders can make a campaign look like a winner. Tag first orders separately and judge the campaign on those.

If your program awards points for following your brand on social, that is engagement, not conversion tracking; keep it out of ad events entirely. Tier and points data don't go to X. When a member shares a referral link on X and a friend buys, the credit belongs in LoyaltyLion's referral reporting, not in a paid-campaign result.

LoyaltyLion → X Ads · what breaks

Why this join usually fails — LoyaltyLion → X Ads

  1. 01

    The twclid click identifier 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

    Engagement mistaken for intent

    A post can be quoted, argued with and shared widely by people with no interest in buying anything. Optimising toward engagement on this platform reliably finds an audience that will never convert, and the engagement numbers look excellent throughout.

  4. 04

    Nothing reconciles afterwards

    Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.

LoyaltyLion → X Ads · the fix

What working looks like — LoyaltyLion → X Ads

  • The twclid click identifier on every redemption

  • Conversions arriving in X Ads

    The conversion is matched to a click or an engagement and becomes available for optimisation and reporting.

  • Reconciled against the source

LoyaltyLion → X Ads · architecture

How LoyaltyLion and X Ads 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

    X Ads needs a click to match

    An event X recognises, a conversion identifier for deduplication, hashed customer information, and the click identifier where you have it.

  3. 3

    The identifier is the bridge

    The twclid click identifier, 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

    X deduplicates browser and server events on a shared conversion ID. Send both without pairing them and every conversion counts twice — worth testing deliberately, because X volumes are often small enough that a doubling reads as a good week.

LoyaltyLion → X Ads · normal or broken

Working vs. broken, side by side — LoyaltyLion → X Ads

Normal, not a fault

  • The twclid click identifier present on the redemption

  • Sent from your order feed with tier attached

  • Deduplicated correctly

    X deduplicates browser and server events on a shared conversion ID. Send both without pairing them and every conversion counts twice — worth testing deliberately, because X volumes are often small enough that a doubling reads as a good week.

  • Reconciles with the source

Actually broken

  • The twclid click identifier 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

    A post can be quoted, argued with and shared widely by people with no interest in buying anything. Optimising toward engagement on this platform reliably finds an audience that will never convert, and the engagement numbers look excellent throughout.

  • Nobody has reconciled it

LoyaltyLion → X Ads · diagnose

Diagnostic order — LoyaltyLion → X Ads

  1. 01

    Count redemptions carrying the twclid click identifier

  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

    Compare engagement rate against conversion rate by campaign

    On X the two frequently move in opposite directions, and that divergence is the finding rather than a measurement fault.

  5. 05

    Read the match rate, not the success message

    Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.

LoyaltyLion → X Ads · prove

How it gets proven — LoyaltyLion → X Ads

Source of truth

Store orders with the customer's loyalty tier recorded at the time of purchase.

  • The twclid click identifier confirmed present on a live redemption.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Orders reconciled net of tier discount against imported conversions, with tier recorded.

LoyaltyLion → X Ads · free audit

What we check in the free audit

  • Count redemptions carrying the twclid click identifier
  • Follow one real conversion end to end
  • Compare average margin by loyalty tier
  • Compare engagement rate against conversion rate by campaign
  • 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 → X Ads · when not to buy

When you don't need this — LoyaltyLion → X Ads

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the twclid click identifier.
  • Flat-rate loyalty programmes without tiers do not have this problem.
  • If X is a brand and community channel for you rather than a performance one, measure it that way and do not force a conversion pipeline onto it.

LoyaltyLion → X Ads · what we deliver

What gets built — LoyaltyLion → X Ads

  • 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 X Ads

    The X Conversions API, posted server-side with the click identifier and hashed customer data.

  • 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 → X Ads questions, answered

No. They carry no twclid, so X can't attribute them to a paid campaign. Track them in LoyaltyLion's referral reporting.

Free · 30 min

Get LoyaltyLion and X Ads joined properly

Free30 minutesNo obligation