Facebook Cookies
Understand how AnyTrack handles the Facebook _fbp cookie and the fbclid click ID, how AnyTrack builds the fbc value, and when these values reach the Meta Conversion API with your conversion events.
Meta Ads uses cookies to support its attribution and tracking processes. The two main cookies relevant for advertisers are _fbc and _fbp.
AnyTrack records the value of the _fbp cookie and the Meta click ID (fbclid). AnyTrack does not read the _fbc cookie. AnyTrack builds the fbc value from the stored fbclid value. AnyTrack sends fbp and fbc to the Conversion API when it has them. For the fbc condition, see When AnyTrack Sends fbc.
Cookie and Parameter Reference
Section titled “Cookie and Parameter Reference”| Identifier | What it is | How AnyTrack uses it |
|---|---|---|
_fbc | Meta browser cookie used for attribution | AnyTrack does not read this cookie. AnyTrack builds the fbc value from the stored fbclid value and sends fbc to the Conversion API when the attributed visit has an fbclid. |
_fbp | Meta browser cookie used for attribution | AnyTrack records the cookie value and includes it in the attribution data for that user. |
fbclid | Meta click ID, a URL parameter Facebook automatically appends to ad links and links on its platforms | AnyTrack stores the fbclid value in the attribution data and uses it to build the fbc value for the Conversion API. |
How the fbclid Reaches Your Site
Section titled “How the fbclid Reaches Your Site”Facebook automatically appends the fbclid parameter to all ad links and links on its platforms, so it arrives on your landing page as part of the URL.
How AnyTrack Records These Values
Section titled “How AnyTrack Records These Values”AnyTrack records the value of the _fbp cookie and the fbclid parameter, and includes them in the attribution data for that user.
When AnyTrack Sends fbc
Section titled “When AnyTrack Sends fbc”AnyTrack adds fbc to a Conversion API event only when AnyTrack attributes the conversion to a visit that carried an fbclid. AnyTrack reads the fbclid from the URL of the page where that visit landed.
If AnyTrack did not record the landing page with the fbclid, the attributed visit has no fbclid. AnyTrack then sends the event without fbc. For example, the Tracking Tag is missing on the landing page, or a redirect removes the fbclid.
AnyTrack does not read fbc from the _fbc cookie. To get fbc on your events, load the Tracking Tag on every page where your Facebook ads land. Keep the fbclid on the landing page URL.
Playbook
- Shopify
- Facebook Ads
Send Shopify Purchases to Meta Conversions API
The 20-minute fix for iOS signal loss. Full-funnel checkout events, sent server-side and deduplicated by AnyTrack before they reach Meta.