How to Track UTM in Google Analytics: A Step-by-Step Guide

7 minute read

ThoughtMetric Metric Calculation

Are you struggling to keep track of your marketing campaigns' effectiveness? Do you find it challenging to measure which channels are driving the most traffic to your website? Well, UTM parameters might be the solution you need. In this article, we'll walk you through a step-by-step guide on how to track UTM in Google Analytics.

Understanding UTM Parameters

Before we get into the details of setting up UTM tracking in Google Analytics, let's first define what UTM parameters are.

UTM parameters are tags that marketers add to a URL to track where their site traffic is coming from. These tags are added to the end of the URL and are made up of a series of parameters and their corresponding values. UTM stands for Urchin Tracking Module, a web analytics software that Google acquired in 2005 and integrated into Google Analytics.

UTM parameters help you understand how your visitors are finding your website. By using UTM parameters, you can track the effectiveness of your marketing campaigns and gain valuable insights into your website traffic. UTM parameters allow you to see which campaigns and channels are bringing in the most traffic, which campaigns are performing well, and which ones need tweaking.

What are the Different Types of UTM Parameters?

There are five types of UTM parameters: Source, Medium, Campaign, Term, and Content. In this article, we'll focus on the first three, which are the most commonly used.


The source parameter identifies where the traffic is coming from. This could be the name of a search engine, social media platform, or another website. By using the source parameter, you can see which sources are driving the most traffic to your website.


The medium parameter identifies the type of traffic, such as organic search, paid search, display advertising, or email marketing. By using the medium parameter, you can see which types of traffic are bringing in the most visitors and which ones are converting the best.


The campaign parameter is used to identify a specific marketing campaign. This could be a promotion, a sale, or a new product launch. By using the campaign parameter, you can see which campaigns are driving the most traffic and which ones are generating the most revenue.

Overall, UTM parameters are a powerful tool for tracking the effectiveness of your marketing campaigns. By using them, you can gain valuable insights into your website traffic and make data-driven decisions to improve your marketing efforts.

Setting Up Google Analytics for UTM Tracking

Now that we've covered the basics of UTM parameters, let's set up Google Analytics to start tracking UTM parameters.

Google Analytics is a powerful tool that can help you understand your website's traffic and how users interact with your content. By setting up UTM tracking, you can gain even more insights into your audience and their behavior.

Creating a Google Analytics Account

The first step is to create a Google Analytics account if you haven't already. This is a simple process that only takes a few minutes. Go to the Google Analytics homepage and sign in using your Google account credentials. If you don't have a Google account, you can create one by clicking on the 'Create an account' link.

Once you've signed in, you'll need to set up your account by entering some basic information about your website. This includes things like your website's name, URL, and industry. You'll also need to agree to the terms of service and select your data sharing preferences.

Installing Google Analytics on Your Website

The next step is to install Google Analytics on your website. This is a crucial step that will allow you to track your website's traffic and user behavior. Once you've created your account, follow the prompts to set up your website's tracking code. Copy and paste the code into the head section of your website's HTML code.

It's important to note that different website builders may have different methods for installing Google Analytics. Some may have built-in integrations, while others may require you to manually add the tracking code. Make sure to consult your website builder's documentation for specific instructions.

Configuring Google Analytics Settings for UTM Tracking

Now that you've installed Google Analytics on your website, it's time to configure your Google Analytics settings to track UTM parameters. This will allow you to see where your traffic is coming from and how users are interacting with your content.

To do this:

  1. Log in to your Google Analytics account and select the website you want to track.
  2. Click on 'Admin' in the bottom left-hand corner of your dashboard.
  3. Select 'Tracking Info' from the left-hand menu and click on 'Campaigns.'
  4. Toggle the 'Enable Campaigns' button on. This will allow you to track UTM parameters.
  5. Toggle the 'Enable the following campaign parameters' button on.
  6. Select 'Source,' 'Medium,' and 'Campaign' from the drop-down menus. These are the UTM parameters that you want to track.
  7. Click 'Save' to save your changes.

Once you've configured your settings, Google Analytics will start tracking UTM parameters for your website. You can view this data by going to the 'Acquisition' section of your dashboard and selecting 'Campaigns.'

By analyzing this data, you can gain valuable insights into your audience and their behavior. This can help you make informed decisions about your website's content, marketing strategies, and more.

Creating UTM Links for Your Campaigns

Now that you've set up Google Analytics for UTM tracking, it's time to start creating your UTM links for your campaigns.

Using Google's Campaign URL Builder

Google's Campaign URL Builder is a free tool that allows you to create UTM tags for your campaigns. To use this tool:

  1. Enter the URL of the webpage that you want to link to.
  2. Add your UTM parameters: Source, Medium, and Campaign.
  3. Click 'Generate URL.'
  4. Copy the generated URL and use it as your campaign URL.

Best Practices for UTM Naming Conventions

When creating UTM parameters, it's crucial to have a consistent naming convention. This makes it easier to organize your data and analyze it later. Some best practices for UTM naming conventions include:

  • Use lowercase letters
  • Use dashes instead of spaces
  • Be consistent

Examples of UTM Links for Different Marketing Channels

Here are some examples of UTM links for different marketing channels:

  • Social Media:
  • Email Marketing:
  • Pay-Per-Click Advertising:

Analyzing UTM Data in Google Analytics

Now that you've set up UTM tracking and created your UTM links, it's time to analyze your data in Google Analytics.

Navigating to the Acquisition Reports

The Acquisition reports in Google Analytics provide insights into how users find your website. To access these reports:

  1. Log in to your Google Analytics account and select the website you want to track.
  2. Click on 'Acquisition' in the left-hand menu.

Understanding the Source, Medium, and Campaign Metrics

The Source, Medium, and Campaign metrics show you where your traffic is coming from and which campaigns are performing well. Here's a brief overview of each metric:

  • Source: The website or platform that brought the user to your website, such as Google, Facebook, or Twitter.
  • Medium: The type of medium that brought the user to your website, such as organic search, referral, or social media.
  • Campaign: The campaign that brought the user to your website, such as a specific email campaign or pay-per-click advertising.

Advanced Segmentation and Filtering of UTM Data

Google Analytics provides many advanced features to filter and segment your UTM data. This allows you to gain deeper insights into your campaigns and make data-driven decisions. Some advanced segmentation and filtering options include:

  • Segment by Source, Medium, or Campaign
  • Create a custom report with UTM parameters
  • Use cohort analysis to see how different campaigns perform over time


UTM tracking is a valuable tool for marketers to measure their campaign's effectiveness accurately. By following this step-by-step guide, you'll be able to set up UTM tracking and analyze your data in Google Analytics. Remember to use consistent naming conventions when creating your UTM parameters and make data-driven decisions based on your analysis. With UTM tracking, you'll be able to optimize your marketing campaigns and drive more traffic to your website.

Ready to dive in? Start your free trial today.

Try ThoughtMetric and start understanding the performance of your e-commerce marketing today.

Try for Free
ThoughtMetric Ecommerce Marketing Analytics Screenshot