A beginners’ guide to UTM parameters

A bird's eye view of a person's hands on a laptop keyboard.

Marketers can all attest to the rush experienced when a campaign is successful. All those long hours crafting bespoke content that speaks to an audience culminating in conversions—it’s every marketer’s dream! But just as important as the campaign itself is how you track it. A successful campaign without tracking is like driving a car without knowing where you’re going. If you don’t know what worked and what didn’t, how can you replicate successes and learn from losses? UTM parameters, at least in part, hold the key to this question. 

What are UTM parameters? 

UTM stands for “Urchin Tracking Module”. The reason behind this name comes from Urchin Software Corporation, a company that was acquired by Google in 2005 and ended up laying the groundwork for what we now call Google Analytics. 

UTM parameters involve short text codes added to URLs to help track the performance of a webpage or campaign in Google Analytics. These parameters (often referred to as codes or tags) are a simple and reliable way to track online traffic from a wide range of sources—including social campaigns, emails, landing pages, and much more. For that reason, they’re a critical part to every company’s marketing toolkit. 

Why are UTM parameters important? 

There are a number of reasons you should be leveraging this tracking tool. Not only do UTM codes provide information about the link’s placement and purpose, it makes it easier to track those ever-elusive clicks and traffic originating from a specific campaign. 

Here’s 5 reasons for marketers to employ UTM parameters:

  1. They allow you to track specific campaigns and measure resulting ROI.
  2. They offer insight on conversion and traffic sources, so that you can zero in on high performing channels. 
  3. You can A/B test individual campaigns or posts, pitting them head-to-head. 
  4. They are not affected by such factors like third-party cookies or Facebook Pixel. 
  5. They work hand in hand with Google Analytics—as long as you have GA set up, you don’t have to integrate with another platform.

What’s in a UTM parameter? 

UTM parameters, when set up correctly, should tell the story of how your traffic is coming to you. They need to answer the following three questions: 

  • Where is my traffic coming from? 
  • How is it getting to me? 
  • Why is it coming to me? 

In order to answer the above, there are five elements you need to identify: Source, Medium, Name, Content, and Term. The first three are required by Google Analytics, but the last two are optional and used for tracking paid campaigns. Let’s deep dive into these individually. 

Source 

The campaign source identifies where the traffic came from, whether that’s a social media platform, search engine, newsletter, blog, or another specific source type. The UTM code for source looks like this: utm_source. For example, if a click came from Facebook, the UTM code at the end of the URL could look like utm_source=facebook.

Medium 

The campaign medium identifies the type of channel driving the traffic, whether that’s organic, paid, email, and so on. The UTM code for medium looks like this: utm_medium. For example, if a click came from a paid social campaign, the UTM code at the end of the URL could look like utm_medium=paid_social

Name

As the name suggests, this parameter specifies the name of the campaign. This is especially helpful when you’re running multiple campaigns at the same time. Examples for this parameter include a product or contest name, a specific sale or promotion (such as BFCM), or even a tagline. The UTM code for name looks like this: utm_campaign. For example, the UTM code at the end of the URL could like utm_campaign=black_friday_sale.

Term and content

These two parameters relate specifically to paid campaigns. “Term” is a UTM code used to track paid keywords or phrases. “Content”, on the other hand, allows you to track specific ads within a paid campaign. The respective codes for these are utm_term and utm_content. For example, the UTM codes at the end of the URL could look like utm_term=social_media and utm_content=banner_ad

How to build a UTM code 

Once you’ve identified the individual components you’d like to track above, it’s simply a matter of adding everything to the end of the URL (after the ?) and separating everything with “&” symbols. The above examples culminate in the following URL: 

http://www.yourdomain.com?utm_source=facebook &utm_medium=paid_social &utm_campaign=black_friday_sale &utm_term=social_media &utm_content=banner_ad

While it’s not complicated to create your own UTM parameters, most people opt to use a UTM generator given how manual the process is. The most popular option is the Google Analytics Campaign URl Builder. Simply enter all the values you want to track and scroll down to find the automatically generated URL. You’ll have the option of converting the URL to a short link, or you can use your URL shortener of choice. 

If you’re tracking a campaign related to an app, you have the option of either using the iOS Campaign Tracking URL Builder or the Google Play URL Builder. These platforms work very similarly to the Google Analytics Campaign URL Builder, but include a few additional parameters that will help you measure your data as it relates to apps.

Tracking UTMs in Google Analytics 

Once you’ve defined and set up your UTM parameters, log in to Google Analytics. In the Reports tab, click on “Acquisition”, and then “Campaigns”. Here you’ll see a list of campaigns you’ve created with trackable links, including traffic data and conversions.

A screenshot of the "reports" dropdown menu in Google Analytics, with Acquisition, then Campaigns selected.

You can export this data as a PDF, Google Sheets, Excel, or .csv file.

A screenshot of Google Analytics showing the "Export" menu, with options to export as a PDF, Google Sheets, Excel, or CSV document

Once you have a tally of numbers, you can work with your team to analyze what’s going on—including where traffic is coming from, and how it’s getting to you. Remember, the goal of adding UTM parameters to your links is to not only measure and prove the value of your marketing efforts, but to refine your strategy as you learn from the data. This will ultimately help paint a fuller picture of how your team’s efforts are affecting the overall company’s revenue, and allow you to set goals that are not only realistic, but relevant. 

Using UTM parameters, you can gain insight on:

  • Lead generation
  • Referral traffic
  • Conversions 
  • The cost needed to acquire a lead/customer
  • The success of a particular campaign vs another
  • ROI

5 tips to nail your first campaign with UTM parameters

  1. Tip #1: Don’t use UTM codes on internal links. UTM parameters were designed to track traffic coming from external sources to your landing page or website. If you use UTM codes on links within your website, that can confuse Google Analytics and lead to tracking errors. 
  2. Tip #2: Stick to consistent naming conventions. Inconsistent UTM parameters leads to incomplete data, meaning you won’t get an accurate picture of how your campaigns perform. Common naming conventions include using all lower-case (UTM codes are case sensitive) and using underscores instead of spaces (otherwise they will track separately).  
  3. Tip #3: Track your links in a spreadsheet. As the number of links with UTM codes attached to them grows, you’ll need a way to keep organized. Tracking them in a spreadsheet will help you manage each campaign and avoid errors or duplications. 
  4. Tip #4: Be careful when copying and pasting links. On occasion, copying and pasting links from your own content ends up including irrelevant UTM codes. For example, the “Copy Link” feature on Instagram posts (web browser) adds its own UTM code. Be sure to remove any irrelevant information as you track. 
  5. Tip #5: Keep it simple! Perhaps the most common pitfall when it comes to UTM codes is overcomplicating the process. Long, overly detailed codes can muddle the waters, making it difficult to make heads or tails of what’s going on. Stick to the golden rule of keeping things simple, and the data won’t overwhelm. 

The Complete Multi-Touch Attribution Guide

Know which marketing channels drive revenue

Get the Guide

Join the 7,000+ founders in the Clearco portfolio.

You’ve worked hard to build your business, you should own 100% of it.