Skip to main content
Webflow → X AdsIntegration guide

Connecting Webflow to X Ads

Webflow is a hosted visual builder whose forms submit over AJAX without a page navigation, which is the single behaviour that breaks most tracking on it. 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 Webflow form submission or 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

Webflow and X Ads: twclid from in-app browser to the form

Read twclid from the landing URL into a hidden input on each Webflow form immediately, since X's in-app browser keeps little storage. From the form webhook, your server posts the lead to X's Conversions API with twclid, hashed email and the submission ID as conversion ID. If you keep the X pixel, generate that ID in-page.

X traffic to a Webflow site mostly arrives inside the X app's built-in browser, where storage is short-lived and the visitor often leaves before converting. Webflow adds its own problem: forms submit over AJAX with no page change, so a tag waiting for a thank-you page never fires. The X pixel on its own will undercount Webflow leads twice over.

Read twclid from the landing URL with a script in Webflow's site-wide custom code and write it into a hidden input on each form straight away, since a visitor in the in-app browser may submit within seconds or never come back. Webflow's form webhook gives your server the submission with the twclid, and the server posts the lead to X's Conversions API with the twclid, the hashed email and the submission ID as the conversion ID.

If you also keep the X pixel, it must send that same conversion ID, which on an AJAX form means generating the ID in the page and writing it into a second hidden input before submit. Otherwise X counts each lead twice, and at X's usual volumes a doubled week reads as a good one. Test it deliberately: submit one form from an X ad click and confirm a single conversion in X's reporting.

Webflow → X Ads · what breaks

Why this join usually fails — Webflow → X Ads

  1. 01

    The twclid click identifier never reaches Webflow

    Webflow forms submit via AJAX and show a success state without navigating, so anything expecting a thank-you page load never fires. Its hosted checkout adds a second boundary where cookies do not cross.

  2. 02

    AJAX form submission with no page load

    The form succeeds, the page never navigates, and a conversion tag waiting for a thank-you page load simply never fires. This is the defining Webflow tracking failure.

  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.

Webflow → X Ads · the fix

What working looks like — Webflow → X Ads

  • The twclid click identifier on every conversion

  • 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

Webflow → X Ads · architecture

How Webflow and X Ads actually connect

  1. 1

    Webflow holds the truth

    Most Webflow sites are lead generation with the real commercial record in a CRM. Where Webflow Ecommerce is used, its order list is authoritative for the store.

  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 Webflow form submission or order.

  4. 4

    The event source decides reliability

    Fire from the webhook rather than the AJAX success state, which depends on the visitor's browser completing the request and staying put.

  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.

Webflow → X Ads · normal or broken

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

Normal, not a fault

  • The twclid click identifier present on the conversion

  • Sent from the Webflow form webhook or 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

    Webflow forms submit via AJAX and show a success state without navigating, so anything expecting a thank-you page load never fires. Its hosted checkout adds a second boundary where cookies do not cross.

  • Sent from the browser

    The form succeeds, the page never navigates, and a conversion tag waiting for a thank-you page load simply never fires. This is the defining Webflow tracking failure.

  • 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

Webflow → X Ads · diagnose

Diagnostic order — Webflow → X Ads

  1. 01

    Count conversions carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Submit a test form and watch whether anything fires

    If your setup expects a page load, it will not — and the site will look like it is working perfectly.

  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.

Webflow → X Ads · prove

How it gets proven — Webflow → X Ads

Source of truth

Your CRM for lead forms, or Webflow Ecommerce orders where you sell directly.

  • The twclid click identifier confirmed present on a live conversion.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • A form submission confirmed to report from the webhook rather than depending on the AJAX success state.

Webflow → X Ads · free audit

What we check in the free audit

  • Count conversions carrying the twclid click identifier
  • Follow one real conversion end to end
  • Submit a test form and watch whether anything fires
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

Your CRM for lead forms, or Webflow Ecommerce orders where you sell directly.

Get my free conversion tracking audit

Free30 minutesNo obligation

Webflow → X Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the twclid click identifier.
  • If your Webflow site hands off to a separate booking or commerce system, that system is where the conversion should come from.
  • 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.

Webflow → X Ads · what we deliver

What gets built — Webflow → X Ads

  • Identifier capture into Webflow

    Capture the identifier into a hidden form field on the page, and for Ecommerce carry it through the checkout so it lands on the order.

  • Event source: the Webflow form webhook or order webhook

    Fire from the webhook rather than the AJAX success state, which depends on the visitor's browser completing the request and staying put.

  • Dispatch to X Ads

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

  • Reversals where they exist

    Refunds for Ecommerce orders; qualification before the send for lead forms.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM for lead forms, or Webflow Ecommerce orders where you sell directly.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Webflow → X Ads questions, answered

Store twclid in a hidden form input and send the lead from Webflow's form webhook to X's Conversions API, with hashed email and the submission ID as the conversion ID.

Free · 30 min

Get Webflow and X Ads joined properly

Free30 minutesNo obligation