UTM Parameters Explained: How to Track Your Marketing Campaigns

24 March, 2026 Web Tools • 1 views • 3 minutes read

UTM parameters let you track exactly where your website traffic comes from. This complete guide explains all 5 UTM parameters, how to build UTM links, and best practices for campaign tracking.

What Are UTM Parameters?

UTM parameters (Urchin Tracking Module — named after Urchin Software, acquired by Google in 2005) are small snippets of text you append to a URL to track the source of your website traffic in analytics platforms like Google Analytics, Plausible, or Matomo.

Without UTM parameters, when someone clicks a link and lands on your site, your analytics might tell you they came from "Direct" or "Referral" — but nothing more specific. With UTM parameters, you know they came from a specific email campaign, a particular Facebook ad, or a specific tweet.

The 5 UTM Parameters

1. utm_source (Required)

Identifies where the traffic originates — the platform or website sending visitors to you.

Examples: google, facebook, newsletter, twitter, linkedin

2. utm_medium (Required)

Identifies the marketing channel or type of traffic.

Examples: cpc (paid search), email, social, organic, banner, affiliate

3. utm_campaign (Required)

Identifies the specific campaign or promotion that generated the click.

Examples: spring-sale-2024, product-launch, weekly-newsletter

4. utm_content (Optional)

Differentiates between multiple links within the same campaign — useful for A/B testing or tracking which specific element was clicked.

Examples: hero-cta, sidebar-link, blue-button, text-link

5. utm_term (Optional)

Used primarily for paid search campaigns to track which keyword triggered the ad.

Examples: running-shoes, web-hosting, project-management-software

A UTM URL Example

Here's what a UTM-tagged URL looks like for an email campaign promoting a blog post:

https://neattools.io/blog/how-to-optimize-images-for-web
?utm_source=newsletter
&utm_medium=email
&utm_campaign=march-2024-newsletter
&utm_content=blog-link

In Google Analytics, this will appear as a session with Source: newsletter, Medium: email, Campaign: march-2024-newsletter.

How to Build UTM Links

Manually typing UTM parameters is error-prone. Use our free UTM Link Generator to build properly formatted URLs in seconds. Just enter your destination URL and fill in the UTM parameter values — the tool generates the complete trackable URL ready to copy and paste.

UTM Best Practices

Use Consistent Naming Conventions

Inconsistent UTM values create fragmented data in your analytics. Decide on standard values for each parameter and stick to them. For example, always use email as your medium for email campaigns, not Email, e-mail, or newsletter (use newsletter as the source instead).

Always Use Lowercase

UTM parameters are case-sensitive. utm_source=Facebook and utm_source=facebook appear as two different sources in your reports. Standardize on lowercase for everything.

Use Hyphens Instead of Spaces or Underscores

Spaces get encoded as %20 in URLs, making them ugly. Hyphens are cleaner than underscores and more readable: spring-sale-2024 rather than spring_sale_2024 or spring%20sale%202024.

Don't Use UTMs for Internal Links

Avoid adding UTM parameters to links within your own website. Internal UTM links reset the session source in analytics — a visitor who arrived from Google and then clicks an internal UTM link will appear to start a new session from whatever UTM source you put in the internal link. This corrupts your attribution data.

Document Your UTM Strategy

Maintain a spreadsheet or document listing all your UTM conventions and active campaigns. This prevents different team members from inventing different parameter values for the same channel.

Tracking UTMs in Google Analytics 4

In GA4, you'll find UTM data under Reports → Acquisition → Traffic Acquisition. The "Session source / medium" dimension shows traffic broken down by UTM values. You can further drill down by campaign to see the performance of individual campaigns.

Common UTM Mistakes to Avoid

  • Not using UTMs at all — without UTMs, paid and email traffic attribution is unreliable
  • Inconsistent capitalization — creates duplicate entries in reports
  • Using UTMs on internal links — corrupts session attribution
  • Missing required parameters — always include source, medium, and campaign
  • Not testing UTM links before launching campaigns — broken or malformed URLs mean lost attribution data

Conclusion

UTM parameters are the backbone of accurate marketing attribution. Without them, you're flying blind on which campaigns, channels, and content actually drive traffic and conversions. Use our free UTM Link Generator to build clean, properly-formatted tracking URLs for every campaign you run.