On this page
What this issue is
The gclid (Google Click ID) is a long random string that Google Ads adds to your landing page URL when someone clicks an ad, for example https://example.com/offer?gclid=Cj0KCQ.... The feature that adds it is called auto-tagging. It is a setting on the Google Ads account, not something on your website.
Why it costs you leads or sales
Without a gclid, several things quietly degrade. You do not see an error. Ads just look worse than they are, and bidding decisions get made on incomplete data.
- Offline conversion imports (leads that close in your CRM) cannot be matched to the click, so Smart Bidding never learns which clicks became customers.
- GA4 cannot link sessions to Google Ads campaigns, keywords or cost, so traffic can show as direct or organic.
- Conversion tracking based on the _gcl_aw cookie has no click ID to store, which weakens attribution.
- Your forms cannot save a gclid in a hidden field, so the CRM cannot show which ad produced a lead.
- Reports that depend on click-level data, such as search terms joined with sessions, become incomplete.
- Ad clickVisitor clicks your Google ad
- Landing URLNo gclid added (auto-tagging off)
- Cookie and formNothing to store in _gcl_aw or a hidden field
- Conversion and importLead cannot be matched to the click
With auto-tagging off, the chain breaks at the first step and every later step has nothing to work with.
Example: 100 leads came from Google Ads in one month. Numbers are illustrative only.
How to check if your site has it
There are two quick checks. One looks at the account setting. The other looks at a real click.
Open the account settingGoogle Ads
In Google Ads go to Admin > Account settings > Auto-tagging. If 'Tag the URL that people click through from my ad' is unticked, auto-tagging is off.
Check a real ad click
Click your own ad from the Google Ads Ad Preview and Diagnosis tool, or click a live ad, and look at the address bar on the landing page. You should see
?gclid=or&gclid=followed by a long string. Note that clicking your own live ads costs money and can distort stats, so prefer the preview tool.Look for redirects
If auto-tagging is on but the gclid is missing from the final URL, a redirect may be stripping it. That is a separate problem from the account setting.
Check manager accounts
If you run several accounts under a manager account, check the setting in each one. Auto-tagging is set per account.
How to fix it
Sign in with the right accessGoogle Ads
You need Standard or Admin access on the Google Ads account to change account settings.
Go to Account settingsGoogle Ads
Click Admin in the left menu, then Account settings.
Open Auto-taggingGoogle Ads
Expand the Auto-tagging section.
Tick the box and saveGoogle Ads
Tick 'Tag the URL that people click through from my ad', then click Save. New clicks will carry the gclid from now on.
Make sure your site keeps the gclid
Your pages must not strip the parameter. Check redirects, the cookie banner and any landing page tool. See the platform notes below.
Add a Conversion Linker tag
Create a Google Ads Conversion Linker tag firing on All Pages. It reads the gclid from the URL and stores it in the first-party _gcl_aw cookie.
Do not block it with consent
If you use Consent Mode, make sure the linker respects ad_storage settings as intended.
Check redirect plugins
Plugins such as Redirection or SEO plugins can drop query strings on redirects. Open the redirect rules and make sure they pass query parameters through.
Check caching
Make sure your cache plugin does not redirect to a clean URL when a gclid is present.
Test a product URL
Open a product link with ?gclid=test added and check the final URL. Shopify redirects (Online Store > Navigation > URL Redirects) can drop parameters if you add the query to the target.
Check 301 redirects
In Project settings > Hosting > 301 redirects, confirm the old path forwards to the new one and test with a ?gclid=test URL.
Preserve the query string in redirects
In server rules, pass the query string through. See the nginx example below.
server {
listen 80;
server_name example.com www.example.com;
return 301 https://example.com$request_uri;
}How to confirm it's fixed
- Account settings > Auto-tagging shows the box ticked.
- A fresh ad click (or preview click) lands on a URL containing gclid=.
- The gclid is still in the address bar on the final page, after any redirect.
- In your browser's cookies for your site, a _gcl_aw cookie appears after the landing (if your tag setup uses the Conversion Linker).
- A test form submission stores the gclid in your hidden field or CRM, if you capture it.
- After a day or two, GA4 shows sessions under google / cpc for your campaigns.
Auto-tagging off
- URL: example.com/offer
- No click ID reaches your site
- GA4 may list visits as direct or organic
- Offline imports fail to match
Auto-tagging on
- URL: example.com/offer?gclid=Cj0KCQ...
- Click ID available to tags, cookies and forms
- GA4 can link sessions to campaigns and cost
- Offline imports can match leads to clicks
How to prevent it happening again
- Limit who has Admin access to the Google Ads account, and record changes in the Change history.
- After any account migration, new account creation or manager-account change, re-check the Auto-tagging box.
- Re-test the landing URL after changing redirects, domains, CMS plugins or the cookie banner.
- If you use a tracking template or UTMs as well, test that both the gclid and your parameters survive.
- Add the auto-tagging check to your monthly account review.
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. Auto-tagging is a setting inside your Google Ads account, and FunnelGuard does not read ad account settings. A tool that fits is a Google Ads account audit or settings review, for example Google Ads' own recommendations and Change history, or a PPC account auditing tool that connects to your ad account.
Questions people ask
Why is my Google Ads gclid not showing in the URL?
The most common cause is that auto-tagging is switched off in Google Ads under Admin > Account settings > Auto-tagging. If it is on, a redirect, landing page tool or cookie banner reload may be removing the parameter before you look at the URL.
How do I turn on auto-tagging in Google Ads?
Go to Admin > Account settings > Auto-tagging, tick 'Tag the URL that people click through from my ad', and click Save. You need Standard or Admin access. Only new clicks will be tagged.
What is a gclid and what is it used for?
A gclid is a Google Click ID added to your landing page URL when someone clicks an ad. Google Ads and GA4 use it to link a visit to a specific click, which supports conversion tracking, GA4 campaign data and offline conversion imports.
Can I use UTM parameters instead of auto-tagging?
UTMs let GA4 see campaign names, but they do not give Google Ads the click ID it needs for conversion matching and offline imports. Most advertisers keep auto-tagging on and add UTMs through a tracking template if they want both.
Does turning on auto-tagging fix old conversions?
No. Auto-tagging only adds the gclid to clicks that happen after you save the setting. Earlier clicks were not tagged, so leads from them cannot be matched later.
Why does auto-tagging seem on but GA4 still shows paid traffic as direct?
Check that the gclid survives to the final landing page. Redirects, such as http to https or non-www to www, can drop query strings. Also confirm your GA4 property is linked to the Google Ads account and that auto-tagging is on in every account involved.
Does FunnelGuard check if auto-tagging is on?
No. Auto-tagging is a Google Ads account setting, which is outside what FunnelGuard checks. A Google Ads account audit tool fits better. FunnelGuard monitors the website journey and tracking hits instead.
Related issues
- TRK-144gclid stripped by redirect to www / httpsFix guide
- TRK-145gclid stripped by trailing-slash or language redirectFix guide
- TRK-143_gcl_aw cookie not set after gclid landingFix guide
- TRK-148gclid not stored in hidden form field / CRMFix guide
- TRK-159Offline conversion import failing (gclid mismatch, timing)Fix guide
- TRK-142Conversion Linker tag missingFix guide