Back to Blog
Marketing Analytics12 min read

How to Use UTM Parameters to Track Traffic and Conversions

By Viral Suite TeamPublished: Updated:
How to Use UTM Parameters to Track Traffic and Conversions

Ever wondered exactly which marketing campaigns are driving traffic to your website? UTM parameters are the answer — simple text tags added to URLs that reveal exactly where your visitors come from.

When someone clicks a link with UTM tags, those parameters are sent to your analytics tool (like Google Analytics), allowing you to attribute conversions and measure campaign performance with precision.


What are UTM Parameters?

UTM parameters are simple text tags added to URLs that help you track where your website traffic is coming from. When someone clicks a UTM-tagged link, the parameters are sent to your analytics tool (like Google Analytics), allowing you to attribute conversions and measure campaign performance accurately.

Example: https://example.com?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale


The 6 UTM Parameters Explained

There are six UTM parameters you can use to track your marketing campaigns. Understanding each one helps you build a complete picture of your traffic sources.

utm_id
Campaign ID
A unique identifier for your campaign. Used by some analytics platforms to group related campaigns.
Examples:
summer_2024, promo_12345
utm_source
Campaign Source
The referrer or source where your traffic originates (e.g., search engine, social platform, website).
Examples:
google, facebook, newsletter, tiktok
utm_medium
Campaign Medium
The marketing medium or channel through which users reach your site.
Examples:
cpc, banner, email, social, organic
utm_campaign
Campaign Name
The specific product, promo code, or slogan that identifies your promotion.
Examples:
spring_sale, product_launch, buy_now
utm_term
Campaign Term
Search terms or keywords for paid search campaigns. Used for A/B testing different keywords.
Examples:
running+shoes, red+sneakers, sale+shoes
utm_content
Campaign Content
Used to differentiate similar ads or links within the same campaign. Great for A/B testing.
Examples:
sidebar_link, text_link, image_ad

How to Use UTM Parameters: Quick Guide

1

Identify Your Traffic Source

Where is your traffic coming from? Use utm_source to specify:
  • Search engines: google, bing, yahoo
  • Social media: facebook, instagram, twitter, linkedin
  • Email: newsletter, promo_email
  • Other sites: partner_site, referrer_name
2

Choose Your Marketing Medium

What type of marketing is this? Use utm_medium for:
  • Paid ads: cpc, ppc, paid_search
  • Social posts: social, social_media
  • Email: email, email_marketing
  • Organic: organic, referral
3

Name Your Campaign

What promotion or product is this? Use utm_campaign to identify:
  • Promotions: summer_sale, black_friday_2024
  • Products: product_launch, new_feature
  • Content: blog_post, video_review
  • Events: webinar_march, conference_2024
4

Optional: Add More Detail

For advanced tracking, add utm_term and utm_content:
  • utm_term: running+shoes, best+credit+card
  • utm_content: headline_a, image_variant_2
  • Best for: A/B testing, keyword tracking

Complete Example

Complete Example

A Facebook ad for a summer sale promoting running shoes:

https://example.com/products/shoes?utm_source=facebook&utm_medium=social&utm_campaign=summer_sale&utm_term=running+shoes&utm_content=image_ad_1

What this tells you:

  • Source: The traffic came from Facebook
  • Medium: It was a social media post (not an ad)
  • Campaign: Part of the summer_sale initiative
  • Term: Targeted the keyword "running shoes"
  • Content: Specifically tracked performance of image ad variant #1

How to Track UTM Parameters in GA4

Once your tagged links are live, GA4 automatically reads UTM parameters and groups that traffic into acquisition reports. To review the results, open Reports > Acquisition > Traffic acquisition and switch the primary dimension to Session source / medium, Session campaign, or another campaign-related dimension.

For deeper analysis, use Explore in GA4 and add dimensions such as Session source, Session medium, Session campaign, Session manual term, and Session manual ad content. This lets you compare which channels, campaigns, keywords, or creative variations are driving sessions and conversions.

Google's official reference for campaign dimensions is here: Traffic-source dimensions, manual tagging, and auto-tagging.


Pro Tips for Better Tracking

Pro Tips for Better Tracking

  • Be consistent: Use the same naming convention across all campaigns (e.g., lowercase, underscores)
  • Don't over-tag: Only use UTMs when you need to track. Avoid tagging internal links.
  • Test your URLs: Always click a UTM link to verify it works before sharing.
  • Document your conventions: Share your UTM naming standards with your team.

Be Consistent

Use the same naming convention across all campaigns. This makes your data easier to analyze and compare.

Recommended conventions:

  • Use lowercase letters
  • Use underscores instead of spaces
  • Avoid special characters
  • Create a naming guide for your team

Good examples:

  • summer_sale_2024
  • black_friday
  • product_launch_q1

Bad examples:

  • Summer Sale 2024 (spaces and uppercase)
  • BF-2024!!! (special characters)
  • june promo (vague, inconsistent)

Don't Over-Tag

Only use UTMs when you need to track. Avoid tagging:

  • Internal links on your own site
  • Navigation links
  • Links that don't need performance tracking

Over-tagging can clutter your analytics and make it harder to find meaningful insights.


Test Your URLs

Always click a UTM link to verify it works before sharing it to your audience. A broken link means wasted traffic and missed opportunities.

Check that:

  • The link goes to the correct page
  • All parameters are preserved
  • The landing page works properly

Document Your Conventions

Share your UTM naming standards with your team. This ensures everyone uses consistent parameters, making your data more reliable and easier to analyze.

Create a simple document that outlines:

  • Standard values for each parameter
  • Campaign naming conventions
  • When to use optional parameters

Why UTM Parameters Matter

UTM links allow you to accurately track which marketing channels, campaigns, and content are driving traffic to your website. This data helps you:

  • Optimize marketing spend — Know exactly which campaigns deliver the best ROI
  • Understand user behavior — See which channels bring your most valuable customers
  • Improve overall ROI — Double down on what works, stop what doesn't
  • Prove campaign value — Show stakeholders concrete results

Without UTM parameters, you're flying blind. With them, you have the data needed to make informed marketing decisions.


Getting Started

Ready to start tracking your campaigns? Use a UTM link builder to create trackable links in seconds. Our free UTM Link Builder is the best in the world, it includes:

  • Smart paste with auto-fill
  • Colorful parameter display
  • Built-in URL shortener
  • History tracking
  • CSV export

Start tracking your marketing campaigns with confidence today.

Frequently Asked Questions

What are UTM parameters used for?

UTM parameters are used to track where website traffic comes from. They help marketers identify which campaigns, ads, emails, or social media posts drive visits, conversions, and engagement in analytics tools like Google Analytics and GA4.

Do UTM parameters affect SEO?

UTM parameters generally do not affect SEO when used correctly. However, using UTM tags on internal website links can create duplicate URLs and inaccurate analytics data. UTM parameters are best used for external marketing campaigns and traffic tracking.

Which UTM parameters are required?

The most commonly required UTM parameters are utm_source, utm_medium, and utm_campaign. These identify the traffic source, marketing channel, and campaign name. Other optional parameters include utm_term, utm_content, and utm_id.

How do I track UTM parameters in Google Analytics 4 (GA4)?

In GA4, UTM parameters are automatically detected when users visit tagged URLs. You can view campaign data in reports such as Acquisition > Traffic Acquisition to analyze traffic sources, campaigns, and conversions.

What is the difference between utm_source and utm_medium?

utm_source identifies where the traffic comes from, such as Google, Facebook, or a newsletter. utm_medium identifies the marketing channel, such as email, social, CPC, or referral.

Example:

utm_source=facebook
utm_medium=social

Can I use UTM parameters in social media links?

Yes. UTM parameters are commonly used in social media marketing to track traffic from platforms like Facebook, Instagram, LinkedIn, X, and YouTube. They help measure which posts or campaigns generate visits and conversions.

Are UTM parameters case-sensitive?

Yes. Most analytics platforms treat uppercase and lowercase UTM values differently. For example, Facebook and facebook may appear as separate traffic sources. Using consistent lowercase naming is considered a best practice.

Should I use UTM parameters for internal links?

No. UTM parameters should generally not be used on internal website links because they can overwrite original traffic attribution data and create inaccurate analytics reports.

What are the 5 standard UTM parameters?

The 5 standard UTM parameters are:

  • utm_source
  • utm_medium
  • utm_campaign
  • utm_term
  • utm_content

Some platforms also support utm_id for campaign identification.

What is an example of a UTM URL?

Example:

https://example.com/?utm_source=facebook&utm_medium=social&utm_campaign=summer_sale

This URL tracks traffic coming from a Facebook social media campaign called summer_sale.