Skip to main content
WPForms → X AdsIntegration guide

Connecting WPForms to X Ads

WPForms is the most widely installed form plugin on WordPress, which means the same plugin sits behind contact forms, order forms and payment forms on the same site with completely different values. 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 WPForms entry 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

WPForms to X Ads: twclid, AJAX success and the payment form

WPForms submits over AJAX, so an X conversion tied to a thank-you URL never fires. Fire the X pixel on wpformsAjaxSubmitSuccess or send server-side from wpforms_process_complete, sharing one conversion ID carried in a hidden field, with twclid from a first-party cookie and hashed email. Send Stripe or PayPal payment forms as a separate purchase conversion once payment succeeds.

An X conversion bound to a thank-you page never fires on a WPForms form submitted over AJAX, because the URL does not change. Fire the X pixel on wpformsAjaxSubmitSuccess, or send server-side from the wpforms_process_complete hook, and set the same conversion ID on both, generated before submission and carried in a hidden field.

Capture twclid on landing into a first-party cookie and copy it into a hidden field when the form loads. X traffic often opens in the X in-app browser, so a visitor who copies the link and returns later in Safari has no twclid; hashed email from the form fields is the match that remains.

If one of the site's forms takes payment through Stripe or PayPal, it is a purchase, not a lead: send it as a separate purchase conversion with the paid amount once the payment succeeds, and keep inquiry forms on a lead conversion. Pooling them gives X a single conversion whose value swings between zero and the price of whatever was paid. Payments that fail after the entry is saved should never reach X as a purchase.

WPForms → X Ads · what breaks

Why this join usually fails — WPForms → X Ads

  1. 01

    The twclid click identifier never reaches WPForms

    Forms submit over AJAX without a page navigation, so a conversion bound to a thank-you page URL never fires.

  2. 02

    Every form on the site counted as one conversion

    A newsletter signup and a request for a quote are not the same event. Pooling them means bidding optimises toward whichever is easiest to get, which is always the newsletter.

  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.

WPForms → X Ads · the fix

What working looks like — WPForms → X Ads

  • The twclid click identifier on every submission

  • 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

WPForms → X Ads · architecture

How WPForms and X Ads actually connect

  1. 1

    WPForms holds the truth

    The form ID is the only thing separating a newsletter signup from a quote request from a paid order. Without it, every submission is one undifferentiated conversion.

  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 WPForms entry.

  4. 4

    The event source decides reliability

    Send qualified outcomes per form ID, with separate conversion actions for meaningfully different forms.

  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.

WPForms → X Ads · normal or broken

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

Normal, not a fault

  • The twclid click identifier present on the submission

  • Sent from your CRM or payment record

  • 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

    Forms submit over AJAX without a page navigation, so a conversion bound to a thank-you page URL never fires.

  • Sent from the browser

    A newsletter signup and a request for a quote are not the same event. Pooling them means bidding optimises toward whichever is easiest to get, which is always the newsletter.

  • 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

WPForms → X Ads · diagnose

Diagnostic order — WPForms → X Ads

  1. 01

    Count submissions carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    List every form on the site and its real value

    Usually the first time anyone has, and it is normally the whole fix.

  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.

WPForms → X Ads · prove

How it gets proven — WPForms → X Ads

Source of truth

Your CRM or payment record, with the form ID recorded on the submission.

  • The twclid click identifier confirmed present on a live submission.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Qualified outcomes reconciled per form ID against imported conversions.

WPForms → X Ads · free audit

What we check in the free audit

  • Count submissions carrying the twclid click identifier
  • Follow one real conversion end to end
  • List every form on the site and its real value
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

Your CRM or payment record, with the form ID recorded on the submission.

Get my free conversion tracking audit

Free30 minutesNo obligation

WPForms → X Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the twclid click identifier.
  • A site with one form needs one conversion action and nothing else.
  • 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.

WPForms → X Ads · what we deliver

What gets built — WPForms → X Ads

  • Identifier capture into WPForms

    Bind to the plugin's own submission event rather than to a page load, and pass the identifier through a hidden field.

  • Event source: your CRM or payment record

    Send qualified outcomes per form ID, with separate conversion actions for meaningfully different forms.

  • Dispatch to X Ads

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

  • Reversals where they exist

    Disqualified submissions reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM or payment record, with the form ID recorded on the submission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

WPForms → X Ads questions, answered

AJAX forms do not load a thank-you page. Trigger on wpformsAjaxSubmitSuccess or send server-side from the wpforms_process_complete hook.

Free · 30 min

Get WPForms and X Ads joined properly

Free30 minutesNo obligation