Skip to main content
CallRail → X AdsIntegration guide

Connecting CallRail to X Ads

CallRail knows which call came from which visit, and for phone-led businesses the call is the conversion. 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 CallRail call 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

CallRail calls as X Ads conversions with twclid and hashed phone

X visitors usually tap your number inside the in-app browser, where CallRail's session exists, so read twclid from the landing URL onto the session immediately. Send qualified calls from the post-call webhook to the X Conversions API with twclid, hashed caller phone and the CallRail call ID as conversion ID. Apply a duration filter, since curiosity calls are common.

X traffic arrives mostly in the in-app browser, where a visitor reads the page and taps your number inside the same webview. That suits CallRail, because the swapped number and its session exist at the moment of the tap. It also means the twclid must be read from the landing URL onto that session, since the in-app browser's storage is short-lived and gone by the time the visitor calls back from their recent-calls list.

Send qualified calls from the post-call webhook to the X Conversions API with the twclid from the session and the caller's number hashed; X lists hashed phone among its match fields, but confirm the current field names in X's documentation. Use CallRail's call ID as the conversion ID. The X pixel never sees the call, so there is no browser event to pair; the duplicate risk is a retried webhook, and X volumes are small enough that a doubled week reads as a winning campaign.

Check the duration filter before trusting the count. A promoted post that draws curiosity can produce a wave of short calls from people who wanted to see who answers, and on X that wave is more likely than on search traffic. Short calls should never be sent as conversions here.

CallRail → X Ads · what breaks

Why this join usually fails — CallRail → X Ads

  1. 01

    The twclid click identifier never reaches CallRail

    Dynamic number insertion has to run before the visitor dials. If the swap script is deferred, blocked by consent, or the visitor calls from a cached page, CallRail records the call but cannot tie it to the session, and the click identifier goes with it. Calls from the Google Business Profile or a printed number never had a session at all.

  2. 02

    Every call counts, including the wrong numbers

    Unfiltered call conversions teach the ad platform to find people who dial, not people who buy. A 12-second call is not a lead and should not be paid for as one.

  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.

CallRail → X Ads · the fix

What working looks like — CallRail → X Ads

  • The twclid click identifier on every call

  • 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

CallRail → X Ads · architecture

How CallRail and X Ads actually connect

  1. 1

    CallRail holds the truth

    The call record carries duration, source, the tracking number, the keyword where available, and — critically — the session CallRail stitched it to. That session is what carries the click identifier.

  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 CallRail call record.

  4. 4

    The event source decides reliability

    Send after the call completes, filtered by duration or by the qualification your team applies. Sending on call start counts wrong numbers and hang-ups as conversions.

  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.

CallRail → X Ads · normal or broken

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

Normal, not a fault

  • The twclid click identifier present on the call

  • Sent from the CallRail post-call 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

    Dynamic number insertion has to run before the visitor dials. If the swap script is deferred, blocked by consent, or the visitor calls from a cached page, CallRail records the call but cannot tie it to the session, and the click identifier goes with it. Calls from the Google Business Profile or a printed number never had a session at all.

  • Sent from the browser

    Unfiltered call conversions teach the ad platform to find people who dial, not people who buy. A 12-second call is not a lead and should not be paid for as one.

  • 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

CallRail → X Ads · diagnose

Diagnostic order — CallRail → X Ads

  1. 01

    Count calls carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what share of calls have a session attached

    In CallRail, calls without a session cannot be attributed by anyone. That percentage is your real ceiling, and it is usually the number that ends the debate.

  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.

CallRail → X Ads · prove

How it gets proven — CallRail → X Ads

Source of truth

CallRail's own call log for the same window, filtered to the call qualification you count.

  • The twclid click identifier confirmed present on a live call.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • The duration or qualification threshold agreed in writing before anything is sent.

CallRail → X Ads · free audit

What we check in the free audit

  • Count calls carrying the twclid click identifier
  • Follow one real conversion end to end
  • Check what share of calls have a session attached
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

CallRail's own call log for the same window, filtered to the call qualification you count.

Get my free conversion tracking audit

Free30 minutesNo obligation

CallRail → X Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred calls and count how many carry the twclid click identifier.
  • CallRail's own native integrations are genuinely decent for straightforward setups. If you only need calls into one destination and your qualification is just a duration threshold, use theirs — we will say so.
  • 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.

CallRail → X Ads · what we deliver

What gets built — CallRail → X Ads

  • Identifier capture into CallRail

    Confirm the number-swap script runs early and unconditionally on every page a paid visitor can land on, and that CallRail's session capture is receiving the click identifier from the URL.

  • Event source: the CallRail post-call webhook

    Send after the call completes, filtered by duration or by the qualification your team applies. Sending on call start counts wrong numbers and hang-ups as conversions.

  • Dispatch to X Ads

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

  • Reversals where they exist

    There is nothing to reverse, but a call later marked unqualified should not have been counted — which is why the duration or qualification filter belongs before the send, not after.

Written guarantee

95%+ tracking accuracy

Measured against CallRail's own call log for the same window, filtered to the call qualification you count.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CallRail → X Ads questions, answered

Not natively. A call tracked in CallRail can be sent to the X Conversions API server-side if the call's session kept the twclid from the ad click.

Free · 30 min

Get CallRail and X Ads joined properly

Free30 minutesNo obligation