Connecting LiveChat to X Ads
LiveChat is agent-operated chat for mid-market companies, and its built-in goal tracking makes it unusually easy to create a conversion action that measures agent activity instead of revenue. 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 LiveChat goal 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
LiveChat and X Ads: twclid from in-app browser to order
Send the settled order to the X Conversions API with hashed email, the stored twclid and the order ID as conversion ID. Capture twclid server-side on the first request, since X's in-app browser won't keep it, push it into LiveChat as a session variable, and persist it on the customer. Any X pixel purchase must share that ID.
X traffic often opens your site inside the X app's built-in browser, starts a chat with a quick question, and comes back later on a laptop to buy. The twclid on that first landing URL is the only link to the ad, and the in-app browser will not keep it. Capture it server-side on the first request and push it into the LiveChat widget as a session variable so it is stored with the transcript.
Once the chat yields an email, persist twclid against the customer, not the session. When the order or deal settles in your order or CRM system, send it to the X Conversions API with hashed email, the stored twclid and the order ID as the conversion ID. If the X pixel also fires a purchase on the thank-you page, it must carry the same conversion ID, or every chat-assisted order counts twice.
That doubling is easy to miss on X, where conversion volumes are small enough that it looks like a good week. Count X-attributed orders against settled orders carrying a stored twclid for the same period. Agent-marked goals stay inside LiveChat for coaching and are never sent.
LiveChat → X Ads · what breaks
Why this join usually fails — LiveChat → X Ads
- 01
The twclid click identifier never reaches LiveChat
The chat window is a third-party frame, and chats frequently continue across sessions and devices while the ticket stays open.
- 02
Agent-reported sales as a bidding signal
Agents mark goals inconsistently, under time pressure, and sometimes according to how they are compensated. That is a reasonable management metric and a terrible thing to hand an automated bidding algorithm.
- 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.
- 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.
LiveChat → X Ads · the fix
What working looks like — LiveChat → X Ads
The twclid click identifier on every goal
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
LiveChat → X Ads · architecture
How LiveChat and X Ads actually connect
- 1
LiveChat holds the truth
LiveChat's own goal and sales-tracking features are agent-reported. They are useful for coaching and unsuitable as an advertising conversion source, because a human decides whether they fire.
- 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
The identifier is the bridge
The twclid click identifier, captured at the visit and carried into the LiveChat goal.
- 4
The event source decides reliability
Send the settled commercial outcome, not the agent-marked goal.
- 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.
LiveChat → X Ads · normal or broken
Working vs. broken, side by side — LiveChat → X Ads
Normal, not a fault
The twclid click identifier present on the goal
Sent from your order or CRM 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
The chat window is a third-party frame, and chats frequently continue across sessions and devices while the ticket stays open.
Sent from the browser
Agents mark goals inconsistently, under time pressure, and sometimes according to how they are compensated. That is a reasonable management metric and a terrible thing to hand an automated bidding algorithm.
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
LiveChat → X Ads · diagnose
Diagnostic order — LiveChat → X Ads
- 01
Count goals carrying the twclid click identifier
- 02
Follow one real conversion end to end
- 03
Compare agent-marked goals against settled revenue
The gap is usually wide enough to settle the argument about which one should be the conversion.
- 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.
- 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.
LiveChat → X Ads · prove
How it gets proven — LiveChat → X Ads
Source of truth
Your order or CRM system, joined to the chat session by the agent-recorded identifier or the customer's email.
- The twclid click identifier confirmed present on a live goal.
- Conversions reconciled per order against imported figures, with deduplication verified on a live test.
- Settled orders reconciled against imported conversions; agent-marked goals excluded.
LiveChat → X Ads · free audit
What we check in the free audit
- Count goals carrying the twclid click identifier
- Follow one real conversion end to end
- Compare agent-marked goals against settled revenue
- Compare engagement rate against conversion rate by campaign
- Read the match rate, not the success message
Checked against
Your order or CRM system, joined to the chat session by the agent-recorded identifier or the customer's email.
Free30 minutesNo obligation
LiveChat → X Ads · when not to buy
When you don't need this — LiveChat → X Ads
- Measure identifier coverage yourself first — pull your last hundred goals and count how many carry the twclid click identifier.
- If LiveChat is purely a support channel, no integration is warranted.
- 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.
LiveChat → X Ads · what we deliver
What gets built — LiveChat → X Ads
Identifier capture into LiveChat
Push the identifier in as a custom variable at load. Expect multi-session conversations, and persist against the customer rather than the session.
Event source: your order or CRM record
Send the settled commercial outcome, not the agent-marked goal.
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 cancelled deals reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your order or CRM system, joined to the chat session by the agent-recorded identifier or the customer's email.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
LiveChat → X Ads questions, answered
Capture twclid server-side on landing, store it with the chat and the customer email, and send the settled order to the X Conversions API with a conversion ID.
The pixel and server events are not sharing the same conversion ID. Use the order ID in both.
Almost always because the twclid click identifier never reached the LiveChat goal. The chat window is a third-party frame, and chats frequently continue across sessions and devices while the ticket stays open. Measure coverage before debugging the dispatch.
X appends twclid to the landing URL and the pixel stores it. It behaves like other click identifiers, with the usual caveat that a large share of X traffic arrives through the in-app browser, where storage is partitioned and short-lived.
Your order or CRM record. Send the settled commercial outcome, not the agent-marked goal.
Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.
More on LiveChat → X Ads
- LiveChat → Google AdsConnecting LiveChat to Google Ads
- LiveChat → Microsoft AdsConnecting LiveChat to Microsoft Ads
- LiveChat → Apple Search AdsConnecting LiveChat to Apple Search Ads
RELATED GUIDES
Where LiveChat → X Ads fits in the rest of your tracking
- X Ads · B2BX Ads conversion tracking for B2B companies
- X Ads · EcommerceX Ads conversion tracking for ecommerce brands
- X Ads × Ecommerce OrdersHow to reconcile X Ads against your store's order table
- X Ads · Chat → qualified leadHow to track chat conversation to qualified lead for X Ads
- Tawk.to → X AdsConnecting Tawk.to to X Ads
- LiveChat → Google AdsConnecting LiveChat to Google Ads
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- Freshdesk → X AdsConnecting Freshdesk to X Ads
Free · 30 min
Get LiveChat and X Ads joined properly
Free30 minutesNo obligation
