On this page
What this issue is
UTM parameters are tags added to a URL, such as utm_source=google&utm_medium=cpc&utm_campaign=spring. They tell analytics where a visitor came from. They are meant for links on other sites, emails and ads, not for links between your own pages.
The problem starts when someone tags an internal link, for example a homepage banner like /pricing?utm_source=homepage&utm_medium=banner. A visitor who arrived from a Google ad clicks it. The new URL carries new UTMs, and analytics treats them as the latest campaign details. The original Google Ads source is replaced, and often a new session starts too (see TRK-318).
Why it costs you leads or sales
The lead or sale still happens, but the credit goes to the wrong place. Paid campaigns look weaker than they are, and "homepage / banner" looks like your best channel. You may then cut ad budget that was working and fund the wrong thing.
- Ad clickutm_source=google, utm_medium=cpc
- Landing pageVisitor sees a banner
- Internal link with UTMsutm_source=homepage replaces google
- Form or checkoutConversion recorded
- ReportCredit goes to homepage / banner
The ad click is real, but the conversion is credited to the internal banner.
Example: 100 conversions that really came from one ad campaign, as reported with and without internal UTM links.
How to check if your site has it
Search your site for utm_ in links
Open a key page, view the page source (Ctrl+U or Cmd+Option+U) and search for
utm_. Any hit in anhrefthat points to your own domain is a problem.Check menus, banners, pop-ups and footers
These are the usual places. Also check buttons in page builders, announcement bars, blog call-to-action blocks and email-signup widgets.
Crawl the site
Use a crawler such as Screaming Frog (Custom Search for
utm_in the HTML) to list every page with tagged internal links.Test the journey yourself
Visit your site with
?utm_source=test&utm_medium=check&utm_campaign=manual, click through to the form or checkout, and watch whether the address bar UTMs change.Look at GA4 for clues
In Reports > Acquisition > Traffic acquisition, a source or medium that matches your own banner names (such as homepage / banner) with conversions is a sign.
The original campaign tags disappear as soon as the internal tagged link is clicked.
How to fix it
The fix has two parts: strip the UTMs from internal links, then measure those clicks a better way.
List every tagged internal link
Use the crawl or source search above. Note the page, the link text and the current URL.
Remove the utm_ parameters
Edit each link so it points to the clean URL, for example
/pricinginstead of/pricing?utm_source=homepage&utm_medium=banner.Track the click as an event instead
Send a GA4 event such as
select_promotionor a custombanner_clickwith a parameter naming the banner. This records the click without touching attribution.Keep UTMs for external links only
Use them on ads, emails, social posts and partner links. Agree a rule with your team and write it down.
Edit pages and menus
Check Appearance > Menus, widgets, and the block or page-builder content for links containing utm_. A plugin like Better Search Replace can find
utm_source=homepagein the database; back up first.
Check navigation and theme
Go to Online Store > Navigation and edit menu URLs. Then open Online Store > Themes > Edit code and search for utm_ in sections and snippets, including announcement bars and banners.
Replace link tagging with a click trigger
Create a Click trigger (Just Links or All Elements) filtered on the banner's Click ID or Click Classes, and fire a GA4 event tag with a banner name parameter.
Edit link settings
Select each button or link, open Element Settings and change the URL to the clean path. Check Symbols and the Navbar, since one edit updates every page.
Edit funnel and website buttons
In the funnel or website builder, open each button or link element and remove utm_ parameters from internal URLs. Check headers, footers and pop-ups.
Edit link targets
Select the button, banner or menu item, click the link icon and change the page link. Wix page links do not need UTMs; for a custom URL, delete the query string.
Edit buttons and navigation
Open Pages to edit navigation links, and edit each button or banner block. Check Header announcement bar and Footer too.
Search the codebase
Search templates and components for
utm_in internal hrefs and remove them. Use a data attribute and an event listener for tracking instead (see snippet below).
<a href="/pricing" data-banner="home_hero">See pricing</a>
<script>
document.addEventListener('click', function (e) {
var link = e.target.closest('a[data-banner]');
if (!link) return;
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'banner_click',
banner_name: link.getAttribute('data-banner')
});
});
</script>Before
- Link: /pricing?utm_source=homepage&utm_medium=banner
- Ad source replaced by homepage / banner
- Ads look weak in reports
After
- Link: /pricing
- Original google / cpc source is kept
- Banner clicks measured by a banner_click event
How to confirm it's fixed
Land with test UTMs
Open a private window and visit your page with
?utm_source=test&utm_medium=check&utm_campaign=internal-link-test.Click the formerly tagged links
Check that the address bar no longer shows new utm_ values.
Check GA4 DebugView
Turn on debug mode with Tag Assistant or the GA debug extension. Confirm the session keeps source
test, and that yourbanner_clickevent appears.Re-run the crawl
Search again for
utm_in internal links. The result should be empty.
How to prevent it happening again
- Write a rule: UTMs only on links that lead to your site from outside.
- Give the team a banner and button tracking method that uses events.
- Review new banners, pop-ups and email-signup blocks before they go live.
- Crawl the site for utm_ in internal links every month.
- Use a shared UTM naming sheet so campaign tags stay consistent (see TRK-319).
How FunnelGuard handles this
FunnelGuard does not check for this yet. Spotting internal links that overwrite UTMs is a possible future check.
Nearby, FunnelGuard runs your real customer journeys on a schedule, checks each step, and checks that tracking hits reach platforms such as GA4, Google Ads and Meta, and that test leads reach your inbox and CRM. That confirms the funnel works and tracking fires, but it does not tell you which source a conversion was credited to.
To watch for this issue today, run the manual test above after each site change, crawl for utm_ in internal links monthly, and review GA4 traffic acquisition for sources that match your own banner names. A free read-only website audit from FunnelGuard is also available.
Questions people ask
Why is my campaign source changing to my own website in GA4?
A link on your site probably carries its own utm tags. When a visitor clicks it, the new UTMs replace the ones they arrived with, so the conversion is credited to the internal tag. Find and remove utm parameters from internal links.
Should I use UTM parameters on internal links?
No. UTMs describe how a visitor reached your site, so use them only on external links such as ads, emails and social posts. For internal banners and buttons, use events or a non-UTM parameter.
How do I track internal banner clicks without UTMs?
Send a GA4 event when the banner is clicked, for example banner_click with a banner name parameter. You can do this with a Google Tag Manager click trigger or a small click listener. Attribution stays untouched.
Do UTMs on internal links start a new session in GA4?
They can cause attribution to change, and in some setups a new session is recorded, so the original source is lost. Removing UTMs from internal links avoids both effects. See the related guide on internal links restarting sessions.
How do I find internal links with UTM parameters?
View page source and search for utm_, or crawl your site with a tool such as Screaming Frog and use Custom Search for utm_. Any hit in a link to your own domain should be cleaned up. Also check menus, banners and pop-ups.
Will removing UTMs from internal links fix my old data?
No. Past reports stay as recorded. The fix improves attribution from the time you publish it, so note the date in your reporting.
Does FunnelGuard detect UTMs overwritten by internal links?
Not yet. It is a possible future check. FunnelGuard does test your funnel journeys and tracking hits, so use a manual test and a site crawl to watch for this.
Related issues
- TRK-318Internal links tagged with UTMs restarting sessionsFix guide
- TRK-312UTMs lost when moving from landing page to form pageFix guide
- TRK-319UTM values with inconsistent casing (Facebook vs facebook)Fix guide
- TRK-311UTMs lost on redirect (http->https, www, trailing slash)Fix guide
- TRK-329Direct traffic inflated by missing UTMs on emails/SMSFix guide
- TRK-313UTMs lost crossing to checkout / booking domainFix guide