fbclid
fbclid is the click ID Meta adds to the landing page URL when someone clicks an ad on Facebook or Instagram. The Meta Pixel stores it in the _fbc cookie, and the Conversions API takes it as fbc, in the form fb.<subdomain index>.<creation time>.<fbclid>, so Meta can tie the conversion to the click.
By TagALead. Last checked 1 December 2026.
How fbclid gets onto the page
When someone clicks an ad on Facebook or Instagram, Meta passes a click ID with the URL of the advertiser’s site, as fbclid (ClickID and the fbp and fbc parameters). Meta’s example is example.com/?fbclid=IwAR2F4-….
The value is case sensitive. Meta asks that nobody change it before it is used, not even to lower or upper case.
The fbclid parameter is on the landing page URL. Later pages do not carry it unless your links do. The Meta Pixel stores the click ID in the _fbc cookie once it is available.
That cookie lives under your domain. Meta documents its value as fb.<subdomain index>.<creation time>.<fbclid>, not the bare click ID.
Meta’s example on the fbp and fbc page is fb.1.1554763741205.IwAR2F4-…, shortened here. The same page says the fbclid is the string after the last period.
When Meta’s parameter builder library forms the value, its Parameter Builder Library page gives the form as fb.<subdomain index>.<creation time>.<fbclid>.<appendix>.
Meta says that appendix is 8 characters holding the library’s version, incrementality and language, and a 2-character one is a legacy appendix. In that form the string after the last period is the appendix, not the click ID.
When the fbclid in the URL differs from the one in _fbc, Meta says to update the cookie and send the most recent value. A newer click replaces the older one.
Meta does not say how long the Pixel keeps _fbc. When you set the cookie yourself, from your server, Meta recommends a 90-day expiry.
Meta does not document which parameter of the Pixel’s facebook.com/tr request carries the click ID. Its image-tag reference lists id, ev and cd[...] fields, and no click ID.
The Conversions API takes the value as fbc in user_data, unhashed (Customer information parameters). Meta recommends sending fbc with every event.
Where fbclid goes missing
Each cause below comes with a way to spot it.
A shortener or vanity URL that breaks the link
With URL shorteners and vanity URLs, Meta still adds the click ID, but the & can turn into a ?, or the other way round. The URL breaks, and Meta’s FAQ ties this to a 404 error.
To spot it, open the shortened link with ?fbclid=TEST123 added. If the page shows a 404, or the address bar ends up without fbclid, the link cannot carry the click ID.
A site that refuses unexpected parameters
Meta names two more reasons a click ID goes missing: the page does not accept URL parameters, or it does not accept unexpected ones appended to the URL.
Meta says the fix is on the site: have it handle the parameter, or ignore fbclid so the page still loads.
To spot it, open the landing page with ?fbclid=TEST123 and read the address bar once the page has loaded. If the parameter is gone, something on the site or a redirect removed it.
No Meta Pixel on the landing page
Meta notes that the _fbc cookie is not available when no Meta Pixel runs on the site. The same page describes setting _fbc yourself, as covered above.
It also says that fbc can still go with a Conversions API event while fbclid is in the URL of the current page request.
Meta’s client-side parameter builder has APIs that save cookies when triggered. That page does not say which cookies.
To spot it, check in GTM Preview that the Meta Pixel tag fires on the landing page, not only on the thank-you page.
Code that changes the value
Meta treats the click ID as case sensitive. A script, redirect rule or form handler that lowercases the URL turns it into a different ID.
To spot it, compare the fbclid in the address bar with the field of _fbc between the creation time and the next period. They should match character for character.
A further period and 8 characters after it, or 2 for a legacy appendix, are the parameter builder’s appendix, not a change to the click ID.
Safari Private Browsing
In Private Browsing, Safari removes a subset of query parameters used for cross-site tracking before the navigation starts. WebKit does not list them, so it does not say whether fbclid is one.
To spot it, open a Safari private window, follow a link to your landing page from another site with ?fbclid=TEST123 on it, and read the address bar on arrival.
Denied consent
Meta does not document what its Pixel does when ad_storage is denied. Its own consent call, fbq('consent', 'revoke'), pauses Pixel fires until consent is granted, and it has to be called on every page.
To spot it, read the consent state of the lead event in GTM Preview, then check whether a request to facebook.com/tr left the page.
How to check fbclid by hand
Follow one test click ID from the URL to the cookie and the request.
- Open the landing page with
?fbclid=TEST123at the end of the URL, or&fbclid=TEST123when it already has a query string. Check that the parameter is still in the address bar after the page loads. - In Chrome DevTools, open Application, then Cookies, and pick your domain. Find
_fbc. If it is missing, check that the Meta Pixel ran on this page. - Read the cookie’s value. It should start with
fb.and containTEST123after the creation time. - Submit a test lead and open DevTools, Network. Filter for
facebook.com/trand open the request for the lead event. - Meta does not document the field that carries the click ID here, so search the request for
TEST123. Note the parameter you find. An undocumented field can change without notice. - If the site also sends events to the Conversions API, check that
user_data.fbcholds the samefb.value, unhashed.
In TagALead
The template reads fbclid from the page URL and records the time it read it there, or else from _fbc, everything after the creation time, so a parameter-builder appendix stays on the end, and records the time in the cookie; the click ID with the latest known time is the lead’s source. A lead with no click ID is flagged as one that cannot be matched to an ad click. When ad_storage is denied, the template drops the click ID and still sends the lead ID.
Related
Sources
- Meta for Developers: ClickID and the fbp and fbc parameters. Checked 1 December 2026.
- Meta for Developers: Customer information parameters. Checked 1 December 2026.
- Meta for Developers: Meta Pixel support. Checked 1 December 2026.
- Meta for Developers: Meta Pixel, Advanced. Checked 1 December 2026.
- Meta for Developers: General Data Protection Regulation (Meta Pixel). Checked 1 December 2026.
- WebKit blog: Private Browsing 2.0. Checked 1 December 2026.
- Meta for Developers: Parameter Builder Library. Checked 1 December 2026.
- Meta for Developers: Parameter Builder Get Started Guide. Checked 1 December 2026.