Connecting Friendbuy to Meta Conversions API
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. Meta's pixel loses a large share of conversions to Safari, ad blockers and iOS, and the Conversions API exists because of it. The join between them succeeds or fails on one thing: whether the fbc and fbp values reaches the Friendbuy referral before the conversion happens, because Meta can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Friendbuy to Meta CAPI: shared links, fbclid and custom conversions
Facebook adds fbclid to shared Friendbuy links, so organic referral orders can look like paid Meta clicks. Send every order as Purchase with a referral flag and net value after both rewards in custom_data, and optimize on a custom conversion excluding referral orders. Meta cannot retract a Purchase, so flag it from the start, using the order number as event_id.
Facebook adds fbclid to outbound links even when nobody paid for the click. When a customer shares a Friendbuy referral link in a Facebook post or Messenger, the friend who clicks it lands with an fbclid, and your capture script writes a fresh fbc cookie that looks just like an ad click. Meta's own reporting only credits ad interactions, but any internal logic that treats an fbc value as proof of a paid visit will misfile referral orders as Meta-driven.
Send every order to Meta as Purchase so match quality and audiences stay complete, but include a referral flag and the net value after both rewards in custom_data. Then build a custom conversion that excludes referral orders and use it as the optimization event. Meta does not let you retract a Purchase after it has been sent, so the flag has to be there from the first event. Keep the order number as event_id on both pixel and server.
Meta's view-through attribution adds a second overlap: a referred friend who scrolled past one of your ads yesterday is counted by Meta and by Friendbuy. Report referral orders separately and read Meta's numbers net of them.
Friendbuy → Meta · what breaks
Why this join usually fails — Friendbuy → Meta
- 01
The fbc and fbp values 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
Double counting from broken deduplication
Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.
- 04
Nothing reconciles afterwards
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
Friendbuy → Meta · the fix
What working looks like — Friendbuy → Meta
The fbc and fbp values on every referral
Conversions arriving in Meta
Events appear in Events Manager with an Event Match Quality score, deduplicated against the pixel, and become usable for optimization and attribution.
Reconciled against the source
Friendbuy → Meta · architecture
How Friendbuy and Meta 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
Meta Conversions API needs a click to match
Meta matches server events to people using whatever identifiers you send, hashed with SHA-256 where required. There is no single mandatory key, which is why quality varies so much between implementations — a poorly matched event is accepted, reported, and worth much less than it appears.
- 3
The identifier is the bridge
The fbc and fbp values, 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
Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.
Friendbuy → Meta · normal or broken
Working vs. broken, side by side — Friendbuy → Meta
Normal, not a fault
The fbc and fbp values present on the referral
Sent from your order feed with referral attribution
Deduplicated correctly
Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.
Reconciles with the source
Actually broken
The fbc and fbp values 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
Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.
Nobody has reconciled it
Friendbuy → Meta · diagnose
Diagnostic order — Friendbuy → Meta
- 01
Count referrals carrying the fbc and fbp values
- 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
Read Event Match Quality and the deduplication indicator
In Events Manager, open the event and check both. A low match quality means weak identifiers; a missing deduplication indicator means your event_id pairing is broken.
- 05
Read the match rate, not the success message
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
Friendbuy → Meta · prove
How it gets proven — Friendbuy → Meta
Source of truth
Orders flagged by whether a referral produced them, with both reward costs recorded.
- The fbc and fbp values confirmed present on a live referral.
- Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
- Non-referral orders reconciled against imported conversions, with referral volume and reward cost reported separately.
Friendbuy → Meta · free audit
What we check in the free audit
- Count referrals carrying the fbc and fbp values
- Follow one real conversion end to end
- Check precedence between referral and paid parameters
- Read Event Match Quality and the deduplication indicator
- 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 → Meta · when not to buy
When you don't need this — Friendbuy → Meta
- Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the fbc and fbp values.
- No referral programme means no conflict and this is an ordinary store integration.
- If you are not running Meta ads at meaningful spend, the Conversions API is effort without payoff. It earns its cost when the optimization signal is worth improving.
Friendbuy → Meta · what we deliver
What gets built — Friendbuy → Meta
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 Meta
Server-side events to the Conversions API with the event_id matched to the pixel, action_source set correctly, and customer data hashed before it leaves your infrastructure.
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 → Meta questions, answered
Meta itself only credits ad interactions, but the click still sets an fbc cookie. Don't use fbc presence alone to label an order as paid.
Yes, by sending a referral flag in custom_data and optimizing on a custom conversion that filters those orders out.
Almost always because the fbc and fbp values 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.
Two things. The _fbc cookie, derived from the fbclid parameter on the landing URL in the format fb.1.<timestamp>.<fbclid>, is the click identifier. The _fbp cookie is the browser identifier. Beyond those, Meta matches on hashed customer information — email, phone, name, city, country — and every additional field raises the Event Match Quality score. Unlike Google, Meta does not need a click ID at all if the customer data is good, but match quality drops noticeably without it.
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.
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
More on Friendbuy → Meta
- Stripe → MetaConnecting Stripe to Meta Conversions API
- Toast → MetaConnecting Toast to Meta Conversions API
- Olo → MetaConnecting Olo to Meta Conversions API
RELATED GUIDES
Where Friendbuy → Meta fits in the rest of your tracking
- Meta · Subscription boxesMeta Ads conversion tracking for subscription box businesses
- Meta · EcommerceMeta Ads conversion tracking for ecommerce brands
- Meta × Ecommerce OrdersHow to reconcile Meta Ads against your store's order table
- Meta · Referral → closed saleHow to track referral to closed sale for Meta Ads
- Extole → MetaConnecting Extole to Meta Conversions API
- Friendbuy → X AdsConnecting Friendbuy to X Ads
- Subscription boxesConversion tracking for subscription boxes, measured in retained subscribers
- Talkable → MetaConnecting Talkable to Meta Conversions API
Free · 30 min
Get Friendbuy and Meta joined properly
Free30 minutesNo obligation
