On this page
What this issue is
UTM parameters (utm_source, utm_medium, utm_campaign) and click IDs (gclid from Google Ads, fbclid from Meta, msclkid from Bing) are extra bits added to the end of a URL so analytics tools know where a visit came from. The page content does not change. But to a search engine, /pricing and /pricing?utm_source=newsletter are two different addresses with the same content.
When those tagged URLs get linked from other sites, shared on social media, copied from a browser bar or crawled from an internal link, Google can crawl and index them as duplicates. Google usually picks one version as the main one, but it does not always pick the one you want.
Why it costs you leads or sales
The impact is usually medium, not catastrophic, but it adds up:
- Links and ranking signals are split across several addresses instead of one.
- A tagged URL may show in search results, so a campaign tag from one email is seen by every searcher.
- Your analytics get polluted: organic visits show up as 'newsletter' or 'cpc' traffic.
- Crawl budget is spent on copies, which matters most on large sites.
- Reports in Search Console fill with duplicate warnings, hiding real problems.
- Campaign link/pricing?utm_source=newsletter is shared
- Crawled by GoogleFound via a public link or internal link
- No canonicalPage does not say which URL is the main one
- Indexed as duplicateTagged URL appears in results
- Signals splitLinks and clicks spread over two URLs
Without a canonical, the tagged URL competes with the clean one.
How to check if your site has it
Search Google for indexed parameter URLs
Search site:yourdomain.com inurl:utm_source, then repeat with inurl:gclid and inurl:fbclid. Any result is an indexed tagged URL.
Open Search Console page indexing
Go to Indexing > Pages. Look at the reasons 'Duplicate without user-selected canonical' and 'Alternate page with proper canonical tag'. Click each and look for URLs containing ? and utm_ or gclid.
Inspect one tagged URL
Paste a tagged URL into the URL Inspection tool. Compare 'User-declared canonical' with 'Google-selected canonical'.
View the page source
Open a tagged URL, view source and search for rel="canonical". It should be present, appear once in the head, and point to the clean URL without parameters.
Crawl your own site
Run a crawler such as Screaming Frog and look for internal links that contain utm_ parameters. Internal links should never be tagged.
How to fix it
The core fix is a self-referencing canonical: every page declares its own clean URL as the canonical, so the tagged version tells Google to use the clean one. Do not block parameter URLs in robots.txt: Google then cannot see the canonical tag on them.
<link rel="canonical" href="https://www.example.com/pricing" />Use an SEO plugin
Yoast SEO, Rank Math and similar plugins output a canonical on every page by default and strip query strings. Check that it is on in the plugin settings.
Check your theme
If the source shows two canonical tags, one is from the theme. Remove it or disable the plugin's output, so only one remains.
Fix internal links
In menus, widgets and posts, replace any link containing utm_ with the clean URL.
Check the theme canonical
Most themes include {{ canonical_url }} in theme.liquid inside the head. Open the Edit code view and confirm it is there once.
Remove tagged internal links
Check menus, banners and apps for links with utm_ parameters and replace them with clean URLs.
Do not rely on GTM for canonicals
A canonical injected by JavaScript may be read late. Put it in the page's HTML instead.
Keep tracking working
GTM and GA4 read utm_ values from the live URL, so a canonical to the clean URL does not stop campaign tracking.
Set the canonical URL
In Site settings > SEO, set the canonical tag URL pattern. Webflow also lets you add a custom tag in Page settings > Custom code in head.
Publish and test
Publish, then open a tagged URL and view source to confirm the canonical shows the clean address.
Check the Advanced SEO tab
Wix adds canonicals automatically. In the page's SEO settings, open Advanced SEO and confirm the canonical is the clean URL.
Rely on the built-in canonical
Squarespace adds a canonical tag to pages automatically. Open a tagged URL, view source and confirm it points to the clean version.
Build the canonical on the server
Generate the canonical from the path only, without the query string. Never echo the full request URL.
Optional: send a header
For non-HTML files you can send a Link: <https://www.example.com/file.pdf>; rel="canonical" HTTP header.
<?php
$path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
$canonical = 'https://www.example.com' . $path;
?>
<link rel="canonical" href="<?php echo htmlspecialchars($canonical); ?>" />Before
- No canonical, or canonical copies the full tagged URL
- Tagged URLs appear in site: searches
- Search Console lists duplicates
After
- Canonical always points to the clean URL
- Only the clean URL stays in results
- Campaign tracking still works from the live URL
How to confirm it's fixed
Test a tagged URL by hand
Add ?utm_source=test to three key pages. View source and confirm one canonical in the head pointing to the clean URL.
Use URL Inspection
Inspect a tagged URL in Search Console and click Test live URL to see the canonical Google reads.
Wait and re-check
Google needs time to recrawl. Re-run the site:inurl: searches after a few weeks. Old tagged URLs should drop out gradually.
How to prevent it happening again
- Use self-referencing canonicals in the page template, not page by page.
- Never use UTM parameters on internal links.
- Test a tagged URL after theme, plugin or migration changes.
- Re-run the site:inurl:utm_ search each quarter.
- Watch the 'Duplicate without user-selected canonical' report in Search Console.
- Keep redirects from stripping parameters if you need campaign data; see related redirect issues.
How FunnelGuard handles this
FunnelGuard does not check this yet. Spotting tagged URLs in Google's index is a possible future check, but today it is not part of the product.
What FunnelGuard does cover nearby: a robot visitor runs your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, and checks that the tracking hits reach GA4, Google Ads, Meta and other platforms. Its test visits are marked with utm_source=funnelguard and fg_test=1. A failure is re-checked from a second region before one alert goes out.
To watch for this issue today, use the manual steps above: a quarterly site:yourdomain.com inurl:utm_source search, the Search Console Pages report, and a crawler run that flags canonicals containing a query string. FunnelGuard has a Free plan (1 site, 2 journeys, daily checks, no card) and a free read-only website audit.
Questions people ask
Why are my UTM URLs showing up in Google search results?
Google found a tagged link, from an email, a social post, another site or one of your own pages, and indexed it as a separate URL. This happens when the page has no canonical, or the canonical repeats the tagged URL. Add a self-referencing canonical that points to the clean URL.
Do UTM parameters cause duplicate content?
Technically yes, because the same content is reachable at several URLs. In practice Google often merges them, but it may pick the tagged version. A canonical tag removes the doubt.
How do I stop Google indexing URLs with gclid?
Make sure every page has a rel=canonical pointing to the URL without gclid. Google Ads auto-tagging keeps adding gclid to the landing page URL, which is fine as long as the canonical is clean. Do not block those URLs in robots.txt.
Should I use noindex or a canonical for UTM URLs?
Use a canonical. A noindex on a tagged URL can be copied to the clean page if both share a template, which would remove the page from search. A canonical points all signals to the clean address.
Will a canonical tag break my UTM tracking in GA4?
No. GA4 and tag managers read the parameters from the URL the visitor actually loaded, not from the canonical tag. Tracking continues as before.
How do I remove UTM URLs already in Google's index?
Fix the canonical first, then wait for Google to recrawl them. They usually drop out over time. For a few urgent URLs, you can use the Removals tool in Search Console, but it is temporary and does not replace the fix.
Should I block utm_ parameters in robots.txt?
No. If Google cannot crawl the tagged URL, it cannot read the canonical on it, and the bare URL may stay indexed. Let it crawl and rely on the canonical.
Does FunnelGuard detect UTM duplicate URLs?
Not yet. It is a possible future check. FunnelGuard currently checks funnel steps, tracking hits and test leads, so use Search Console and a site: search to watch for this issue.
Related issues
- SEO-042Missing rel=canonical on indexable pagesFix guide
- SEO-043Canonical points to a 404, redirect or noindex URLFix guide
- SEO-052Google chose a different canonical than declaredFix guide
- SEO-059Session ID parameters in URLsFix guide
- SEO-060Sort and filter parameters create duplicate category pagesFix guide
- SEO-064Preview or tracking subdomain duplicates the main siteFix guide