UTM Parameters 101: How to Build & Track Campaign URLs Accurately

Urchin Tracking Module (UTM) parameters are specialized query string tokens appended to URLs that allow digital marketers, growth engineers, and analytics platforms (such as Google Analytics 4, Mixpanel, and HubSpot) to accurately trace the origin, medium, and campaign of incoming web traffic.

The 5 Standard UTM Parameters Explained

1. utm_source (Required)

Identifies the platform, vendor, or referrer driving the visitor. Examples include search engines, social media networks, or newsletter providers.

Examples: utm_source=google, utm_source=newsletter, utm_source=linkedin

2. utm_medium (Required)

Specifies the marketing channel or distribution mechanism. Common conventions include:

  • cpc: Paid search advertising (Google Ads, Bing Ads)
  • email: Email broadcasts, onboarding sequences, or transactional notifications
  • social: Organic social media posts
  • referral: Partner websites or sponsored guest posts
  • affiliate: Affiliate network links

3. utm_campaign (Required)

Designates the individual marketing campaign, product launch, or seasonal promotion.

Examples: utm_campaign=spring_sale_2026, utm_campaign=developer_launch

4. utm_term (Optional)

Primarily used in paid search campaigns to track the target keyword that triggered the ad impression.

Example: utm_term=free+online+image+converter

5. utm_content (Optional)

Differentiates between two identical links or calls-to-action within the same email or banner ad (ideal for A/B testing).

Examples: utm_content=cta_button_top, utm_content=sidebar_text_link

Anatomy of a Properly Formatted UTM Link

https://toolkitbank.com/image-tools/bulk-tools/bulk-image-resize?utm_source=newsletter&utm_medium=email&utm_campaign=feb_product_update&utm_content=header_hero_btn

Crucial Best Practices for Clean Analytics

  • Strictly Use Lowercase: Analytics tools treat utm_source=Facebook and utm_source=facebook as two separate sources. Enforce lowercase strings across your entire team.
  • Use Hyphens or Underscores for Spaces: Never use literal spaces, which get percent-encoded into %20. Use spring-sale or spring_sale.
  • Never Use UTMs on Internal Links: Appending UTM tags to internal navigation links destroys the original session attribution in Google Analytics 4, resetting the user's referrer to your own site.

🛠️ Try the Free In-Browser Tool

Build error-free, UTM-tagged campaign URLs with our free Campaign URL Builder.

Launch Tool Now →
TB

Published by ToolkitBank Engineering Team

ToolkitBank provides high-performance, 100% client-side web utilities for developers, SEO specialists, writers, and designers. All tools process data locally in your browser with zero server data storage.

Explore More Technical Guides