Skip to main content
PayPal → X AdsIntegration guide

Connecting PayPal to X Ads

PayPal holds the settled transaction, and it is frequently the payment method that reports worst. 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 PayPal transaction 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

PayPal sales on X Ads: twclid stored before the redirect

Save X's twclid server-side on landing and attach it to the order before the PayPal redirect, since in-app cookies don't last. Send the purchase from PAYMENT.CAPTURE.COMPLETED to X with that twclid, your order ID as conversion ID and the hashed store email. Any pixel firing must use the same order ID.

X traffic and PayPal combine badly. A buyer who taps an X ad lands in the in-app browser, and paying there often bounces them to PayPal's site or app. Coming back to the in-app browser to see your confirmation page is the step most people skip. So the X pixel never fires, and the twclid it stored in a short-lived in-app cookie is gone. Save twclid server-side on landing and attach it to the order before the PayPal redirect.

Send the purchase to X from the PAYMENT.CAPTURE.COMPLETED webhook with that twclid, your order ID as the conversion ID, and the hashed email the buyer gave your store. If the pixel also fires for buyers who do return, it must use the same order ID, or X counts them twice. On X's small volumes, that can look like a good campaign.

Read the result against PayPal's activity report for X-sourced orders. If a campaign shows high engagement and few purchases, check how many of its buyers paid with PayPal before you write it off. The missing sales may be sitting there.

PayPal → X Ads · what breaks

Why this join usually fails — PayPal → X Ads

  1. 01

    The twclid click identifier never reaches PayPal

    The classic PayPal flow bounces the buyer to paypal.com and back. If the buyer abandons the return, your site never runs the thank-you page and never fires anything, but PayPal has already taken the money. This is why PayPal-heavy stores routinely under-report: the sale is real and the tracking event does not exist.

  2. 02

    The buyer never comes back from PayPal

    Money moves, the confirmation page never loads, and the conversion is invisible. It is the single biggest reason PayPal-heavy stores see paid channels look worse than they are.

  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.

PayPal → X Ads · the fix

What working looks like — PayPal → X Ads

  • The twclid click identifier on every transaction

  • 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

PayPal → X Ads · architecture

How PayPal and X Ads actually connect

  1. 1

    PayPal holds the truth

    The transaction record carries the amount, currency and a transaction ID. It is also the record that survives when the buyer is redirected out to PayPal and never returns to your confirmation page.

  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 PayPal transaction.

  4. 4

    The event source decides reliability

    Listen for PAYMENT.CAPTURE.COMPLETED and send from your server. Firing on the return URL loses every buyer who closes the tab at PayPal, which is a much larger share than most merchants expect.

  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.

PayPal → X Ads · normal or broken

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

Normal, not a fault

  • The twclid click identifier present on the transaction

  • Sent from the PayPal webhook (or your order record when the IPN lands)

  • 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 classic PayPal flow bounces the buyer to paypal.com and back. If the buyer abandons the return, your site never runs the thank-you page and never fires anything, but PayPal has already taken the money. This is why PayPal-heavy stores routinely under-report: the sale is real and the tracking event does not exist.

  • Sent from the browser

    Money moves, the confirmation page never loads, and the conversion is invisible. It is the single biggest reason PayPal-heavy stores see paid channels look worse than they are.

  • 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

PayPal → X Ads · diagnose

Diagnostic order — PayPal → X Ads

  1. 01

    Count transactions carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare completed PayPal transactions against confirmation-page loads

    For the same day. The gap between the two is the share of PayPal revenue your browser-side setup is structurally unable to see.

  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.

PayPal → X Ads · prove

How it gets proven — PayPal → X Ads

Source of truth

PayPal's Activity report, filtered to completed payments for the same window.

  • The twclid click identifier confirmed present on a live transaction.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • A PayPal order where the buyer never returned to the site, confirmed to have reported anyway.

PayPal → X Ads · free audit

What we check in the free audit

  • Count transactions carrying the twclid click identifier
  • Follow one real conversion end to end
  • Compare completed PayPal transactions against confirmation-page loads
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

PayPal's Activity report, filtered to completed payments for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

PayPal → X Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the twclid click identifier.
  • If PayPal is under a few percent of your orders, fixing the whole flow may not move a decision. Measure the share first.
  • 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.

PayPal → X Ads · what we deliver

What gets built — PayPal → X Ads

  • Identifier capture into PayPal

    Capture the click identifier before checkout and store it against the order in your own database, keyed by the PayPal order ID. PayPal's own custom_id / invoice_id fields can carry your order reference so the two records can always be re-joined server-side.

  • Event source: the PayPal webhook (or your order record when the IPN lands)

    Listen for PAYMENT.CAPTURE.COMPLETED and send from your server. Firing on the return URL loses every buyer who closes the tab at PayPal, which is a much larger share than most merchants expect.

  • Dispatch to X Ads

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

  • Reversals where they exist

    PAYMENT.CAPTURE.REFUNDED and the dispute webhooks exist and carry the same reference, so reversals can be wired properly.

Written guarantee

95%+ tracking accuracy

Measured against PayPal's Activity report, filtered to completed payments for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

PayPal → X Ads questions, answered

Buyers from the X in-app browser often leave for PayPal and never return to your confirmation page, so the pixel never fires. Send from the PayPal capture webhook instead.

Free · 30 min

Get PayPal and X Ads joined properly

Free30 minutesNo obligation