Skip to main content
Loop → X AdsIntegration guide

Connecting Loop Returns to X Ads

Loop is built to turn returns into exchanges rather than refunds, which means the outcome of a return is a decision with three different revenue consequences. 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 Loop return 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

Loop returns and X Ads: gross in X, net in your own data

Plan on X accepting no refund adjustment. Save twclid server-side from the landing URL inside X's in-app browser and store it on the Shopify order, then after the return window join Loop outcomes by order ID and list X orders with refund, exchange or credit. With small volumes, a per-order list beats any rate; respond by changing audience or format.

X's conversion tracking records purchases; check whether it currently accepts any refund or adjustment, but plan as if it does not. Loop's outcomes then cannot correct X's reported revenue, so the useful question is only whether X-sourced orders come back at a different rate. X order volumes are often small enough that a handful of refunds swings the net picture, which makes a per-order list more useful than any rate.

Store twclid on the Shopify order at checkout. It usually has to be read from the landing URL inside X's in-app browser and saved server-side before the customer reaches checkout, because that browser may not keep it. After the return window, join Loop outcomes on order ID and list X orders with their outcome: refund, exchange or credit.

If a promoted post rode a trending thread, check whether the orders it produced refund more than those from search or email. That is the X-specific pattern to look for, and the response is changing the audience or format, not adjusting conversion values X cannot take.

Loop → X Ads · what breaks

Why this join usually fails — Loop → X Ads

  1. 01

    The twclid click identifier never reaches Loop

    Returns are initiated weeks after the order, in a Loop-hosted portal, with no session from the original purchase.

  2. 02

    Every return treated as a full refund

    It understates revenue on exchanges, which is exactly the outcome Loop is designed to produce. A store with a high exchange rate reports itself as performing far worse than it is.

  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.

Loop → X Ads · the fix

What working looks like — Loop → X Ads

  • The twclid click identifier on every return

  • 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

    Loop Returns's own records are the reference, not either dashboard.

Loop → X Ads · architecture

How Loop and X Ads actually connect

  1. 1

    Loop Returns holds the truth

    An exchange keeps the revenue and costs you shipping. A refund reverses it entirely. Store credit sits in between. Treating all three as one reversal loses the distinction Loop exists to create.

  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 Loop return.

  4. 4

    The event source decides reliability

    Send orders, then adjust: refunds reverse fully, exchanges reverse only the shipping cost, store credit reverses to the credit's value.

  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.

Loop → X Ads · normal or broken

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

Normal, not a fault

  • The twclid click identifier present on the return

    Visible on the record itself in Loop Returns, not merely captured somewhere on the site.

  • Sent from the store order record, adjusted by Loop outcomes

  • 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

    X Ads's count and Loop Returns's records agree within a few percent over a closed window.

Actually broken

  • The twclid click identifier missing on most records

    Returns are initiated weeks after the order, in a Loop-hosted portal, with no session from the original purchase.

  • Sent from the browser

    It understates revenue on exchanges, which is exactly the outcome Loop is designed to produce. A store with a high exchange rate reports itself as performing far worse than it is.

  • 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

    The dashboard shows a number and no one has compared it to Loop Returns.

Loop → X Ads · diagnose

Diagnostic order — Loop → X Ads

  1. 01

    Count returns carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Split returns by outcome — refund, exchange, store credit

    The mix differs by campaign and by product, and it changes the net revenue figure materially.

  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.

Loop → X Ads · prove

How it gets proven — Loop → X Ads

Against Loop Returns's own records, not against either platform's dashboard.

Source of truth

Store orders net of returns, with exchanges and refunds distinguished.

  • The twclid click identifier confirmed present on a live return.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Net revenue reconciled after the return window with the three outcomes adjusted separately.

Loop → X Ads · free audit

What we check in the free audit

  • Count returns carrying the twclid click identifier
  • Follow one real conversion end to end
  • Split returns by outcome — refund, exchange, store credit
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

Store orders net of returns, with exchanges and refunds distinguished.

Get my free conversion tracking audit

Free30 minutesNo obligation

Loop → X Ads · when not to buy

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

  • If X Ads already reports conversions that reconcile against Loop Returns's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred returns and count how many carry the twclid click identifier.
  • If you only issue refunds, a simple full reversal is correct and this distinction adds nothing.
  • 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.

Loop → X Ads · what we deliver

What gets built — Loop → X Ads

  • Identifier capture into Loop

    Join on the order identifier. There is no identifier to capture here — the work is carrying the order's through and reversing correctly.

  • Event source: the store order record, adjusted by Loop outcomes

    Send orders, then adjust: refunds reverse fully, exchanges reverse only the shipping cost, store credit reverses to the credit's value.

  • Dispatch to X Ads

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

  • Reversals where they exist

    This is the whole integration. Three outcomes, three different adjustments.

Written guarantee

95%+ tracking accuracy

Measured against Store orders net of returns, with exchanges and refunds distinguished.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Loop → X Ads questions, answered

Check X's current conversion docs. If there is no adjustment event, X keeps gross purchases and you net them out in your own data using the stored twclid.

Free · 30 min

Get Loop and X Ads joined properly

Free30 minutesNo obligation