Skip to main content
iubenda → X AdsIntegration guide

Connecting iubenda to X Ads

iubenda bundles consent management with generated privacy policies and cookie declarations, which means the published document and the actual behaviour can drift apart silently. 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 iubenda consent record 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

iubenda and X Ads: gating twclid and the X pixel

Most X clicks meet iubenda's banner in the in-app browser, where EU silence means no consent while US traffic follows the opt-out model. Use one consent gate for the X pixel and the server Conversions API, carrying the iubenda state with twclid on the order. Confirm X appears in the declaration, since consent-gated GTM tags can escape the scan.

Most X clicks land in the in-app browser on a phone, which is where iubenda's banner takes up the most screen and gets dismissed without an answer most often. For EU visitors no answer means no advertising consent, so the X pixel stays off and twclid should not be persisted. For US visitors under iubenda's opt-out model, the default is to send unless they opt out of sale or sharing. Know which model applies to which traffic before reading X's numbers.

Use one consent gate for both pipes. If iubenda blocks the X pixel but the server-side Conversions API call checks nothing, you are sending for people who refused, and X receives server events with no matching pixel events. That looks like a deduplication problem when it is a consent leak. Carry the iubenda state onto the order alongside twclid, and send from the server only when the same condition that would have allowed the pixel is true.

Then check that X is in the cookie declaration. If the X pixel was added through Google Tag Manager with a consent requirement, iubenda's scanner may browse as a visitor who never consented, never see the X cookies, and leave X out of the generated policy while it is live for everyone who accepts.

iubenda → X Ads · what breaks

Why this join usually fails — iubenda → X Ads

  1. 01

    The twclid click identifier never reaches iubenda

    Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.

  2. 02

    A cookie declaration that no longer matches the site

    Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.

  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.

iubenda → X Ads · the fix

What working looks like — iubenda → X Ads

  • The twclid click identifier on every consent record

  • 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

iubenda → X Ads · architecture

How iubenda and X Ads actually connect

  1. 1

    iubenda holds the truth

    The cookie declaration lists what the site sets. Adding a new conversion destination adds cookies and data sharing the declaration does not mention until somebody updates it.

  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 iubenda consent record.

  4. 4

    The event source decides reliability

    Send consented conversions, with the destination list matching the published declaration.

  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.

iubenda → X Ads · normal or broken

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

Normal, not a fault

  • The twclid click identifier present on the consent record

  • Sent from your order system, gated on consent

  • 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

    Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.

  • Sent from the browser

    Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.

  • 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

iubenda → X Ads · diagnose

Diagnostic order — iubenda → X Ads

  1. 01

    Count consent records carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare your destination list against the published declaration

    Five minutes, and it is almost never done after a new integration goes live.

  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.

iubenda → X Ads · prove

How it gets proven — iubenda → X Ads

Source of truth

Your order system, with consent state attached to the event.

  • The twclid click identifier confirmed present on a live consent record.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Consented conversions reconciled, with the declaration verified against the live destination list.

iubenda → X Ads · free audit

What we check in the free audit

  • Count consent records carrying the twclid click identifier
  • Follow one real conversion end to end
  • Compare your destination list against the published declaration
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

Your order system, with consent state attached to the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

iubenda → X Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the twclid click identifier.
  • Update the declaration before adding a destination, not after. That order is cheaper than the alternative.
  • 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.

iubenda → X Ads · what we deliver

What gets built — iubenda → X Ads

  • Identifier capture into iubenda

    Capture after consent, and re-run the scan whenever a destination is added.

  • Event source: your order system, gated on consent

    Send consented conversions, with the destination list matching the published declaration.

  • Dispatch to X Ads

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

  • Reversals where they exist

    Withdrawal stops future sends.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with consent state attached to the event.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

iubenda → X Ads questions, answered

Block it until advertising consent, using iubenda's own blocking or a consent requirement on the tag in Google Tag Manager, and apply the same check before any server-side X Conversions API send.

Free · 30 min

Get iubenda and X Ads joined properly

Free30 minutesNo obligation