Skip to main content
mParticle → X AdsIntegration guide

Connecting mParticle to X Ads

mParticle is built around mobile identity resolution, which is the hard case — an app install severs the browser cookie, and stitching the two sides is the entire value proposition. 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 mParticle user event 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

mParticle to X Ads: web twclid, app purchase, one conversion ID

X's twclid appears on the landing URL only briefly, so capture it on first page load, pass it through the deferred deep link and set it on the app profile in mParticle. Send settled purchases with the twclid, hashed email and the transaction ID as conversion ID. Check how X wants app conversions measured, often through an MMP.

For an app business, the X click path is fragile in a particular way: a user taps an ad inside X, lands on your web page in a browser context that may not persist, then heads to the app store. The twclid is on the landing URL for a moment. Capture it on that first page load, pass it through the install flow as a deferred deep link parameter, and set it on the app profile in mParticle as a user attribute.

When the purchase settles, send it with the stored twclid, hashed email from the resolved profile and the transaction ID as the conversion ID, so a web pixel event and a server event for the same order dedupe. Check whether mParticle's directory includes an X output that forwards conversions, and how X wants app conversions measured; installs are commonly attributed through a mobile measurement partner, and running both paths without coordination double-counts.

Keep platform on every event so X reporting can be split into web and app purchases; X volumes are often small enough that one side's error hides inside the other's total. Subscription cancellations and refunds should reverse in your own reporting even if X offers no adjustment path, so check whether X supports adjustments before promising net revenue there.

mParticle → X Ads · what breaks

Why this join usually fails — mParticle → X Ads

  1. 01

    The twclid click identifier never reaches mParticle

    The web-to-app transition. A user clicks an ad in a browser, installs the app and converts inside it, and nothing carries across without deliberate deferred-deep-link handling.

  2. 02

    Identity merge rules quietly setting your conversion count

    Merge too aggressively and two people become one customer. Merge too conservatively and one customer becomes three conversions. Neither failure announces itself and both change the number your bidding runs on.

  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.

mParticle → X Ads · the fix

What working looks like — mParticle → X Ads

  • The twclid click identifier on every event

  • 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

mParticle → X Ads · architecture

How mParticle and X Ads actually connect

  1. 1

    mParticle holds the truth

    Identity resolution decides which events belong to which person, and the merge rules you configure directly determine your conversion counts. Get them wrong and you either duplicate people or collapse strangers together.

  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 mParticle user event.

  4. 4

    The event source decides reliability

    Send settled transactions from the resolved profile, with platform noted, so web and app performance stay distinguishable.

  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.

mParticle → X Ads · normal or broken

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

Normal, not a fault

  • The twclid click identifier present on the event

  • Sent from the mParticle server-side feed

  • 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 web-to-app transition. A user clicks an ad in a browser, installs the app and converts inside it, and nothing carries across without deliberate deferred-deep-link handling.

  • Sent from the browser

    Merge too aggressively and two people become one customer. Merge too conservatively and one customer becomes three conversions. Neither failure announces itself and both change the number your bidding runs on.

  • 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

mParticle → X Ads · diagnose

Diagnostic order — mParticle → X Ads

  1. 01

    Count events carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Audit the identity priority order

    Read the configured hierarchy and test it against known duplicate accounts before trusting any downstream count.

  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.

mParticle → X Ads · prove

How it gets proven — mParticle → X Ads

Source of truth

The resolved user profile, joined to your billing or order system.

  • The twclid click identifier confirmed present on a live event.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Distinct paying customers in billing reconciled against resolved profiles reporting a purchase.

mParticle → X Ads · free audit

What we check in the free audit

  • Count events carrying the twclid click identifier
  • Follow one real conversion end to end
  • Audit the identity priority order
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

The resolved user profile, joined to your billing or order system.

Get my free conversion tracking audit

Free30 minutesNo obligation

mParticle → X Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred events and count how many carry the twclid click identifier.
  • Web-only businesses rarely need this. The mobile identity problem is what justifies the complexity, and without an app you are paying for a solution to a problem you do not have.
  • 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.

mParticle → X Ads · what we deliver

What gets built — mParticle → X Ads

  • Identifier capture into mParticle

    Capture the identifier on the web, pass it through the install attribution flow, and set it as a user attribute on the app-side profile so the eventual purchase can still name its origin.

  • Event source: the mParticle server-side feed

    Send settled transactions from the resolved profile, with platform noted, so web and app performance stay distinguishable.

  • Dispatch to X Ads

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

  • Reversals where they exist

    Refunds and subscription cancellations reverse against the same profile.

Written guarantee

95%+ tracking accuracy

Measured against The resolved user profile, joined to your billing or order system.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

mParticle → X Ads questions, answered

Capture twclid on the web landing page before the install, carry it through your deferred deep link, store it on the mParticle profile, and send it with the in-app purchase.

Free · 30 min

Get mParticle and X Ads joined properly

Free30 minutesNo obligation