Beginner's Guide to UTM Parameters

A Beginners Guide to UTM Parameters (And How to Use Them)

Do you ever wish Google Analytics could tell you more about your website traffic, like which pages were visited by users who clicked on a specific social media post link? Or which products were purchased by users who clicked on a certain link in an email newsletter? With UTM parameters, it can!

UTM parameters can tell you all kinds of things about your traffic from pretty much any source. Just use a special campaign link with some extra code bits at the end, and boom, extra data! Oh, and there are even UTM link tools you can use to easily create your URLs, making it pretty simple to do.

In this article, I’ll cover the basics of UTM parameters and how you can use UTM code to improve your marketing analytics, make better decisions, and grow your business or brand.

How to Use UTM Parameters: Video Tutorial

MonsterInsights is the best WordPress Analytics plugin. Get it for free!

What Are UTM Parameters?

UTM (Urchin Tracking Module) parameters, also called UTM tags or UTM code, are small bits of code you can add at the end of your normal URL to track the traffic that clicks that specific link.

With UTM code, you get to see how effective your promotional activities (called “campaigns“) are and how visitors interact with your website. You can use them to track clicks on any type of digital marketing campaign, from emails and social media posts to QR codes and more.

A normal URL would look like this:

https://example.com/

But if you add UTM tags to your email newsletter, for example, your URL might look like this:

https://example.com/?utm_source=newsletter&utm_medium=email&utm_campaign=onboarding

Now that you know what UTM parameters are, let’s find out how they work.

How Do UTM Parameters Work?

URLs containing UTM code work like any other clickable link. But when a user clicks on the link, Google Analytics uses the UTM tags you’ve chosen to differentiate each URL from the rest.

Google uses the UTM parameters to track all the usual data about your link clicks, like the number of visitors, traffic sources, conversions, and more.

utm-parameters

There are 5 tags in UTM code, with the last two being optional:

  • Source (utm_source): Source shows you the source your visitors are coming from, like Google, Facebook, Twitter, or your email marketing provider
  • Medium (utm_medium): Used to identify the campaign medium of your traffic, like email, social media, or ad
  • Campaign (utm_campaign): This is where you’ll add a campaign name that makes sense to your initiative, like newsletter, spring-sale, or product-launch
  • Term (utm_term): If you’re running a pay-per-click (PPC) ad, then this tag helps you identify which paid keyword you can attribute to the traffic
  • Content (utm_content): Use this tag to explain which element was clicked, like footer-cta or header-banner

Note: Be careful; UTM tags are case-sensitive. Decide on a naming convention before naming your campaigns so that your campaign parameters are concise and make sense across all of them! Decide on things like uppercase vs. lowercase and when you’ll use dashes vs. underscores.

Using UTM Parameters: 4 Examples

Now, I’ll show you a few examples of how to use UTM parameters in different types of campaigns.

1. Measuring Social Media ROI

UTM parameters help you track your social media efforts. By adding UTM code to your social media links, you’ll be able to see which posts and campaigns were most effective in generating traffic and conversions.

Based on the data, you can optimize later campaigns and effectively measure the return on investment (ROI) of your social media activities.

For example, let’s say you’re running a big summer sale, and you plan to post about it on Facebook, X, and Instagram. You’d use UTM parameters on each post, with different campaign sources to show which network the traffic came from. If you use the same “summer_sale” Campaign term, you’ll see all your posts under the same campaign in Google Analytics and be able to compare which social network did the best in terms of driving sales.

If you’d like, you could even use the Content tag to describe which post it is (like “sunday_morning” or “sweaters”) if you’re making multiple posts on each channel.

Let’s take a look at an example. In the three posts below on the Easy Digital Downloads Facebook page, you can see that they’re having a sale for Black Friday/Cyber Monday. In the example links, you can see that all three posts are tagged as a part of the bfcm (Black Friday Cyber Monday) campaign, but the content tags give each post a unique UTM link.

UTM link examples on Facebook posts

2. Tracking Email Performance

Do you want to see which of your emails brought in the most visitors and conversions? UTM parameters can make that easy.

You can add UTM tags to your URL in any email and get insights about its performance. Use your email client (like “constant-contact” or “mailchimp”) as the Source, “email” for the Medium, whichever Campaign makes sense for your message (like “feb-newsletter” or “summer_sale”), and use the Content tag if you want to describe which button or link the click was on in your email (like “red_button” or “header_logo”).

Many email marketing services also provide A/B testing to help you see what’s working best.

3. Finding the Right Ad Placement

If you run paid campaigns, it’s important to know which ad campaigns and ad placements are working the best. UTM parameters can help you find out which websites and ad locations are bringing in the most traffic and leading to the most conversions.

For example, let’s say you run two different types of banner ads for the same product. One ad is placed in the sidebar and the other ad is shown in the page content.

ad-placement-utm-parameters

Using UTM tracking will show you how many clicks and conversions each separate ad is getting, even though they’re landing on the same product page. With this information, you can optimize your CPC (cost per click) and hone your ad spend to only the best-converting placements.

4. Tracking the Effectiveness of Content on Different Channels

Do you publish the same content on multiple channels? Maybe you run an article on three different social media networks and send it out via email, or maybe you have a sale that you’re promoting across all of your marketing channels. In both of those circumstances (and more), you can use UTM codes to easily see which channel sent the best traffic.

How to Create UTM Codes in Google Analytics

There are two ways you can go about creating UTM codes for Google Analytics. You can either:

  1. Type them manually
  2. Use a URL builder tool

The problem with the manual approach is that UTM codes can become very lengthy, and there’s a chance you’ll make a mistake. As a result, there may be campaign tracking errors, and your data won’t be organized correctly.

So, a simpler way of creating UTM tags is by using a URL builder tool. Campaign URL builder tools are brief forms you can fill out with your campaign, source, medium, and other tags, and they’ll create your final URL for you:

use-google-utm-parameter

If you’re a WordPress user, you can use MonsterInsights for both campaign URL creation and tracking those campaigns right inside your WordPress dashboard.

MonsterInsights is the best Google Analytics plugin for WordPress. Whether your site is small and simple or big and complex, MonsterInsights helps you track what matters most to grow your business. It connects with Google Analytics to set up important tracking features and bring your data into your WordPress dashboard in the form of easy-to-read reports.

To use the campaign URL builder, just enter the required fields and then copy the custom URL it creates for you.

Let’s say you’re going to run a campaign for Black Friday. Here’s what you can enter in the UTM builder:

url builder monsterinsights

The UTM campaign builder will then automatically generate a URL for you. Copy the link and use it for your promotion.

How to See UTM Parameters in Google Analytics 4

You can view your Campaign reports and see your UTM Parameters in Google Analytics by going to Acquisition » Traffic Acquisition. 

Then, scroll down to the table and click the drop-down menu.

GA4 campaigns report

Change your dimension to Session campaign.

Session Campaign Report - GA4

Now, you’ll be able to see all your campaigns listed.

If you’d like to see the Source and Medium for each campaign, you can add it to your report by clicking the blue + sign next to the dropdown. Under Traffic source, select Session source/medium.

Session Campaign report plus sign

Under Traffic source, select Session source/medium.

GA4 Session Source - Medium

Now, you’ll see all your Session campaigns along with the source and medium. With the information collected through UTM codes in Google Analytics, you get a clear picture of your traffic sources, campaign performance, and user behavior.

Campaigns by source/medium - GA4

To see results for a specific campaign, source, or medium, type it into the Search bar:

Email campaign reporting in GA4

Want to see your utm_content tag results? Jump to our instructions for creating a custom campaigns report in GA4.

How to See UTM Parameters in WordPress

In your WordPress dashboard with MonsterInsights installed at the Plus level or above, simply head to Reports » Traffic » Campaigns. There, you’ll be able to see which campaigns generated traffic for your site and which performed the best:

MonsterInsights Campaigns report for marketing campaign tracking

That’s just one of the reports you’ll find in the MonsterInsights dashboard. You’ll also get a source/medium report, social media traffic, eCommerce overview, eCommerce funnel, form submissions, Search Console rankings, and so much more.

Get a full tour of the MonsterInsights dashboard reports and tools.

How to Create a Custom Campaigns Report in GA4

Want to create a custom report that you can access at any time to get a full look at how all of your campaigns are performing? Here’s how.

Step 1: Create a Blank Report

To get started, head to the Explore tab and click on Blank:

Blank GA4 report

Step 2: Add Dimensions

Now, you need to add some dimensions to your report. In the Dimensions area, click the plus sign and add the following dimensions:

  • Session campaign
  • Session source/medium
  • Session manual ad content
  • Landing page + query string

Custom campaigns report - add dimensions

Step 3: Add Metrics

Now, scroll down to the Metrics area and click the plus sign to add the following metrics:

  • Sessions
  • Engaged sessions
  • Engagement rate
  • Average engagement time per session
  • Key events
  • Transactions (if applicable to your site)

Campaigns report metrics

Step 4: Build Your Report

Now that you have dimensions and metrics ready to use in your report, it’s time to click and drag them into the right spots in your report.

Start by dragging Session campaign over to the the Rows box. If you use utm_content tags in your campaigns, you should also move Session manual ad content over. You can also put Session source/medium there if you need to see that data.

Move dimensions to rows in camapgins report

Then, drag the metrics you want to see for each campaign over to the Values box:

Move metrics to values in campaigns report

Step 5: Adjust Report Settings

Finally, make sure your report has:

  1. A descriptive name
  2. The date range you’re interested in seeing
  3. More than 10 rows (in the show rows area):

Show rows dropdown in GA4

That’s it! You’ve got a custom campaigns report:

Custom campaigns report in GA4

You can now experiment with using different dimensions in your report or even create a second tab to show your campaign landing pages. Use the same dimensions and metrics, but move the Landing page dimension into your Rows along with the Campaign dimension.

We hope you like our beginner’s guide to UTM parameters. You might also want to check out:

How to Set up Google Analytics Click Tracking
How to Create Google Analytics 4 Custom Reports (Step by Step)
How To Set Up QR Code Tracking With Google Analytics

Not using MonsterInsights to track your campaigns yet? What are you waiting for?

Finally, don’t forget to follow us on YouTube for more helpful Google Analytics tips.

Want to Try MonsterInsights for Free?

Enter the URL of Your WordPress website to install MonsterInsights Lite.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.