Revealbot Blog Blog Categories

How to properly do UTM tracking for (almost) anything

How to properly do UTM tracking for (almost) anything

UTM (Urchin Tracking Module) parameters are an essential tool for tracking traffic sources. But they don't come without a catch.

7 min read
Apr 8, 2022

UTM (Urchin Tracking Module) parameters are simply tags you add to the URL to understand how visitors interact with your site and where they are coming from. They’re an essential analytics tool, but they come with a catch.

What can you learn from these snippets of text? Here are some of the big uses for

  1. UTMs are essential for tracking the value of advertising campaigns and measuring metrics such as ROAS and ROI
  2. UTMs help you track conversion data
  3. They give you a deeper understanding of traffic sources
  4. Without UTM parameters conducting A/B tests for ads would have been almost impossible

And what’s the catch? Glad you asked.

The catch with UTMs

At this point, you might think, “I will just add a UTM at the end of every link and this solves every analytics problem I've ever had.” Unfortunately, it’s not that simple.

UTMs stick to links even after a user switches platform or medium. Here’s the problem with that.

If the user finds your link — which is tagged by UTM — on TikTok and shares it on Snapchat, the source would still display as TikTok in your analytics.

Unfortunately for us, this happens a lot — your content will inevitably bounce from network to network.

This phenomenon is called network diffusion. And it causes UTMs to lose accuracy.

It's an inherent problem with the tool that doesn't have an easy fix.

Drive success, not stress
Spend less time on manual ad management while transforming wasted ad dollars into growth
✓ 14-day free trial ✓ No credit card required ✓ Cancel anytime

How to generate UTMs with a UTM generator?

Many marketers launch hundreds of ads weekly, and It would have been a living hell if they had to type every single UTM manually.

worse yet, it would lead to a lot of false data. Typos in UTMs can mess with how they’re tracked by your analytics software.

Thankfully, this process can be easily automated.

Google’s Campaign URL builder is a popular tool for creating UTMs. But there are many other free tools: just google “UTM generator” or “UTM builder” and pick the one you like. (they all work pretty much the same, anyway).

The five parameters you need to feed the tool are:

  1. utm_source: the source of your traffic, like Google or Facebook
  2. utm_medium: medium that drives traffic, like CPM, banner, or article
  3. utm_campaign: the name of your advertising campaign, like spring_sale
  4. utm_term: paid keywords or keyphrases to track, like gardening_equipmentutm_content: the unique ad identifier, like blue_banner or shovel_red_background

Here’s how it all comes together in a working URL example:

UTM tracking structure

Mind you, you’re not required to fill out all five. You can have a UTM with just the campaign tag if you find that useful.

UTM parameters best practices

Let’s quickly go over the practical side of using UTMs along with some industry-standard best practices.

1. Create a naming convention for UTM parameters

Naming can get out of hand quickly. You can avoid a lot of pain by creating a naming convention early and sticking to it as you grow. Mind you, you can always change it later.

Little things matter: choose if you’re going to use dashes, underscores, or hyphens.

Be mindful of capitalization: utm_source=google and utm_source=Google are two separate entities.

You can use CamelCase, start every word with an uppercase letter, or just keep it simple and write everything in lowercase.

2. Write for humans

Basically, structure your UTM tags as if you intend a human to read it.

Avoid overusing abbreviations. They’re ok here and there — especially for industry-standard concepts like CPM, or CPC — but you can easily go overboard.

Here’s an example of an unreadable UTM:

UTM tracking - Unreadable

This one is much better:

UTM tracking - Write for humans

3. Track UTMs in a Google Sheet

When you have thousands of UTM tags and hundreds of links it's easy to forget what is used where.

Readable naming certainly helps, but having a central hub to get back to and remind yourself what a tag stands for or where it's used is even better.

Most people use Google Sheets to keep track of UTMs and naming conventions.

You can make a simple table in minutes and easily keep it organized with the whole team.

Here's an example of what such a table can look like:

Track UTMs in a Google Sheet

4. Shorten your links

Unfortunately, UTMs are ugly.

There’s just no way around that. What’s more, all those weird symbols in the address bar look machine-generated and can remind users that they’re being tracked.

This is why it’s a good idea to shorten them.

This won't change how they display in the address bar, but at least they will look neat in your content.

You can use a free service like to do that.

Where to use (and not to use) UTM parameters

Let’s take a look at a few common uses for UTM parameters.

1. Perform A/B tests

Also known as split testing, A/B testing is when you run two instances of mostly identical content with one major differentiating element.

This could be two ads where everything except for the title is unique, or two posts, where everything but the visual is the same: maybe one has an image and the other — a video.

The goal is to find the best-performing combination of elements by testing them one by one incrementally.

You can test all kinds of assumptions using UTM parameters. Maybe you think that posts with images that have red backgrounds attract more attention. Let’s test that!

This is how A/B testing looks in the most basic of forms.

Share two identical posts, where one background image is red and the other — blue. Then, tag them appropriately:

UTM tracking - A/B testing

Run A/B tests on your ads to maximize ROI
Easily refine your ad campaigns to determine which ad variations perform the best.
✓ 14-day free trial ✓ No credit card required ✓ Cancel anytime

2. Track social media traffic

Wouldn’t it be great if you could track users who came to your website by following a particular post, instead of seeing the generic Facebook or Twitter source? With UTM parameters, that's very simple.

For example, you can compare how traffic from paid posts vs. organic posts behaves on your website.

An example URL can look something like this:

UTM tracking - Track social media traffic

3. Don’t use UTM parameters on internal links

UTM parameters were created to track traffic from external sources. As in — not your domain.

Marking internal links with UTMs, actually confuses analytics software. So don’t do that.

Internal links are links from one of your blog posts to another, or links in your website navigation.

Most analytics software track the path of internal traffic automatically on the most basic of levels. And when you need more data, you can use events in Google Analytics to mark interactions like button presses.


UTMs are a super powerful tool that grants insights into the behavior of your visitors. They’re also invaluable for measuring advertising success and comparing performance of different media and content.

Just remember that they are not 100% accurate due to network diffusion: this is when content gets picked up and shared across platforms, together with now mismatched UTMs.

Using UTM parameters at scale can also get confusing — at some point, you may forget what some of your older tags even mean.

But stick to the best practices and keep your UTM spreadsheet up to date and you will never have a problem.


What does UTM stand for?

It stands for Urchin Tracking Module.

Urchin was a company that had a tracking software bought by Google in 2005 and later became Google Analytics.

What is UTM tracking?

UTM tracking is a way to track the performance of your marketing campaigns across different channels and sources. UTM parameters are tags that you can add to the end of your website URLs to track where your visitors are coming from.

What are the benefits of UTM tracking?

  • UTM tracking allows you to see which marketing campaigns are driving the most traffic to your website and which ones are converting the best.
  • UTM tracking can help you identify which traffic sources are sending the most valuable visitors to your website.
  • Once you have a good understanding of which marketing campaigns and traffic sources are performing well, you can optimize your campaigns accordingly.

What are the different types of UTM parameters?

There are five main types of UTM parameters:

  • utm_source: The source of the traffic, such as a search engine, social media platform, or email newsletter.
  • utm_medium: The type of traffic, such as organic search, paid search, social media, or email.
  • utm_campaign: The name of the marketing campaign.
  • utm_term: The specific keyword or phrase that was used to find your website through search.
  • utm_content: The specific piece of content that was clicked on, such as a link in a social media post or email newsletter.

How do I create UTM tracking codes?

There are a number of different ways to create UTM tracking codes. You can use a UTM code generator, such as the one provided by Google Analytics, or you can create them manually.

To create a UTM tracking code manually, simply add the following parameters to the end of your website URL:

Replace the SOURCE, MEDIUM, CAMPAIGN, TERM, and CONTENT values with the appropriate information for your campaign.

Best practices for UTM tracking

  • Use consistent naming conventions: When creating UTM tracking codes, use consistent naming conventions for your campaign names, traffic sources, and content. This will make it easier to track and analyze your results in Google Analytics.
  • Keep your UTM parameters short and descriptive: UTM parameters should be short and descriptive so that they are easy to read and understand.
  • Use dynamic UTM parameters: Dynamic UTM parameters allow you to automatically populate the UTM values based on the context of the link. For example, you can use a dynamic UTM parameter to automatically populate the utm_source value with the name of the social media platform where the link is being shared.
  • Test your UTM tracking codes: Before you launch your marketing campaign, be sure to test your UTM tracking codes to make sure that they are working properly. You can do this by clicking on the links in your campaign and verifying that the UTM parameters are being passed along to Google Analytics.

About the author
Ivan Skladchikov
Ivan Skladchikov
Product Marketing Manager, Revealbot
Let’s stay in touch

Get the latest news delivered straight to your inbox

Related articles
Spend less time on manual ad management while transforming wasted ad spend into growth 💰