UTM parameters are tags added to the end of a URL, such as utm_source=newsletter&utm_medium=email, that tell Google Analytics 4 (GA4) which source, medium and campaign sent a visit. GA4 reads them when the visitor lands and uses them instead of the referrer, so tagged clicks get credited to the campaign you named.
This reference covers what each of the common UTM parameters means, which GA4 dimension each one fills and when a tag does more harm than good. It belongs to the analytics, tracking and privacy hub. For the step-by-step tagging workflow and a team naming convention, see the UTM builder guide.
What are UTM parameters, and what does each one mean?
UTM parameters are five standard query string tags, utm_source, utm_medium, utm_campaign, utm_term and utm_content, plus four newer tags that GA4 accepts. Each tag answers one question about a click: who sent it, through which channel, for which campaign, on which keyword and from which creative or link.
UTM stands for Urchin Tracking Module, after Urchin, the analytics software that introduced the tags before Google Analytics existed. Google's URL builder documentation lists nine parameters as of December 2026, and each one answers a single question:
- utm_source: who sent the click?
- utm_medium: through which kind of channel?
- utm_campaign: for which campaign or promotion?
- utm_id: which campaign ID, matching any campaign data you upload?
- utm_term: which paid keyword?
- utm_content: which creative or which of several links?
- utm_source_platform: which buying or management platform?
- utm_creative_format and utm_marketing_tactic: which creative type and which targeting? Google notes that each "isn't currently reported in Google Analytics properties."
Custom UTM parameters fall outside this list. A made-up tag such as utm_audience maps to no traffic source dimension, so put that detail in utm_content instead.
How do UTM parameters in a URL work?
UTM parameters in a URL sit in the query string. After the page path, a question mark starts the first parameter and an ampersand starts each next one. Every parameter is a name and value pair, so the order of the tags does not matter, but the spelling, case and encoding of every value do.
The query string is the part of a URL between the ? and any # fragment, as MDN's URL guide explains. Take this URL:
https://example.com/pricing/?utm_source=newsletter&utm_medium=email&utm_campaign=pricing_q1
Everything before the ? is the landing page. The three pairs after it name the source, medium and campaign. Google's URL builder page says that UTM values are case sensitive, so Newsletter and newsletter become two sources. Google also says that special characters must be URL encoded: its own example passes the source platform "Google Ads" as utm_source_platform=Google+Ads.
How do you add UTM parameters to a URL by hand?
Adding UTM parameters to a URL by hand takes six steps: start from the final landing page, open the query string, add the three required tags, add optional detail, encode special characters and test one click. For more than a handful of links, a builder or a shared spreadsheet prevents typos and mixed spellings.
- Start from the final landing page. Use the URL after any redirects, so no redirect can drop the query string.
- Open the query string. Add
?before the first tag, or&if the URL already has a query string. - Add the three required tags. Set
utm_source,utm_mediumandutm_campaignin lowercase. - Add optional detail. Use
utm_contentfor creatives andutm_idif you import campaign data. - Encode special characters. Replace spaces with underscores or
%20, and keep the tags before any#. - Test one click. Open the link and check the GA4 Realtime report before you publish it.
Which GA4 dimensions do UTM parameters for Google Analytics fill?
UTM parameters for Google Analytics fill two sets of GA4 dimensions. The cross-channel set, such as Source, Session source and First user source, exists at event, session and first user scope. The manual set, such as Manual term and Manual ad content, keeps the raw tag values, and some of it survives Google Ads auto-tagging.
The table combines Google's campaigns and traffic sources and traffic-source dimensions pages. A cell reads "none listed" where Google lists no dimension, and Google's update notes say Source platform still shows the value Manual.
| Parameter | Cross-channel dimensions | Manual dimensions | Used when auto-tagging wins |
|---|---|---|---|
| utm_source | Source, Session source, First user source | Manual source | No |
| utm_medium | Medium, Session medium, First user medium | Manual medium | No |
| utm_campaign | Campaign name at all three scopes | Manual campaign name | No |
| utm_id | Campaign ID at all three scopes | None listed | No |
| utm_term | None listed | Manual term | Yes |
| utm_content | None listed | Manual ad content | Yes |
| utm_source_platform | Source platform, shown as Manual | Manual source platform | No |
| utm_creative_format | Creative format, not reported | None listed | No |
| utm_marketing_tactic | Marketing tactic, not reported | None listed | No |
The medium also drives the default channel group, the fixed rule set GA4 uses to sort sessions into channels such as Email or Paid Social. The UTM naming convention table lists medium values per channel. Google's URL builder page says the full tagged URL appears in Page location, not in Landing page + query string.
How do UTM parameters behave across first user, session and event scope?
UTM parameters behave differently at each GA4 scope. First user values stay fixed once a user is acquired, session values change only when a new session starts, and event values change whenever a tagged URL loads. Google's scopes article and its campaigns page set three rules.
- One source per session. A new campaign does not start a new session.
- Mid-session tags go to events. Those values are tied to the events where they were collected and used for event-based attribution.
- Direct never overwrites. A direct visit after a referred visit keeps the existing referrer.
Worked example, hypothetical. A visitor first arrives from a newsletter link tagged utm_source=newsletter&utm_medium=email&utm_campaign=pricing_q1 and signs up. First user source and Session source both read newsletter. Two days later the visitor clicks a LinkedIn ad tagged utm_source=linkedin&utm_medium=paid_social: Session source becomes linkedin, First user source stays newsletter. In that session the visitor clicks a homepage banner tagged utm_source=homepage and adds a plan to the cart. The session still reports linkedin, but homepage joins the key event path and can take credit under the attribution model in use, the same pattern Google shows for an internal_promotion tag.
When should you not use UTM parameters?
Skip UTM parameters wherever a tag would overwrite better data or carry data that must not leave your site. That covers Google Ads clicks with auto-tagging on, links between pages of your own website, and any tag value that would contain an email address, a name or other personal information about the visitor.
- Google Ads with auto-tagging. Auto-tagging is a Google Ads setting that adds a
gclidclick ID to every ad click, and it "is now on by default for new accounts". GA4 prioritizes it over manual tags. For extra detail, use ValueTrack parameters such as{campaignid}and{device}. Checking this belongs in every Google Ads audit. - Internal links. A tagged homepage banner can claim key events that an ad or email earned.
- Personal data. Google's PII guidance says to "be sure not to include PII in custom campaign parameters".
The trade-off: Google says UTM tags can fill cross-channel dimensions when the gclid cannot be used, such as when ad_user_data is denied in Consent Mode, for properties on an allowlist.
Do UTM parameters affect SEO?
UTM parameters on links from other websites do not hurt rankings in a way that needs fixing. In a Reddit comment reported in February 2024, Google's John Mueller said that blocking UTM URLs in robots.txt is unlikely to change crawling or ranking, and that rel canonical consolidates tagged URLs over time. Tagged links inside your own site are the exception.
As reported by Search Engine Roundtable, Mueller wrote on Reddit that he doubted blocking would show "any visible effects in crawling or ranking." He added that he "wouldn't block those with robots.txt" and that tagged URLs from external links "would get cleaned up with rel-canonical over time anyway." His advice was to fix tagged URLs that your own site generates at the source.
Internal tags are a different case. In a 2019 hangout, Mueller said that UTM tags on internal links next to a canonical tag mean "you're giving us mixed signals essentially", according to Search Engine Roundtable. OpenAI's publisher FAQ says ChatGPT adds utm_source=chatgpt.com to referral URLs, although the tag has been reported missing since October 2026, as the ChatGPT referral traffic guide explains, so keep your canonical URLs free of tags.
Common mistakes with UTM parameters
Most UTM parameter problems come from inconsistent values or from reading the wrong GA4 dimension, not from the tags themselves. Mixed case splits one source into several rows, tags on internal links reassign event credit, and analysts look for campaign data in dimensions that never hold it. Each mistake below has a simple fix.
- Mixing case.
Facebookandfacebookshow up as two sources in reports, even though default channel group rules ignore case. Use lowercase everywhere. - Leaving out a required tag. A missing
utm_mediumorutm_campaignshows as "(not set)". Set all three required tags on every link. - Looking for tags in Landing page + query string. Google omits UTM parameters there. Read Page location instead.
- Expecting a tag to start a new session. A campaign that arrives mid-session only changes event-scoped dimensions. Check Source, not Session source, for those clicks.
- Tagging internal links. Internal tags reassign event credit and send mixed signals to Google Search. Track internal clicks as events.
- Putting tags after the fragment. Tags after a
#sit outside the query string. Google's Campaign URL Builder labels the fragment option "not recommended". - Putting personal data in tags. Email addresses in
utm_campaignorutm_contentbreak Google's PII rules. Use anonymous campaign IDs instead.
