The gclid Parameter, and the Redirect That Kills Attribution
Your ads platform reports clicks. Your analytics reports almost nobody arriving from paid search. The two numbers are describing the same people and only one of them can see them.
The usual cause is not a tracking failure at either end. It is something in the middle removing a parameter from the URL, and it is findable in about ten minutes.
What the parameter is doing
When someone clicks a paid search ad, the destination URL arrives carrying an identifier appended to it. That identifier is what lets the analytics tool on the landing page recognize the visit as having come from that ad rather than from anywhere else.
If the identifier is present when the page loads, attribution works. If it is not, the visit looks like it came from somewhere generic.
That is the entire mechanism, and everything below is a way the identifier gets lost between the click and the page.
Where it goes missing
Six causes, in roughly the order they are worth checking.
1. A redirect that drops the query string
The most common by a wide margin, and the most invisible.
A redirect can preserve everything after the question mark in a URL, or it can send the visitor to a clean address and discard it. Discarding is a normal thing for a redirect to do and it is frequently the default, so this is not a fault anybody introduced deliberately.
The redirects that most often cause it are the ones nobody thinks of as redirects: a version of the domain with or without the www prefix, an http address forwarding to https, a trailing slash being added or removed, and a country or language redirect.
Every one of those is a redirect, and any of them can drop the parameter.
2. A chain of redirects
Where the first redirect preserves the parameter and the second does not, or the third. The chain is invisible in a browser because it happens in a fraction of a second and only the final address is displayed.
3. A tracking template or a link-management tool in the middle
Anything that sits between the ad and your site, including URL shorteners, click trackers and affiliate-style redirectors, is a place where a parameter can be rewritten or dropped.
4. A landing page tool on a different domain
If the ad points at a page built in a separate tool, the parameter may arrive there and never reach your main analytics.
5. The analytics code loading before the page is ready, or not loading at all
A different problem with the same symptom. If the measurement code does not run, the visit is not recorded regardless of what the URL contained.
6. Consent
Where a consent banner blocks measurement until a choice is made, visits that leave before the choice are not recorded. This is a real cause of missing sessions and it is a legitimate one rather than a fault.
How to find it in ten minutes
You do not need any tooling for this beyond a browser.
Step 1: take a real ad destination URL from your own account and append a test parameter to it manually, in the format the ads platform would use.
Step 2: paste it into a browser and press enter.
Step 3: look at the address bar when the page has finished loading.
If the parameter is still there, the URL path is fine and the problem is on the measurement side rather than the redirect side.
If it has disappeared, you have found it, and the next question is which hop removed it.
Step 4, to find the hop: repeat with each intermediate address you know about. Try the www version and the non-www version. Try http rather than https. Try with and without a trailing slash. The one that loses the parameter is the redirect to fix.
Step 5: check on a phone as well as a desktop, because mobile and desktop can be routed differently.
What to do once you have found it
A redirect that drops the query string is a configuration change, and it is a small one for whoever manages the site or the server. The instruction to give them is precise: preserve the query string on this redirect. That sentence is enough for anyone who works on this.
Then remove the redirect from the path entirely, if you can. The most reliable arrangement is for the ad to point at the final address directly, with no hop at all. Every redirect in the chain is a place this can break again, and it also costs the visitor time.
Check the destination URLs in the account while you are there. A destination pointing at an old address that now redirects is the specific setup that produces this, and it is usually left over from a site change nobody connected to the ads account.
The symptom this explains, and the ones it does not
This explains: paid clicks in the ads platform and near-zero paid sessions in analytics, a large unattributed or direct segment that grew after a site change, and conversions attributed to the wrong source.
Our article on what direct traffic actually is covers where those unattributed sessions end up and why the direct bucket is the destination for anything the system cannot identify.
This does not explain: clicks that are far higher than sessions in general, which is more often invalid traffic, a slow page, or people leaving before the page loaded. It also does not explain conversions failing to reach the ads platform when sessions are arriving normally, which is a linkage problem and is covered in our article on a GA4 conversion that is not showing in Google Ads.
The order to work in
1. Test the URL by hand, as above. Free, fast, and it either finds it or rules it out.
2. If the parameter survives, stop looking at redirects and check whether the measurement code is running on the landing page at all.
3. If it does not survive, find the hop and get the query string preserved.
4. Then remove the hop.
5. Then wait. Attribution fixes apply to future traffic. The historical gap stays in the data, and knowing when the fix went in is what lets you read a report across the boundary honestly.
Why this is worth an afternoon
Every downstream number depends on it. Cost per conversion, channel performance, which campaign gets the budget next quarter, and whether paid search looks like it is working at all.
A campaign whose visits are being recorded as unattributed looks like a campaign that is not working, and the decision that follows is to cut it. That is the actual cost of a redirect nobody looked at, and it is why this sits in the diagnostic order ahead of almost everything else in measurement. Our article on what to check when ads are not showing at all covers the earlier stage of that same discipline: check the cheapest, most mechanical thing first.