On this page
What this issue is
fbclid is the Facebook click ID. Meta adds it to the end of your ad's link, for example https://example.com/offer?fbclid=IwAR.... The Meta Pixel reads it on the landing page and saves it in the _fbc cookie. That cookie is later sent with your events so Meta can match a lead or sale to the ad click.
Why it costs you leads or sales
Without fbclid, the Pixel cannot create _fbc. Your events still fire, but Meta has less to match them to the ad click. Attribution drops, reported conversions fall, and the algorithm gets fewer signals to learn who converts. Campaigns can look worse than they are, and you may cut budget on ads that work.
- Meta ad clickURL ends in ?fbclid=...
- Redirecthttp to https or non-www to www drops the query string
- Landing pagePixel sees no fbclid
- _fbc cookieNever created
- Lead or purchase eventSent without click ID
The redirect drops the query string, so everything after it has no fbclid.
Example: share of conversions with a click ID before and after fixing the redirect. Your numbers will differ.
How to check if your site has it
Build a test URL
Take the exact URL your Meta ad uses and add ?fbclid=test123 (or &fbclid=test123 if it already has parameters). Use the ad's real destination, including http or non-www if that is what the ad uses.
Open it in a private window
Paste it into the address bar and let the page load.
Look at the final address
If the address bar no longer shows fbclid=test123, a redirect removed it.
Check the cookie
Open DevTools, then Application, then Cookies. Look for _fbc. It should look like fb.1.1700000000000.test123. If the Pixel is installed and _fbc is missing, the parameter was lost.
See each hop
In DevTools Network, tick Preserve log and reload. Requests with status 301 or 302 show the Location header. Check that each one still contains the query string.
curl -sIL "http://example.com/offer?fbclid=test123" | grep -iE "^(HTTP|location)"How to fix it
The goal is the same everywhere: every redirect must carry the query string to the new address, and there should be as few hops as possible. Best of all, point your ads straight at the final URL so no redirect is needed.
Find the redirect source
Check redirect plugins (Redirection, Rank Math, Yoast Premium, Safe Redirect Manager), your host's force-HTTPS or www setting, and .htaccess.
Turn on query parameter passing
In the Redirection plugin, edit the rule and set Query Parameters to Pass-through (or Exact match and pass). In Rank Math, use a redirect type that keeps parameters, or add a regex rule.
Update the ad URL
Set the ad's destination to the final https URL so no redirect runs.
Check URL redirects
In Online Store, then Navigation, then View URL Redirects, look for rules matching your ad landing path. Shopify redirects normally keep query parameters, but a custom app or theme script may not.
Use the primary domain
In Settings, then Domains, set the primary domain and point ads at it directly so there is no domain-to-domain redirect.
Check apps
Disable geo, language or landing-page apps one at a time and re-test to find one that rewrites the URL.
Look for JavaScript redirects
In Tags, search for custom HTML tags that set window.location or location.href. These often drop parameters.
Append the query string
Change the code to add window.location.search to the new URL, as in the JavaScript snippet below.
Preview and test
Use Preview mode with ?fbclid=test123 and confirm the final URL keeps it.
Open 301 redirects
In Site settings, then Publishing, then 301 redirects, review rules for your landing page paths.
Check how they behave
Test an old path with ?fbclid=test123. If the parameter is lost, avoid ad URLs that hit a redirect and point ads at the final page URL.
Check hosting settings
Under Hosting, confirm the default domain and the Force SSL setting, and use the final domain in your ads.
Review funnel and domain settings
Check the custom domain, funnel step paths and any redirect or workflow that sends visitors to another URL.
Link to the final step URL
Use the live funnel step URL in the ad. Avoid redirect URLs inside workflows for the first landing.
Test with a tagged URL
Add ?fbclid=test123 and confirm it is still in the address bar after load.
Open URL redirect manager
In Settings, then SEO tools (or Marketing & SEO), then URL Redirect Manager, review rules for your landing path.
Test parameter handling
Test the redirected path with ?fbclid=test123. If it is stripped, point the ad at the final page URL instead.
Use your primary domain
Make sure the ad uses the connected primary domain, not the wixsite.com address.
Check URL mappings
In Settings, then Developer Tools, then URL Mappings, review rules for your landing path.
Test with a tagged URL
Open the old path with ?fbclid=test123 and see whether it survives.
Link to the final URL
If it is stripped, change the ad destination to the final page so no redirect runs.
Fix server rules
Apache: use the QSA flag or a plain Redirect. Nginx: use $is_args$args. See the snippets below.
Fix app redirects
In your framework, append the incoming query string to the Location header.
Collapse chains
Send http://example.com straight to https://www.example.com in one hop.
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L,QSA]server {
listen 80;
server_name example.com www.example.com;
return 301 https://www.example.com$request_uri;
}window.location.replace('https://www.example.com/offer' + window.location.search + window.location.hash);Ad click → yoursite.com/offer?gclid=Cj0KCQ…&utm_source=google&utm_campaign=spring
301 redirect
Lands on → yoursite.com/offer/
- gclid
- utm_source
- utm_campaign
The landing page loads without fbclid, no _fbc cookie is set and Meta cannot match the conversion to the click.
Toggle the redirect behaviour to see the effect on attribution.
How to confirm it's fixed
- Opening your ad URL plus ?fbclid=test123 ends on a page whose address still contains fbclid=test123.
- curl -sIL shows each Location header with the query string intact.
- The _fbc cookie exists and ends with test123.
- There is only one redirect hop, or none.
- All variants work: http, https, www, non-www, with and without trailing slash.
- Meta Events Manager shows the fbc parameter on events from real ad traffic over the next days.
How to prevent it happening again
- Point ads at the final canonical URL, not a short or old one.
- Test with ?fbclid=test123 after any domain, SSL, www, CDN or redirect plugin change.
- Keep a list of redirect rules and review it when pages are renamed.
- Avoid chains such as http to https to www to a new path.
- Test new landing pages with a tagged URL before you launch a campaign.
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor opens your landing page the way an ad click would, with tracking parameters on the URL, and checks whether they are still there after redirects and whether the expected tracking hits are sent to Meta. If the click ID is lost, you get one alert, after a re-check from a second region, with a screenshot and a likely cause. Test traffic is marked (utm_source=funnelguard, fg_test=1) and never clicks real ads.
The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial.
Questions people ask
Why is my fbclid missing after clicking a Facebook ad?
Most often a redirect between the ad and the landing page drops the query string. Common causes are http to https rules, non-www to www rules, redirect plugins and JavaScript redirects. Test your ad URL with ?fbclid=test123 added and see whether it survives.
What does the fbclid parameter do?
fbclid is the Facebook click ID that Meta adds to ad links. The Meta Pixel reads it and stores it in the _fbc cookie, which is sent with events so Meta can match conversions to the ad click.
How do I stop a redirect removing URL parameters?
Make the redirect pass the query string. In Apache add the QSA flag, in Nginx redirect to $request_uri, in JavaScript append window.location.search, and in plugins enable parameter pass-through. Better still, point the ad at the final URL.
How do I check if fbclid is reaching my landing page?
Open your ad URL with ?fbclid=test123 in a private window and see whether the final address still has it. Then check DevTools, Application, Cookies for an _fbc cookie ending in test123.
Will losing fbclid stop my Meta Pixel firing?
No. The Pixel still fires events. You lose the click ID that links them to the ad click, so attribution and matching get worse, and Meta has less to learn from.
Is a Conversions API enough if fbclid is stripped?
Not by itself. The server can only send fbc if your site captured the click ID first. If a redirect removes fbclid before the page loads, there is nothing to send.
Can I add fbclid back after it is lost?
Not reliably. Once the click ID is gone you cannot recover it for that visit. Fix the redirect so it arrives intact on future clicks.