Skip to content
Performance Marketing Hub
Analytics, Tracking & Privacy

UTM Parameters: What They Are and How to Use Them

UTM parameters are tags added to the end of a URL, such as utm_source, utm_medium and utm_campaign, that tell Google Analytics 4 which source, medium and campaign sent a visit. Use them on links you control outside your own site, keep every value lowercase, and skip them on internal links and auto-tagged Google Ads clicks.

Maxim Baeten
By Freelance digital performance marketer
Updated 8 min read

Key takeaways

  • UTM parameters are query string tags such as utm_source, utm_medium and utm_campaign that tell Google Analytics 4 which source, medium and campaign sent a visit, and Google says those three should always be set.
  • Google documents nine UTM parameters for GA4, but utm_creative_format and utm_marketing_tactic are not reported in Google Analytics properties as of December 2026.
  • A UTM tag that arrives mid-session does not start a new GA4 session: the session keeps its original source, and the new values attach to the events collected with them for event-based attribution.
  • GA4 treats UTM values as case sensitive, so utm_source=Google and utm_source=google appear as two separate sources in reports.
  • Google Ads auto-tagging takes priority over manual UTM tags in GA4, and only utm_term and utm_content still fill the Manual term and Manual ad content dimensions.

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.

  1. Start from the final landing page. Use the URL after any redirects, so no redirect can drop the query string.
  2. Open the query string. Add ? before the first tag, or & if the URL already has a query string.
  3. Add the three required tags. Set utm_source, utm_medium and utm_campaign in lowercase.
  4. Add optional detail. Use utm_content for creatives and utm_id if you import campaign data.
  5. Encode special characters. Replace spaces with underscores or %20, and keep the tags before any #.
  6. 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.

ParameterCross-channel dimensionsManual dimensionsUsed when auto-tagging wins
utm_sourceSource, Session source, First user sourceManual sourceNo
utm_mediumMedium, Session medium, First user mediumManual mediumNo
utm_campaignCampaign name at all three scopesManual campaign nameNo
utm_idCampaign ID at all three scopesNone listedNo
utm_termNone listedManual termYes
utm_contentNone listedManual ad contentYes
utm_source_platformSource platform, shown as ManualManual source platformNo
utm_creative_formatCreative format, not reportedNone listedNo
utm_marketing_tacticMarketing tactic, not reportedNone listedNo
Which GA4 traffic source dimensions each UTM parameter fills, and whether it survives Google Ads auto-tagging, as of December 2026.

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 gclid click 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. Facebook and facebook show 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_medium or utm_campaign shows 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_campaign or utm_content break Google's PII rules. Use anonymous campaign IDs instead.

FAQ

Do UTM parameters hurt SEO or create duplicate content?

Not in a way you need to fix with robots.txt. Google's John Mueller said in 2024 that blocking UTM URLs is unlikely to change crawling or ranking, and that rel canonical cleans up tagged URLs from external links over time. Tagged internal links are different, because they send mixed signals about which URL to index.

Are UTM parameters case sensitive?

Yes, the values are. Google Analytics 4 reports utm_source=Facebook and utm_source=facebook as two separate sources. The default channel rules ignore case, so both still land in the same channel, but your source and campaign reports split into extra rows.

Can I make up my own UTM parameters?

You can add any parameter to a URL, but Google documents only nine UTM parameters for Google Analytics 4. A made-up name such as utm_audience fills no traffic source dimension and only shows up inside the full Page location URL. For extra detail, use utm_content or utm_term, or send the value as an event parameter.

Should I put UTM parameters on links inside my own website?

No. Google says new campaign values that arrive mid-session are tied to the events where they were collected and used for event-based attribution, so an internal banner tag can take credit for key events that an ad or email earned. Track internal clicks with an event instead.

What happens if I leave out utm_medium or utm_campaign?

The missing parameter shows up as (not set) in your GA4 reports. Without a medium, the session also cannot match a medium based channel rule, so it often lands in Unassigned. Set source, medium and campaign on every tagged link.

Sources and further reading

Maxim Baeten
Written byMaxim Baeten

Digital performance marketer from Belgium, specialised in lead generation for B2B (SaaS) software companies. Full-time freelancer since January 2019.