How to use UTM codes to track the success of your email marketing

PAM NEELY - JUL 30, 2015

How do you track the success of your email marketing efforts?

While measuring open and click-through rates are a great start, it’s useful to understand what people do on your website after they click-through from your campaigns.

To do this, you can use UTM codes to tell your analytics tool that these people visited from your email campaigns and track exactly what they do on your site, from the pages they visited to the items they purchased.

In this post, you’ll learn what UTM codes are, how you can add them to your email campaigns, and the kind of reporting you can access once they’re enabled.

What’s a UTM code?

UTM codes, also called UTM parameters, allow you to see where traffic to your website is coming from, and ultimately track the success of your various marketing initiatives including your email campaigns.

UTM codes are actually really simple. They’re just text added on to the end of a URL, like this:

As you can see, the above link contains the website address ( as well a bunch of added information after the question mark. This extra information is the UTM code.

The first parameter is the campaign parameter. It’s set to track all activity from this particular link as being under the “spring” campaign.

The other UTM parameters – “medium”, “source” and “content” follow after. All set to track different pieces of information about the campaign.

By filling out the parameter fields with information from your campaigns, you can very elegantly and easily track all the results you get from a given email. If you’ve got a few goals set up in Google Analytics (like purchases, white paper downloads, etc), you can see specifically what results a particular email generated.

How to setup a UTM code in your email campaigns

Now that you understand how UTM codes work, let’s make you dangerous. There’s a few different ways you can setup a UTM parameter:

Manually create codes

If you want to manually create your own UTM codes, the URL Builder on the Google Analytics website is a great tool to help you do it.

Let’s create a few UTM codes for a sample email newsletter, like this:

For this campaign, we want to track all visits to our site from the campaign as well as understand what links people clicked to get there.

This email has three links to track:

  1. Logo
  2. Main image
  3. Blue CTA button

Starting at the top, here’s how we’d fill out the URL Builder if we wanted to set up a tracking link for the logo:

Here’s how the URL Builder will look with the fields filled out:

Here’s what we got back after we clicked “Generate URL”:

From there you would copy the full link and paste it in as the link for the logo image. Then you can go back and make another UTM code for each link in the email.

Although slightly time consuming, the benefit of the creating your codes manually is that you can determine exactly how you want them to work. You can standardize the different parameters across all your campaigns and even across your wider marketing initiatives to make sure you have clean, actionable data in your analytics tools.

Automatically generate codes

If you are a Campaign Monitor customer, then the email builder can automatically generate UTM codes for every link in your email campaign, and you don’t have to manually create them.

This is a feature available to all Campaign Monitor customers, and can be activated by following the instructions found here.

Once you’ve enabled the feature, the email builder will automatically add UTM codes to any link you create in your campaigns. It uses the following naming conventions:

For example, let’s say the Widget Factory sends a campaign with the campaign name: Widget Factory Annual Clearance Sale.

They add a button to their campaign that directs people to “ ” and used the button text ‘Buy a red widget’

Here’s how the link would look with the UTM codes automatically added by the email builder:

And if we separate the parameters from the URL above, you can see it consists of:

By using Campaign Monitor’s built-in Google Analytics integration, you can ensure all your links are being tagged without having to go through the time-consuming process of manually generating and adding the links to every campaign you send.

How to use UTM codes to measure the success of your email campaigns

Once you’ve tagged the links in your email campaigns with UTM codes and sent your campaign out, you can then open up your analytics tool and start to track the traffic it generates.

There are a number of reports you can look at and we outlined some of the more advanced ones in this post on Google Analytics reports, but let’s take a look at some of the basics.

The Channels Report

To compare your email efforts against other drivers of traffic (such as search, social, paid advertising, etc), you’ll want to check out the Channels report.

This report shows you how much traffic your website is getting, broken down by the channel it is coming through. As you can see above, email is one of our biggest drivers of traffic to the blog and this report allows us to compare it to other channels and see just how valuable it is for us.

This report can be accessed by selecting Acquisition > Overview > All Traffic > Channels from the sidebar of your Google Analytics account.

The Campaigns Report

If you want to see the bottom line effect of all your campaigns and compare them against each other, then the Campaign Report is where you want to be.

As you can see above, the report will show you how many visits (called Sessions) and visitors (called Users) each campaign brought to your site. If you have goal tracking or eCommerce tracking set up, you can even see how many people made purchases and what the combined value of those purchases were.

This report can be accessed by selecting clicking on ‘Email’ with the Channel Report, and then choosing ‘Campaign’ as the primary dimension.

Wrap up

By using UTM codes in your email campaigns, regardless of whether they are manually or automatically generated, you can track the performance of your campaigns beyond clicks and opens.

By combining these codes with analytics tools like Google Analytics, you can see exactly how much revenue each campaign is generating understand the ROI of your email marketing.

Your turn: Are you using UTM codes in your emails, or anywhere else? How do you use the information you get from using them?

Want to improve your email marketing?

Join over 20,000 other marketers & designers who get tips on improving their email marketing delivered directly to their inbox.

Straight to your inbox

Get the best email and digital marketing content delivered.

Join 250,000 in-the-know marketers and get the latest marketing tips, tactics, and news right in your inbox.


Get started with Campaign Monitor today.

With our powerful yet easy-to-use tools, it's never been easier to make an impact with email marketing.

Try it for free