Skip to main content
Recurly → X AdsIntegration guide

Connecting Recurly to X Ads

Recurly is built around keeping subscriptions alive, which means a large share of the revenue it recovers comes from payments that failed and were retried rather than from anything marketing did. 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 Recurly subscription 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

Recurly to X Ads: twclid stored before the hosted checkout

Write the twclid to a Recurly account custom field or your user record before payment. Post the first successful payment of a new Recurly subscription to X's Conversions API with first-invoice value, hashed email, twclid, and the invoice number as conversion ID shared with the pixel. Check monthly against new subscriptions carrying a stored twclid.

X traffic to a subscription signup mostly arrives through the in-app browser and then moves to Recurly's hosted payment page or a Recurly.js form. The twclid survives only if you read it on your own domain and write it to the Recurly account, in a custom field, or to your own user record before the payment step. Anything left in the in-app browser's storage is gone by the time a renewal or a card retry happens.

Post the first successful payment of a new subscription to X's Conversions API with value from the first invoice, the hashed email, the twclid, and the Recurly invoice number as the conversion ID shared with the pixel. If you sell monthly and annual plans, decide whether value is the first invoice or a normalized first-year amount and apply it everywhere; at X's typical volumes, mixing the two makes cost per acquisition unreadable.

X volumes are often small enough that a mistake hides. If renewals or dunning recoveries leak into the X event, reported conversions can double within a quarter and read as a good stretch. Check monthly by comparing X's reported purchases with the count of new Recurly subscriptions carrying a stored twclid, and investigate any month where X reports more.

Recurly → X Ads · what breaks

Why this join usually fails — Recurly → X Ads

  1. 01

    The twclid click identifier never reaches Recurly

    Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all.

  2. 02

    Dunning recovery counted as acquisition

    A retried card that succeeds on day three looks identical to a new subscription in most exports. On a mature book that recovery is a meaningful share of monthly revenue and none of it was bought.

  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.

Recurly → X Ads · the fix

What working looks like — Recurly → X Ads

  • The twclid click identifier on every subscription

  • 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

Recurly → X Ads · architecture

How Recurly and X Ads actually connect

  1. 1

    Recurly holds the truth

    Dunning recovery is Recurly's core product. Revenue rescued from a declined card three days after it failed is real money and it is not a conversion — attributing it to whatever campaign is running that week is the standard mistake here.

  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 Recurly subscription.

  4. 4

    The event source decides reliability

    Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.

  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.

Recurly → X Ads · normal or broken

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

Normal, not a fault

  • The twclid click identifier present on the subscription

  • Sent from the Recurly subscription 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

    Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all.

  • Sent from the browser

    A retried card that succeeds on day three looks identical to a new subscription in most exports. On a mature book that recovery is a meaningful share of monthly revenue and none of it was bought.

  • 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

Recurly → X Ads · diagnose

Diagnostic order — Recurly → X Ads

  1. 01

    Count subscriptions carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Split subscription events into new, renewal and recovered

    Three categories, three owners. Until they are separated, no acquisition number is readable.

  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.

Recurly → X Ads · prove

How it gets proven — Recurly → X Ads

Source of truth

Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.

  • The twclid click identifier confirmed present on a live subscription.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • New subscription starts reconciled against imported conversions, with recovered revenue reported separately.

Recurly → X Ads · free audit

What we check in the free audit

  • Count subscriptions carrying the twclid click identifier
  • Follow one real conversion end to end
  • Split subscription events into new, renewal and recovered
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.

Get my free conversion tracking audit

Free30 minutesNo obligation

Recurly → X Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the twclid click identifier.
  • If your churn is mostly voluntary and you run no dunning, this collapses to an ordinary subscription integration.
  • 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.

Recurly → X Ads · what we deliver

What gets built — Recurly → X Ads

  • Identifier capture into Recurly

    Capture on your own domain, persist against the account, and attach to the subscription so a renewal or a recovery can still be traced without being credited as new.

  • Event source: the Recurly subscription webhook

    Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.

  • Dispatch to X Ads

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

  • Reversals where they exist

    Cancellations inside the first billing period reverse, and so should subscriptions that never recover from a failed first charge.

Written guarantee

95%+ tracking accuracy

Measured against Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Recurly → X Ads questions, answered

Capture twclid on your site, store it on the Recurly account before checkout, and post the first successful payment server-side to X's Conversions API.

Free · 30 min

Get Recurly and X Ads joined properly

Free30 minutesNo obligation