An fbclid (Facebook Click Identifier) is a code Meta adds to your page's address when someone clicks through to your site from a Facebook or Instagram ad or from a link shared on Facebook. Only Meta can match it to a campaign or ad, and Facebook also adds it to ordinary shared links, so it can't name your campaign or prove a paid click. Your own UTM tags carry the campaign name.
TL;DR
Meta adds the fbclid by itself to clicks on Facebook or Instagram ads and on links shared on Facebook, so you don't need to add it.
It doesn't prove a paid click or name a campaign, so tag your ad links with UTM tags (labels you write into the link yourself).
Keep it with each lead if you might later tell Meta which leads became customers, and expect some Meta ad leads to arrive without one.
- What is fbclid?
- Why is there an fbclid parameter at the end of my URL?
- Does an fbclid mean the person clicked my Facebook ad?
- Can an fbclid show which campaign or ad a lead came from?
- How is fbclid different from UTM tags?
- Should I save the fbclid with each lead?
- Why do some of my Facebook ad leads have no fbclid?
- Common questions
What is fbclid?
An fbclid, short for Facebook Click Identifier, is a one-off code Meta uses to connect what a visitor does on your website back to the click that brought them.
Meta calls it ClickID. Its developer guide, ClickID and the fbp and fbc Parameters, says Meta passes it with the address of an advertiser's website when someone clicks an ad on Facebook or Instagram. It arrives as a parameter, the extra text after the ? in a web address, written as a name, an equals sign and a value, such as the made-up fbclid=IwAR2xk9Lp.
Every click gets a fresh value. A study of Facebook's click IDs found that the value changes each time someone clicks a link that leads off Facebook, and that the same person clicking the same link twice gets two different codes.
Why is there an fbclid parameter at the end of my URL?
You see an fbclid because someone reached the page by clicking a Facebook or Instagram ad or a link shared on Facebook, and Meta added the code to the address. It shows up in a form entry only if something on your site saved it into the form.
Here is a made-up example of a page address after a click from Facebook:
https://example.com/services/?fbclid=IwAR2xk9Lp
Nobody on your team typed that in. Meta attaches the code when the click happens, and this doesn't change any tracking tags you've added to the link, so your own UTM tags stay as you wrote them.
In analytics, the code changes the address on every click. A report that lists full page addresses can therefore show the same services page dozens of times, each row ending in a different fbclid.
Your form saves the code only if it has a hidden field (a form field visitors don't see) and something on your site fills that field before the form is sent. If some of your entries show an fbclid, that setup exists. If none of them do, your form probably isn't saving it. TrackLeadSource is a lead source tracking tool that does this job. It records where each visitor came from, including click IDs such as the fbclid, and fills your form's hidden fields before the visitor sends it, so those details can be passed to your CRM or spreadsheet along with the enquiry. The guide on how to keep source details in your website forms explains how that works in general.
Does an fbclid mean the person clicked my Facebook ad?
Not necessarily. Meta documents the fbclid for clicks on Facebook and Instagram ads, but other sources report that Facebook adds it to ordinary links shared on the platform too, so an fbclid suggests the visit most likely started in a Meta app and doesn't prove a paid click.
Meta's guide covers only ad clicks and says nothing about unpaid posts. Two other sources describe something wider:
- Siteimprove's help page on identifying paid and organic Facebook traffic (last updated 23 June 2026) says Facebook uses the fbclid parameter on all outgoing links, and tells its customers to mark paid traffic with a UTM tag such as
utm_medium=paid. - The same study calls the fbclid a one-time tag Facebook adds to links shared on its platform that lead elsewhere, ads and websites alike, and dates it to mid-October 2018.
So a visit with an fbclid could come from your ad, from your own unpaid post, or from a customer who shared a link to your site, and the code looks the same in each case.
UTM tags settle it. Whoever builds your Meta ads adds them to the website link when setting up each ad: a source (where the visit came from, such as facebook) and a medium (the kind of traffic, such as paid_social for paid social media ads), written into the link as utm_source=facebook&utm_medium=paid_social. If every ad link carries paid_social and your posts carry organic_social or nothing, a lead with paid_social came from an ad. The reverse is weaker, because a lead with an fbclid and no UTM tags might still come from an ad someone forgot to tag. The Gravity Forms guide has a short table of source and medium labels, including paid and unpaid Facebook links, and the labels work the same whatever form tool you use.
TrackLeadSource
See the story behind each lead.
Keep source, campaign, and journey context together when a visitor becomes a lead.
Can an fbclid show which campaign or ad a lead came from?
No. An fbclid tells you a lead's visit most likely started with a click on a Facebook link or a Facebook or Instagram ad, but you can't read a campaign, ad, cost or person's name out of it, and only Meta can match it to anything.
| What you want to know | Can the fbclid tell you? |
|---|---|
| The visit came through a Facebook link or a Facebook or Instagram ad | Very likely, though a copied address keeps the code wherever it's pasted |
| Which campaign, ad set or ad it was | No |
| Whether the click was paid | No |
| What the click cost | No |
| Who the person is | No |
| Which click it was, for Meta's own matching | Yes, if you send it back to Meta |
Meta's guide describes no way for an advertiser to turn the value into a campaign name. What Meta does document is putting the names in the ad's link. Its guide to URL tags for tracking lists placeholders such as {{campaign.name}}, {{adset.name}} and {{ad.name}}, which whoever builds your ads can add to the link and which Meta replaces with the real names when someone clicks. The same guide says Meta stores those names as they were when the ad was first published, so a campaign you rename later can still show up under its old name in your leads.
The two lead records below are made up for illustration; no live test was run for this article. Both people clicked a Meta ad and asked for a quote. Lead A's form saved only the fbclid. Lead B's ad link carried UTM tags, and its pages viewed come from a tool that kept them while the person browsed.
| Field | Lead A | Lead B |
|---|---|---|
| fbclid | IwAR2xk9Lp | IwAR0bq7Tm |
| Source / medium | Empty | facebook / paid_social |
| Campaign | Empty | spring_offer |
| Pages before the enquiry | Empty | Services > Pricing > Contact |
Lead A tells your sales team the person clicked something on Facebook or Instagram, possibly an ad. Lead B says which campaign brought them and that they read your pricing before they got in touch, which is a better start for the first call.
TrackLeadSource records click IDs such as the fbclid alongside the source, medium and campaign of each visit, the source journey (the earlier visits and where each came from) and the pages viewed. It fills your form's hidden fields with those details before the visitor sends it. The campaign name on Lead B comes from your UTM tags, and the fbclid sits next to it as Meta's code, both on the same lead.
Should I save the fbclid with each lead?
Yes, if you or whoever runs your ads might later tell Meta which leads became customers, because the fbclid helps Meta tie those results to the ad click (Meta says sharing it can help you attribute more conversions), and it can only do that if the code was saved when the person filled in your form. If you won't, it adds little to your own reports, which run on UTM tags.
Meta's developer guide tells advertisers to store the ClickID and recommends sending it with every event through its Conversions API, Meta's way of receiving results, such as a qualified lead or a sale, from your own systems. The guide also says not to change the value in any way, so whatever saves it has to keep it exactly as it arrived. Connecting your CRM or website to the Conversions API is usually a job for whoever runs your ads or your website.
Why do some of my Facebook ad leads have no fbclid?
A Meta ad lead has no fbclid when the person never visited your website, or when the code got lost somewhere between the ad click and your form.
If you collect leads through forms that open inside Facebook or Instagram, those people never land on your site, so there is no page address to carry the code. For leads from your website forms, the code usually goes missing for one of these reasons:
- The website or a redirect drops it. Meta's Pixel support page says the code goes missing when a page doesn't accept anything extra on the end of its address, or refuses additions it doesn't expect. A redirect (an automatic jump from one address to another) can lose it the same way. Meta tells advertisers to take this to whoever manages the website.
- The form is on another page. The person lands on Services, clicks Contact, and the code is no longer in the address. Unless something kept it, the form has nothing to save.
- They came back another way. Someone who clicks your ad on Tuesday and types your address on Thursday arrives on Thursday with no code.
- The browser removed it. The study of Facebook's click IDs reports that Brave and Firefox had started stripping tracking tags such as fbclid from links, and that Brave removes it before the page loads. Apple's WebKit team says in its Private Browsing 2.0 post (16 July 2024) that Safari's private mode removes some tracking codes but keeps campaign labels, without listing which.
To size the gap, open your last 20 leads tagged facebook / paid_social and count how many also carry an fbclid. If none do, your forms probably aren't saving it. If most do and a few don't, the causes above are the likely ones. If your leads carry neither a source nor an fbclid, your forms probably aren't saving any source details, and the website forms guide is the place to start.
For Meta ad enquiries, the hard part of trying to track lead source is getting the code from the landing page to the form. TrackLeadSource keeps the source details from the visit, including click IDs such as the fbclid, while the person browses your site and across return visits, and fills your form's hidden fields before the visitor sends it. The visitor who landed on Services and filled in the form on Contact can still reach your CRM with their fbclid and campaign, and the Thursday visit can show up as a second step in their source journey.
Whoever looks after your website sets this up once. They add a small piece of code to the site, put hidden fields in your enquiry forms, and connect those fields to your CRM or spreadsheet, usually with Make.com or Zapier (tools that pass form entries on to other apps). The WPForms hidden field guide shows what the form side looks like for one form tool.
Some gaps stay whatever you install. Leads from forms inside Facebook or Instagram, a click on a phone followed by an enquiry from a laptop, and a browser that strips the code before your site sees it leave nothing to fill in afterwards.
Common questions
Not if your landing pages have a canonical tag (a line in the page's code naming the main version of the page). An address ending in an fbclid shows the same page as the address without it, and Google's page on consolidating duplicate URLs explains how that tag points such copies to the original, using an ad click ID in its own example. Ask whoever manages your site to check that the tag is there.
Hide it in how your analytics tool displays page addresses, which only tidies the reports; whoever manages your analytics can check whether your tool has a setting for that. Stripping it from the address before the page loads, with a redirect or a setting on your website, means neither your forms nor Meta can use it.
Meta's Pixel support page says link shorteners and vanity addresses (short branded links) can change the & in front of the code to a ?, which breaks the address and shows a 404 (page not found) error. The fix belongs to whoever manages your links or website.
They do the same job for different platforms: the gclid is Google Ads' click code and the fbclid is Meta's. Google's GCLID glossary entry says the gclid is switched on through the auto-tagging setting in your Google Ads account, while the fbclid arrives from Meta on its own. The gclid guide covers Google's side.
Helping marketers connect website form submissions to their source, campaign, and customer journey.


