Connecting Afterpay to X Ads
Afterpay is pay-in-four buy-now-pay-later, which means the shopper is approved elsewhere and the merchant is paid up front by the provider. 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 Afterpay 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
Afterpay orders to X: twclid and the in-app browser handoff
Write twclid to the cart server-side the moment the shopper lands, since Afterpay approval inside X's in-app browser may finish elsewhere. Send the purchase to the X Conversions API from the order webhook with the order number as conversion ID, full order value and hashed email; a confirmation-page pixel must share that number. Test one order end to end.
X sends most mobile clicks through its in-app browser, and Afterpay approval on a phone may hand the shopper off to the Afterpay app or a new browser tab. Either way, the session that held the twclid is not the one that finishes. Check on a real phone where your Afterpay approval opens from inside X. Then write twclid to the cart server-side the moment the shopper lands, because that is the only copy that reliably survives the trip.
Send the purchase to the X Conversions API from the order webhook, with the store order number as the conversion ID, the full order value, and the hashed email from the order. If you keep the X pixel on the confirmation page, it must send the same order number. X volumes are often small enough that a doubled Afterpay order shows up as a good week, so test a single order end to end and check that it counts once.
Be honest about what X will show. Afterpay is popular with younger shoppers, and so is X engagement, but a viral post that drives BNPL checkouts also drives impulse returns. Keep returns and net revenue by payment method in your own data, since X reporting will only show the gross purchase.
Afterpay → X Ads · what breaks
Why this join usually fails — Afterpay → X Ads
- 01
The twclid click identifier never reaches Afterpay
The shopper is redirected to Afterpay for approval and a meaningful share never return to the confirmation page. The order exists and no pixel fired.
- 02
The approval redirect that ends the session
Approval happens on Afterpay's side. The customer is committed, the merchant is paid, and the confirmation page is optional from the shopper's point of view.
- 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.
- 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.
Afterpay → X Ads · the fix
What working looks like — Afterpay → X Ads
The twclid click identifier on every order
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
Afterpay → X Ads · architecture
How Afterpay and X Ads actually connect
- 1
Afterpay holds the truth
Afterpay pays the merchant in full and collects instalments from the shopper itself, so your revenue arrives at once even though the customer pays over time. The store's order record is the money event, not the instalment schedule.
- 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
The identifier is the bridge
The twclid click identifier, captured at the visit and carried into the Afterpay order.
- 4
The event source decides reliability
Fire from the order record, which exists whether or not the browser came back, and tag the payment method so BNPL performance is visible.
- 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.
Afterpay → X Ads · normal or broken
Working vs. broken, side by side — Afterpay → X Ads
Normal, not a fault
The twclid click identifier present on the order
Sent from your store's order webhook
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
The shopper is redirected to Afterpay for approval and a meaningful share never return to the confirmation page. The order exists and no pixel fired.
Sent from the browser
Approval happens on Afterpay's side. The customer is committed, the merchant is paid, and the confirmation page is optional from the shopper's point of view.
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
Afterpay → X Ads · diagnose
Diagnostic order — Afterpay → X Ads
- 01
Count orders carrying the twclid click identifier
- 02
Follow one real conversion end to end
- 03
Count Afterpay checkouts started against confirmation-page loads
The gap is the share of BNPL revenue a browser-side setup cannot see, and it is usually larger than merchants expect.
- 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.
- 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.
Afterpay → X Ads · prove
How it gets proven — Afterpay → X Ads
Source of truth
Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.
- The twclid click identifier confirmed present on a live order.
- Conversions reconciled per order against imported figures, with deduplication verified on a live test.
- An Afterpay order abandoned at the return step, confirmed to still report.
Afterpay → X Ads · free audit
What we check in the free audit
- Count orders carrying the twclid click identifier
- Follow one real conversion end to end
- Count Afterpay checkouts started against confirmation-page loads
- Compare engagement rate against conversion rate by campaign
- Read the match rate, not the success message
Checked against
Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.
Free30 minutesNo obligation
Afterpay → X Ads · when not to buy
When you don't need this — Afterpay → X Ads
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the twclid click identifier.
- If BNPL is a very small share of your orders, measure that share before commissioning anything.
- 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.
Afterpay → X Ads · what we deliver
What gets built — Afterpay → X Ads
Identifier capture into Afterpay
Capture the identifier before checkout and store it on the order in your own system, so the conversion does not depend on the shopper completing the return journey.
Event source: your store's order webhook
Fire from the order record, which exists whether or not the browser came back, and tag the payment method so BNPL performance is visible.
Dispatch to X Ads
The X Conversions API, posted server-side with the click identifier and hashed customer data.
Reversals where they exist
Returns on BNPL orders run higher than card in many stores, so the reversal matters more here than elsewhere.
Written guarantee
95%+ tracking accuracy
Measured against Your store's orders paid with Afterpay, cross-checked against Afterpay's settlement.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Afterpay → X Ads questions, answered
The in-app browser session holding twclid often isn't the one that completes Afterpay approval, and many shoppers never return to the confirmation page. Store twclid on the cart and send from the order webhook.
Yes, use the store order number in both the pixel and the Conversions API event, or X may count the same order twice.
Almost always because the twclid click identifier never reached the Afterpay order. The shopper is redirected to Afterpay for approval and a meaningful share never return to the confirmation page. The order exists and no pixel fired. Measure coverage before debugging the dispatch.
X appends twclid to the landing URL and the pixel stores it. It behaves like other click identifiers, with the usual caveat that a large share of X traffic arrives through the in-app browser, where storage is partitioned and short-lived.
Your store's order webhook. Fire from the order record, which exists whether or not the browser came back, and tag the payment method so BNPL performance is visible.
Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.
More on Afterpay → X Ads
- Afterpay → Google AdsConnecting Afterpay to Google Ads
- Afterpay → Microsoft AdsConnecting Afterpay to Microsoft Ads
- Afterpay → Apple Search AdsConnecting Afterpay to Apple Search Ads
RELATED GUIDES
Where Afterpay → X Ads fits in the rest of your tracking
- X Ads · Financial servicesX Ads conversion tracking for financial services firms
- X Ads · SaaSX Ads conversion tracking for SaaS companies
- X Ads × SubscriptionsHow to reconcile X Ads against your billing system
- X Ads · Subscription → renewalHow to track subscription to renewal and churn for X Ads
- Recurly → X AdsConnecting Recurly to X Ads
- Afterpay → SnapchatConnecting Afterpay to Snapchat
- Financial servicesConversion tracking for financial services, built for the compliance review
- Klarna → X AdsConnecting Klarna to X Ads
Free · 30 min
Get Afterpay and X Ads joined properly
Free30 minutesNo obligation
