Flexy Blogs

UTM Parameters: How to Tag Campaign Links So Your Analytics Make Sense

UTM Parameters: How to Tag Campaign Links So Your Analytics Make Sense
Photo by Carlos Muza on Unsplash

UTM parameters tell your analytics where a visitor came from. Used consistently, they show which campaigns actually work. Used carelessly, they create a mess. Here is a simple system.

When someone clicks a link in your newsletter or a social post, your analytics tool often cannot tell exactly where they came from. Email apps strip referrer information, and social traffic is lumped together. UTM parameters solve this by adding short labels to the end of a link that analytics tools read and record.

https://example.com/guide?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale

Everything after the question mark is tracking information. The visitor still lands on the same page.

The five main parameters

ParameterAnswersExample
utm_sourceWhich site or sender?newsletter, linkedin, partner_site
utm_mediumWhat type of channel?email, social, cpc, referral
utm_campaignWhich campaign?spring_sale, webinar_march
utm_contentWhich version or link?header_button, footer_link
utm_termWhich keyword? (mostly paid search)accounting_software

Source, medium and campaign are the essential three. Google's help page on collecting campaign data with custom URLs lists all the parameters Google Analytics 4 recognises.

Why medium matters most in GA4

Google Analytics 4 groups traffic into default channels such as Email, Organic Social and Paid Search, largely based on the source and medium values. If you tag an email link with utm_medium=newsletter instead of utm_medium=email, GA4 may not classify it as Email traffic. Stick to standard medium values: email, social, cpc, display, affiliate, referral.

A naming convention that stays clean

  1. Always lowercase. Analytics treats "Email" and "email" as different values.
  2. Use underscores or hyphens, never spaces.
  3. Agree a fixed list of allowed sources and mediums and write it down.
  4. Name campaigns consistently, for example topic_month_year.
  5. Keep a shared log of every tagged link: date, URL, parameters and where it was used.

You can type parameters by hand, but a builder avoids typos. Google's free Campaign URL Builder creates correctly formatted links. Many email and social scheduling tools can also add UTMs automatically. Check what they add so it matches your convention.

Common mistakes

  • Tagging internal links. Never put UTMs on links from one page of your site to another. It overwrites the visitor's real source and distorts your reports.
  • Inconsistent spelling across a team, producing five versions of the same source.
  • Tagging organic search. Google and other search engines already report themselves; you cannot tag their results anyway.
  • Sharing long ugly links. Use a link shortener or your scheduling tool's shortening feature for public posts.
  • Personal data in parameters. Never put email addresses or names into UTM values.

Reading the results

In GA4, the Traffic acquisition report shows sessions by source, medium and campaign. Add conversions or key events to see which campaigns brought valuable visitors, not just clicks. Review monthly alongside your content calendar to decide what to repeat.

Quick checklist

  • Source, medium and campaign on every external campaign link
  • Standard, lowercase medium values
  • Shared naming convention and link log
  • No UTMs on internal links
FlexyBlogs Editorial Team

Practical guides from the FlexyBlogs editors
Articles under this byline are researched and written by the FlexyBlogs editorial team. We link to primary sources such as government agencies, standards bodies and official documentation, and we update articles when guidance changes. Some drafts are prepared with the help of AI writing tools and are edited and fact-checked by a member of the team before publication. Spotted an error? Tell us through the contact page.
View all posts

0 Comments

No comments yet — be the first to share what you think.

Leave a reply

Your email address is never published.