Free SEO extension ๐Ÿ”ฅ
Marketing Analytics โ€ข SeoSpidie Editorial Team โ€ข โ€ข 3 views

UTM Parameters Explained: How to Track Campaigns in Google Analytics

Each UTM parameter explained, how Google Analytics reads them and a naming system that keeps your campaign reports clean.

You shared a link in a newsletter, an Instagram bio, a WhatsApp broadcast and a paid ad. Sales went up. Which one worked? Without tracking, Google Analytics may lump most of those visits into "direct" or a vague "referral". UTM parameters fix that by labelling each link with where it was shared and why.

What UTM parameters are

UTM parameters are tags added to the end of a URL. They do not change the page; they tell your analytics tool how the visitor arrived. For example, a link to your Diwali sale page can carry three tags: source set to newsletter, medium set to email, and campaign set to diwali_2026.

When someone clicks that link, Google Analytics records the visit as coming from the newsletter, by email, as part of the Diwali campaign.

The five classic parameters

  • utm_source (required) โ€” where the traffic comes from: facebook, newsletter, google, partner_site.
  • utm_medium (required) โ€” the type of channel: email, social, cpc, referral, qr.
  • utm_campaign (required) โ€” the campaign name: diwali_2026, spring_launch.
  • utm_term (optional) โ€” the paid keyword, mainly for search ads.
  • utm_content (optional) โ€” distinguishes links within one campaign: header_button vs footer_link, or two ad designs.

GA4 also understands utm_id (a campaign ID) and a few newer parameters, but the five above cover most needs.

How GA4 groups your traffic

GA4 uses utm_source and especially utm_medium to place visits into default channel groups such as Email, Organic Social, Paid Social or Referral. If your medium values are unusual ("fb-post", "mail-blast"), visits may end up in "Unassigned". Using standard medium names like email, social, cpc and referral keeps channel reports accurate.

A naming convention that keeps reports clean

  • Always lowercase. GA4 treats Facebook and facebook as different sources.
  • No spaces. Use underscores or hyphens: diwali_2026.
  • Be consistent. Pick instagram or ig, not both.
  • Write it down. Keep a shared sheet of approved sources, mediums and campaign names.

Common mistakes

  • Using UTMs on internal links. Tagging links from your own homepage to your own product page starts a new session and overwrites the original source. Never tag internal links.
  • Tagging organic search. Google search traffic is tracked automatically; you cannot and should not add UTMs to it.
  • Typos and inconsistent capitals splitting one campaign into several rows.
  • Long, ugly links in public posts. Use a link shortener or a button where appearance matters.
  • Letting tagged URLs get indexed. Make sure your pages have a canonical tag pointing to the clean URL.

Typing UTMs by hand invites mistakes. The free UTM campaign builder creates correctly formatted links and keeps a local history of your recent ones. See how to build UTM links for social media, WhatsApp and email for practical examples. If you share links in WhatsApp chats, pair tracked links with the WhatsApp link generator for click-to-chat buttons.

More free tools: browse all our free utility tools, no sign-up needed.

Frequently asked questions

Do UTM parameters affect SEO?

No, as long as your pages use canonical tags so search engines index the clean URL instead of tagged versions.

Which UTM parameters are required?

Source, medium and campaign. Term and content are optional.

Where do I see UTM data in GA4?

In Reports โ†’ Acquisition โ†’ Traffic acquisition, using the session source, medium and campaign dimensions.

Are UTM parameters case-sensitive?

Yes. Use lowercase consistently to avoid split reports.