Site iconDigital Marketing Agency | Portland PPC SEO Services | Anvil Media

What Are UTM Tracking Codes and Why Do You Need Them

UTM GoogleDo you like to measure your marketing efforts and results? Then you need to be using UTM tracking! A UTM (Urchin Tracking Module) code is a snippet of text that is attached to the end of a URL in order to track source, medium and campaign name of your marketing efforts within Analytics (and other analytics tools). Below is an example of a UTM tagged URL. This helps you track the performance of all of your efforts and allows you to see specifically where your traffic is coming from.

When to use UTM tracking?

How to set up UTM tracking?

Fortunately, Google makes it pretty easy to set up UTM tracking for your URLs. They have a URL Builder tool that does the hard work for you! All you need to do is plug in your URL and your parameters and Google will spit out a tagged up URL. It even now has a URL shortener to make the long, unsightly URLs slightly less ugly. Below is a screenshot of what the URL Builder looks like.

Now that you know what UTM tracking is, when to use it and how to set it up. What are the parameters and how should you use them? There are 5 parameters that can be used when setting up UTM codes.

Finally, some best practices for using UTM tracking. UTM tracking can be an extremely useful tool, but it is important that you are using it correctly and effectively in order to get the most out of the additional data you will receive.

  1. Use consistent naming conventions.
    1. When you have the same source and/or medium across multiple campaigns, these should all match exactly, i.e don’t use “cpc” for one campaign and “paid” or “cost-pe-click” for another campaign.
    2. Also, UTMs are case sensitive, so we recommend making all UTM fields lowercase this way you don’t see results in Analytics for “CPC” and for “cpc” which will happen if you are not consistent in your naming. Additionally, we recommend using dashes(-) in place of spaces EVERY time so, again, you don’t have results for “November-newsletter” and “november newsletter”
    3. Consider creating a UTM naming convention guide to ensure all team members are following best practices.
  2. Keep track of your UTMs. Use a spreadsheet to keep track of all of your UTMs for every campaign. This way you have a historical reference of the UTMs you have used and also to ensure you continue to use the same naming conventions for future campaigns.
  3. Make your UTMs descriptive. You don’t want there to be any confusion when reviewing the results of your campaigns in Analytics. UTMs should be very clear and concise and should tell the full story of the link, for example: this traffic came from a Facebook (source), PPC (medium) ad for our winter sale (campaign name) and targeted parents (campaign term) with the ad version a (campaign content).
  4. UTM tagged URLs are not very pretty, when you can we recommend using URL shorteners (like Google’s tool, which is also built into their URL builder, or Bitly) or hyperlinks when possible. Additionally, as mentioned above, for off-line efforts you can set up vanity URLs that redirect to a UTM tagged URL.

Your campaigns are set up and tagged, now the question is how to track the performance of these campaigns. To view your campaign performance within Google Analytics, you can go to the Acquisition Reports>Campaigns>All Campaigns. This report will show you all campaigns that are driving traffic to the site. This will include any Google AdWords campaigns. We recommend adding the secondary dimension of “Source/Medium.”

If you want to see only your non-Adwords campaigns, you can use an advanced filter to exclude data from the Source/Medium “google/cpc.” See the example below.

If you are using additional UTM parameters of “term” and “content,” you can click on the specific campaign name in the Acquisition>Campaigns>All Campaigns report that you want to look at and add the secondary dimension of either ad content or search term, depending on which parameter you wish to compare. Below we are comparing the links within an email campaign.


UTM tracking is a powerful tool if used correctly, but it is not flawless.  If your UTM tagged URL is shared from different platforms, say someone shares the link (that has been tagged) from your newsletter to Facebook, then Analytics will show that the traffic came from your newsletter, even though technically that traffic came from Facebook. It isn’t a perfect science, but it does allow you more in-depth understanding of how users are coming to your site from your marketing efforts than you would have had otherwise.

Exit mobile version