Guides5 min read

Tracking marketing campaigns with UTM parameters

Learn how to use UTM parameters to track the effectiveness of your marketing campaigns and understand which channels drive the most valuable traffic.

By Glyphex Team · · Updated February 6, 2026

Every marketing dollar should be accountable. UTM parameters let you track exactly where your traffic comes from and which campaigns perform best.

What are UTM parameters?

UTM (Urchin Tracking Module) parameters are tags you add to URLs. When someone clicks a tagged link, your analytics tool captures the campaign information.

A tagged URL looks like this:

https://yoursite.com/landing-page?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale

The five UTM parameters

utm_source (required)

Identifies where the traffic comes from. Examples:

  • google - Google Ads
  • facebook - Facebook posts or ads
  • newsletter - Your email newsletter
  • twitter - Twitter/X posts

utm_medium (required)

Describes the marketing medium. Examples:

  • cpc - Cost per click advertising
  • email - Email campaigns
  • social - Social media posts
  • banner - Display advertising

utm_campaign (required)

Names the specific campaign. Examples:

  • spring-sale-2026
  • product-launch
  • weekly-digest
  • black-friday

utm_term (optional)

Tracks paid search keywords. Useful for identifying which keywords drive conversions.

utm_content (optional)

Differentiates similar content or links. Use it for A/B testing:

  • cta-button-red vs cta-button-blue
  • hero-image vs sidebar-link

Building UTM URLs

Consistent naming conventions

Establish rules before you start:

  • Use lowercase: facebook not Facebook (UTM parameters are case-sensitive)
  • Use hyphens: spring-sale not spring_sale or springsale
  • Be specific: newsletter-weekly not just email
  • Document everything: Keep a spreadsheet of your naming conventions

Example campaign structure

For a product launch email campaign:

utm_source=newsletter
utm_medium=email
utm_campaign=product-launch-feb-2026
utm_content=hero-cta

For the same campaign on social media:

utm_source=linkedin
utm_medium=social
utm_campaign=product-launch-feb-2026
utm_content=announcement-post

Where to use UTM parameters

Always tag these links

  • Email newsletter links
  • Social media bio links
  • Paid advertising URLs
  • Partner and affiliate links
  • QR codes on print materials
  • Links in PDF documents

Don't tag these

  • Internal site navigation (creates false attribution)
  • Organic social posts to your own profiles
  • Links within your own emails to other emails

Analyzing campaign data

In Glyphex, navigate to the Sources section to see UTM data. You can filter by:

  • Source: See all traffic from a specific platform
  • Medium: Compare email vs social vs paid
  • Campaign: Measure specific initiative performance

Key questions to answer

  1. Which source drives the most traffic? Volume matters, but quality matters more.
  1. Which medium has the best engagement? Compare bounce rates and session duration across mediums.
  1. Which campaigns convert? If you track goals, see which campaigns drive actual results.
  1. What's the cost per acquisition? Combine UTM data with ad spend to calculate true ROI.

Common mistakes to avoid

Inconsistent naming

Facebook, facebook, and fb create three separate sources. Pick one and stick with it.

Over-tagging

Don't add UTM parameters to every link. Internal links with UTM parameters will override the original source, making your data inaccurate.

Forgetting to document

Without documentation, you'll forget what campaign-q1-v2-final meant six months later.

Not testing links

Always click your tagged links before launching. Broken URLs waste your marketing budget.

Advanced techniques

Dynamic UTM parameters

Most ad platforms support dynamic parameters that auto-populate:

  • Google Ads: {keyword}, {matchtype}, {network}
  • Facebook: {{ad.name}}, {{campaign.name}}

UTM parameter shorteners

Long URLs look messy. Use a URL shortener that preserves UTM parameters, or create vanity URLs that redirect to tagged destinations.

Spreadsheet tracking

Maintain a master spreadsheet with:

  • Campaign name
  • Full tagged URL
  • Launch date
  • Target audience
  • Expected results

This becomes invaluable for year-over-year comparisons.

Consistent UTM tracking transforms marketing from guesswork into data-driven decisions. Start with your highest-traffic campaigns and expand from there.

utmmarketingcampaignstrackingattribution