Connecting Friendbuy to X Ads
Friendbuy runs customer-to-customer referral, which means the acquisition was produced by an existing customer and paid for with a reward on both sides. 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 Friendbuy referral 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
Friendbuy and X Ads: shared referral posts are not paid clicks
Referral links shared on X arrive with X as referrer but no twclid, and are not ad performance. If you persist twclid server-side, record both identifiers on the order and hold referral-flagged orders out of the X Conversions API. Send genuine X orders server-side with the order ID as a pixel-shared conversion ID and value net of referral discounts.
Referral links get shared on X all the time, in posts and replies, and that traffic shows X as the referrer with no twclid. It is the Friendbuy program working, paid for with two rewards, and it should not be counted as X ad performance. The trap is analytics that groups by referrer domain: a good week for an advocate with a following looks like a good week for your X campaign.
The paid collision is shorter-lived here than on other networks. X's in-app browser keeps storage briefly, so a twclid from an ad click is often already gone by the time the same person returns through a friend's referral link. If you persist twclid server-side, the precedence rule decides the order; record both on the order and hold referral-flagged orders out of the X Conversions API.
For orders that X genuinely produced, send them server-side with the order ID as the conversion ID shared with the pixel, and value net of any referral discount. X volumes are often small, so a handful of mislabeled referral orders can make a campaign look profitable. Compare referral-flagged orders with X as referrer against your X-attributed orders for the same week before trusting either.
Friendbuy → X Ads · what breaks
Why this join usually fails — Friendbuy → X Ads
- 01
The twclid click identifier never reaches Friendbuy
Referral links route through Friendbuy and land on your store with their own parameters, potentially overwriting a stored paid identifier.
- 02
Word of mouth billed to the ad account
The better your referral programme performs, the worse your paid reporting gets — a genuinely perverse outcome caused entirely by last-write-wins identifier storage that nobody consciously chose.
- 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.
Friendbuy → X Ads · the fix
What working looks like — Friendbuy → X Ads
The twclid click identifier on every referral
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
Friendbuy → X Ads · architecture
How Friendbuy and X Ads actually connect
- 1
Friendbuy holds the truth
A double-sided referral costs you two discounts to acquire one customer. That is a real and known acquisition cost, and it sits nowhere near the ad account that will otherwise claim the sale.
- 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 Friendbuy referral.
- 4
The event source decides reliability
Send orders net of both referral rewards, with referral-sourced orders marked and held out of paid conversion imports.
- 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.
Friendbuy → X Ads · normal or broken
Working vs. broken, side by side — Friendbuy → X Ads
Normal, not a fault
The twclid click identifier present on the referral
Sent from your order feed with referral attribution
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
Referral links route through Friendbuy and land on your store with their own parameters, potentially overwriting a stored paid identifier.
Sent from the browser
The better your referral programme performs, the worse your paid reporting gets — a genuinely perverse outcome caused entirely by last-write-wins identifier storage that nobody consciously chose.
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
Friendbuy → X Ads · diagnose
Diagnostic order — Friendbuy → X Ads
- 01
Count referrals carrying the twclid click identifier
- 02
Follow one real conversion end to end
- 03
Check precedence between referral and paid parameters
Whichever wins decides who gets credit, and almost nobody has decided it deliberately.
- 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.
Friendbuy → X Ads · prove
How it gets proven — Friendbuy → X Ads
Source of truth
Orders flagged by whether a referral produced them, with both reward costs recorded.
- The twclid click identifier confirmed present on a live referral.
- Conversions reconciled per order against imported figures, with deduplication verified on a live test.
- Non-referral orders reconciled against imported conversions, with referral volume and reward cost reported separately.
Friendbuy → X Ads · free audit
What we check in the free audit
- Count referrals carrying the twclid click identifier
- Follow one real conversion end to end
- Check precedence between referral and paid parameters
- Compare engagement rate against conversion rate by campaign
- Read the match rate, not the success message
Checked against
Orders flagged by whether a referral produced them, with both reward costs recorded.
Free30 minutesNo obligation
Friendbuy → X Ads · when not to buy
When you don't need this — Friendbuy → X Ads
- Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the twclid click identifier.
- No referral programme means no conflict and this is an ordinary store integration.
- 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.
Friendbuy → X Ads · what we deliver
What gets built — Friendbuy → X Ads
Identifier capture into Friendbuy
Apply an explicit precedence rule between referral and paid parameters and record both on the order.
Event source: your order feed with referral attribution
Send orders net of both referral rewards, with referral-sourced orders marked and held out of paid conversion imports.
Dispatch to X Ads
The X Conversions API, posted server-side with the click identifier and hashed customer data.
Reversals where they exist
Refunds reverse and should reclaim rewards.
Written guarantee
95%+ tracking accuracy
Measured against Orders flagged by whether a referral produced them, with both reward costs recorded.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Friendbuy → X Ads questions, answered
Advocates share Friendbuy links in posts, so the visit arrives with X as referrer but no twclid. Those are referral orders and should be excluded from X ad reporting.
No. Flag them on the order using your precedence rule and send only orders without the referral flag.
Almost always because the twclid click identifier never reached the Friendbuy referral. Referral links route through Friendbuy and land on your store with their own parameters, potentially overwriting a stored paid identifier. 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 feed with referral attribution. Send orders net of both referral rewards, with referral-sourced orders marked and held out of paid conversion imports.
Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.
More on Friendbuy → X Ads
- Friendbuy → Google AdsConnecting Friendbuy to Google Ads
- Friendbuy → Microsoft AdsConnecting Friendbuy to Microsoft Ads
- Friendbuy → Apple Search AdsConnecting Friendbuy to Apple Search Ads
RELATED GUIDES
Where Friendbuy → X Ads fits in the rest of your tracking
- X Ads · Subscription boxesX Ads conversion tracking for subscription box businesses
- X Ads · SaaSX Ads conversion tracking for SaaS companies
- X Ads × Ecommerce OrdersHow to reconcile X Ads against your store's order table
- X Ads · Referral → closed saleHow to track referral to closed sale for X Ads
- ReferralCandy → X AdsConnecting ReferralCandy to X Ads
- Friendbuy → TikTokConnecting Friendbuy to TikTok Events API
- Subscription boxesConversion tracking for subscription boxes, measured in retained subscribers
- Extole → X AdsConnecting Extole to X Ads
Free · 30 min
Get Friendbuy and X Ads joined properly
Free30 minutesNo obligation
