UTM Parameters

UTM parameters are short tags added to the end of a URL that tell analytics tools where a visitor came from. They let you track the source, medium and campaign of traffic from emails, social posts, ads and other links you control.

How UTM parameters work

A UTM-tagged link adds a query string after a question mark. For example:

https://www.example.co.uk/offer/?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale

When someone clicks it, Google Analytics 4 reads the tags and records the visit under that source, medium and campaign instead of guessing.

The main parameters

ParameterPurposeExample
utm_sourceWhere the traffic came fromnewsletter, linkedin
utm_mediumThe type of channelemail, social, cpc
utm_campaignThe campaign namespring_sale
utm_termA paid keyword or audiencerunning_shoes
utm_contentWhich link or creative was clickedheader_button

GA4 also supports utm_id and a few other optional parameters for more detailed campaign reporting.

How to build tagged links

You can add UTMs by hand, but a URL builder reduces mistakes. Google offers a free Campaign URL Builder, and many email and social platforms can add tags automatically. Whichever method you use, click each finished link once to check that it loads the right page and appears correctly in GA4’s real-time report.

Why they matter for SEO

UTMs are mainly a campaign tool, but they matter to SEO in two ways. First, they keep channel data clean, so traffic from emails or social posts is not mixed up with other channels and organic results can be judged fairly. Second, they create extra URL parameters, which can lead to duplicate URLs if search engines find and crawl them.

Best practice

  1. Use them only on links from external places you control, such as emails, social posts, ads and QR codes.
  2. Never add UTMs to internal links. They replace the visitor’s real source with your own label, which distorts your attribution data.
  3. Use lower case consistently. Analytics treats Email and email as different values.
  4. Agree a naming convention and keep a shared spreadsheet of tagged links.
  5. Use GA4’s standard medium names such as email, social and cpc so traffic lands in the right default channel group.
  6. Make sure pages have a canonical tag pointing to the clean URL, so tagged versions do not compete in search.

Common mistakes

  • Tagging links on your own site or in your Google Business Profile without understanding the effect. A UTM on a profile website link moves those visits out of organic search reporting, so only do it deliberately.
  • Inconsistent spelling that splits one campaign across several rows.
  • Including personal data, such as email addresses, in UTM values.
  • Using long, unclear campaign names. Short, descriptive values such as summer_2026 are easier to read in reports and less likely to be mistyped.

Key Takeaways

  • UTM parameters are URL tags that tell analytics where traffic came from.
  • The core tags are source, medium and campaign, with term and content as options.
  • Never use UTMs on internal links because they distort source and attribution data.
  • Use consistent lower-case naming so reports stay clean.
  • Canonical tags stop UTM-tagged URLs being treated as duplicate pages.

Related Terms

Want help putting this into practice? Get a free SEO check, or keep learning in the SEO Encyclopedia.