Website Tools

UTM Parameters: How to Track Exactly Where Your Visitors Come From

Your newsletter, Instagram bio and WhatsApp broadcast all send visitors – but analytics may lump them together. UTM tags tell you which one really works.

In this article
  1. What UTM parameters are
  2. The five parameters
  3. How to build a tagged link
  4. Naming rules that keep reports clean
  5. Where to use UTM links
  6. Mistakes to avoid
  7. Campaign IDs and paid platforms
  8. Reading the results in GA4

What UTM parameters are

UTM parameters are tags added to the end of a link, such as ?utm_source=newsletter&utm_medium=email&utm_campaign=eid_sale. When someone clicks the link, analytics tools like Google Analytics 4 record those values, so you can see visits, sign-ups and sales from each source.

UTM Link BuilderBuild tracking links with utm_source, utm_medium and utm_campaign for Google Analytics 4 and other tools. Keeps existing parameters and tidies values automatically.
Open the free tool

The five parameters

ParameterAnswersExample
utm_sourceWhich site or list?newsletter, instagram, facebook
utm_mediumWhat type of channel?email, social, cpc, qr
utm_campaignWhich promotion?eid_sale, spring_launch
utm_termWhich keyword? (paid search)running_shoes
utm_contentWhich version or link?header_button, video_ad_b

Source, medium and campaign are the essentials; term and content are optional.

  1. Open the UTM Builder.
  2. Paste the page address – existing parameters and #fragments are kept.
  3. Fill in source, medium and campaign (plus term and content if useful).
  4. Keep “tidy” on to lowercase values and turn spaces into underscores.
  5. Copy the link, or turn it into a QR code with the QR Code Generator.

Naming rules that keep reports clean

  • Lowercase everything. “Facebook” and “facebook” appear as two sources.
  • Use one word per idea: always “email”, never sometimes “e-mail” or “newsletter” as a medium.
  • Use GA4’s standard mediums (email, social, cpc, referral, display) so traffic lands in the right default channel groups.
  • Write a shared naming sheet if more than one person creates links.
  • Email newsletters and WhatsApp broadcasts.
  • Social media bios and posts.
  • Printed flyers and posters (via QR codes).
  • Paid ads on platforms that do not tag links automatically.
  • Partner and influencer links – give each partner their own source or content value.

Mistakes to avoid

  • Tagging internal links on your own site – it overwrites the visitor’s original source.
  • Putting personal data in tags – UTM values are visible to anyone and stored in analytics.
  • Forgetting to test: click the link and check GA4’s real-time report.

Campaign IDs and paid platforms

GA4 also supports utm_id, a campaign ID used when you import cost data. Google Ads tags links automatically with gclid when auto-tagging is on, so you normally do not add UTM tags to those ads. Meta, TikTok and other ad platforms offer URL parameter settings where you can add UTM values once for every ad in a campaign.

Reading the results in GA4

In Google Analytics 4, open Reports → Acquisition → Traffic acquisition and choose “Session source / medium” or “Session campaign”. Compare not just visits but conversions – the channel that sends fewer visitors sometimes sends more buyers. To inspect any tagged link, paste it into the URL Parser.

UTM Link BuilderBuild tracking links with utm_source, utm_medium and utm_campaign for Google Analytics 4 and other tools. Keeps existing parameters and tidies values automatically.
Open the free tool
Keep reading

Related articles

All articles
Web

The Anatomy of a URL – Every Part Explained

Web addresses look like random strings, but every part has a job. Understanding them helps with SEO, analytics, debugging – and spotting scam links.

3 min read
Web

QR Codes for Business – Sizes, Printing Tips, Wi-Fi Codes and Safety

A QR code on a menu, flyer or shop counter saves typing and connects print to your website. Done badly, it simply does not scan. Here is how to get it right.

3 min read
Dev

URL Encoding Explained – Why Spaces Become %20

Paste a link with spaces, “&” or Urdu text and it can break. URL encoding fixes this by turning special characters into safe % codes.

3 min read