The Click ID Survival Audit: Following gclid and fbclid From Ad Click to Conversion
By Samarth Analytics · Published · Analytics Audits · 7 min read
Summary: Every paid click carries an identifier such as gclid or fbclid that lets the ad platform credit the conversion it leads to. Those IDs rarely fail loudly. They are dropped by redirects, scripts that tidy the address bar, consent settings, checkout domains and CRM fields. This guide covers the six places a click ID gets lost, the test we run on every landing template, and the report patterns that point to a broken chain.

Why click IDs deserve an audit of their own
Every paid click arrives carrying a small piece of text in the URL. Google Ads adds gclid, Meta adds fbclid, Microsoft Ads adds msclkid and TikTok adds ttclid. That identifier is how the ad platform later connects a purchase or a lead back to the click that caused it. When it goes missing somewhere between the ad and the conversion, the platform reports fewer conversions, bidding learns from a thinner signal, and GA4 often files the visit under the wrong channel.
Click IDs rarely disappear in one dramatic failure. They get dropped by a new language redirect, a script that tidies the address bar, a consent setting or a checkout on another domain, and nobody checks the click ID afterwards. In our experience this is one of the most common reasons for a growing gap between ad platform conversions and a company's own order or lead records. This post covers the audit we run to follow a click ID from ad to conversion.
What the platforms append and where it should end up
Each platform appends its parameter to the landing page URL when its automatic tagging is switched on. For Google Ads that is the auto-tagging setting, and on some traffic from Apple devices Google uses gbraid or wbraid in place of gclid. Meta adds fbclid to outbound links from its apps and website without a setting.
The parameter is only useful if something reads and keeps it. In a typical GTM setup, the Conversion Linker tag stores Google click information in first-party cookies, the Meta Pixel stores fbclid in its _fbc cookie, and the Microsoft UET tag stores msclkid in its own cookie. Conversion tags later read those cookies, not the original URL. So the audit asks two questions: did the parameter reach a page where tags could see it, and was it stored somewhere that lasts until the conversion?
The six places a click ID gets lost
We trace every journey through the same six stages. The first is the landing URL itself, where a tracking template can malform the query string. The second is any redirect before the real page loads. The third is page code that rewrites the URL before tags fire. The fourth is storage, where consent and browser restrictions decide whether a cookie is written. The fifth is a hop to another domain, such as a hosted checkout. The sixth, for lead generation, is the form and the CRM, where the click ID must be saved for offline conversion import.
A click ID that survives five of these stages is still lost, so we test journeys end to end instead of checking tags in isolation.
Testing the landing hop
The simplest test needs no ad spend. We run this sequence for every distinct landing page template, not every URL:
- List the final URLs from each ad platform, grouped by template, including any tracking templates or URL suffixes set at account or campaign level.
- Open each one with a test value appended, such as gclid=audittest123, in a fresh private window with consent accepted.
- With the network panel open and preserve log switched on, record every redirect in the chain and check that the parameter is still present in the final address.
- Check that the expected cookie now exists and contains the test value, using the browser's storage panel.
- Repeat with consent declined, and repeat for fbclid and msclkid if those platforms are in use.
Record each result in a table of template, redirect chain, parameter present and cookie written. That table is the baseline for every later release.
Redirects and address bar tidying
Most redirects pass the query string through untouched, which is why this problem hides so well. The exceptions are common, though. A rule that maps one path to another without carrying the query string drops everything after the question mark. Language and country redirects done in JavaScript often build a new URL from scratch. Vanity URLs and link shorteners may not forward parameters at all.
The quieter cause is code that tidies the address bar. Some sites and frameworks remove query parameters with the browser history API so the URL looks clean. If that runs before the tags read the page, the click ID is gone without any redirect. A related cause sits outside the site entirely: Safari's Link Tracking Protection removes known click identifiers from links opened in Mail, Messages and private browsing, which we cover in what iOS 17 and Private Relay break.
Storage, consent and domain hops
When a visitor declines advertising storage under Google's consent mode, the Conversion Linker does not write its cookies. The url_passthrough setting lets Google tags carry click information through the URL across pages instead, which keeps some measurement possible without cookies. Whether that suits your consent approach is a decision to make deliberately, as we discuss in the consent mode configuration that preserves attribution.
Domain hops are the other storage problem. Cookies on the main site are not readable on a checkout or booking domain. The Conversion Linker can decorate links to listed domains with the _gl parameter so Google click information follows the visitor, but forms that post to another domain and buttons that navigate with JavaScript are frequent gaps. The linker parameter gotchas covers how to test those transitions.
Forms and the CRM handoff
For lead generation the click ID must reach the CRM, so a qualified lead or closed deal can be sent back to the ad platform weeks later. That means a hidden form field filled from the stored value, a matching CRM field, and a mapping between them.
Each link fails in its own way. The hidden field exists on the contact form but not the newer demo form. The CRM field has a short character limit and silently cuts the value. The integration maps the field on lead creation but not when an existing contact submits again. Test by submitting a lead with a test click ID and finding that exact value in the CRM record. Our guide to offline conversion import for Google Ads covers the rest of the upload side.
Reading the symptoms in reports
Reports will not name a missing click ID, but they leave patterns. In GA4, paid search sessions classed as organic or direct, or a rise in (not set) source and medium on specific landing pages, point to a dropped gclid, and the (not set) debug playbook helps narrow that down. A landing page whose paid sessions in GA4 run well below the clicks the ad platform reports for the same URL is worth testing first.
In the ad platforms, watch for conversions falling relative to your own order or lead records while traffic holds steady. If a store's Google Ads conversions slide noticeably after a site release with no change in spend or traffic, test click ID survival before touching bids. The broader comparison method is in reconciling Google Ads, Meta and GA4.
Keeping the audit current
This audit goes stale quickly, because what breaks it is routine change to redirects, templates, consent tools and forms. We rerun the landing hop test after any release that touches those, and monthly otherwise. A synthetic test that loads each template with a test parameter and checks the final URL and cookie can run daily and alert on the first failure.
Keep the baseline table with the tracking documentation, and add one line to the release checklist: every new landing template, redirect rule and form gets a click ID test before launch.
Final thoughts
A click ID is the thread between the money you spend and the result you report, and it can be cut in six places without a single error appearing. The audit is straightforward: list the landing templates, append test values, follow the redirects, confirm the cookie, cross the domain hops and find the value in the CRM. Most fixes are small once the failing stage is known.
Our analytics audits include a click ID survival test across every live landing template, form and checkout flow. If your ad platforms are reporting fewer conversions than your own systems record, a free audit is a good place to start.
Topics: Link Tracking Protection, GCLID, analytics auditing, attribution leaks, auto-tagging
More articles on the Samarth Analytics blog · Markdown version of this article