Download Your Digital Ads Guide
Learn how digital ads can help your business, including the tools, techniques and strategies to create successful campaigns.
March 28th, 2024 | 4 min. read
By Eric Gerber
Getting traffic to your website is essential. But if you don’t know where it’s coming from, how helpful is it, really?
This is where a simple URL-tracking device comes in handy: the UTM code. For nearly 20 years, these little codes have effectively pinpointed traffic sources — giving essential information about how your marketing is performing.
So what are UTM codes, and how do you create and track them? Here at Zoe Marketing & Communications, I’ve helped hundreds of businesses tap into their UTMs and identify their top traffic sources. In this guide, I’ll cover the essentials, including:
You’ll walk away with a sound understanding of how UTMs work, and you can plan your next steps for managing these essential codes in your marketing.
Learn how digital ads can help your business, including the tools, techniques and strategies to create successful campaigns.
UTM codes, aka UTM parameters are strings of text added to any clickable link to your website from somewhere else. Once a link with a UTM code attached to it is clicked, tools like Google Analytics (aka GA4) process that code and help you ID key traffic sources.
Quick factoid: UTM stands for “urchin tracking module.” This “urchin” isn’t a spiny sea creature, but rather, the software company Google bought out in 2005 that launched Google Analytics.
Why are UTM parameters so important? They help you see where traffic to your website is coming from. You likely encounter UTM codes all the time. For instance, if you click a link in an email, the end of that URL has a question mark, followed by text.
Here is an example, for this very blog page:
Let’s take a closer look at the five white “utm_” snippets, also known as UTM parameters:
This is the source responsible for the click. It’s often an ad network, social media platform, webpage or publisher. In our sample, it’s our Zoe website. Common sources include your own website, Facebook, LinkedIn, YouTube, Google (for ads), etc.
This explains the type of content that earned the click. Samples can include SEM (search engine marketing) ads, emails, videos, paid or organic social media posts and more.
This is the campaign name for the product or promo you’re pushing. Examples could include “summer sale” or “10 percent off code.”
This optional field tracks keywords in paid campaigns. It tends to be the least used, since Google’s keyword ad campaigns track these details and integrate them with GA4.
This field is also optional but helpful if you have, say, three pieces of content promoting that summer sale. Apply a content parameter to each one to track which performs best. (So if you’re running ads with three different images, you could name them “beach,” “picnic” and “hike.”)
Consistency is the key to naming all these parameters so you can easily track them later. There’s no set way to name your codes, so long as it makes sense to you and your team.
Don’t worry: You don’t have to type out all that UTM code yourself. It’s much easier — and safer — to use a code generator. Google’s Campaign URL Builder is the ideal tool to use.
A few tips: Fill out only the fields you want, and make sure your website URL (the top field) starts with an “https://” or “https://www.” Then, scroll down below the fields to find the UTM and click the copy button. It even changes all the spaces to underscores for you.
That ushers in several tips to avoid UTM headaches down the road:
Use UTM codes with any URLs that link to your website from an outside source. These include:
Here’s an example of a report I created for one of Zoe’s clients through our sister company, Metro Parent, through Google’s Looker Studio. In the second column, you’ll see nine different sources feeding this client’s results. Our team created UTMs for every source.
And, in about three seconds, this report quickly pulled in UTM data:
Knowing where your best traffic comes from helps you make better marketing decisions. UTMs are a powerful way to track paid or free links to your website.
The good news: All you need to do in advance is ensure Google Analytics (GA4) is installed on your website. Google Analytics picks up the coding from there.
GA4 lets you track UTMs for various data points. A basic place to start, though, is the number of people you’ve reached.
First, be sure to log into your GA4 and select the right property (i.e., your website). Then, from the left column:
Then, you can type in whichever UTM parameter you’re analyzing. Or, for a broad view:
From here, GA4 will show you your primary traffic sources for various data. You can also create custom reports to pull the specific UTM data you want to review.
Always check your UTM data at the start of your campaign. You want to ensure your codes are triggering results in GA4. From there, check in at least monthly. If it’s a promotion that only lasts two weeks, of course, look sooner. Focus on what matters most for your business goals.
Looking at your overall UTM results lets you know which campaigns are working the best and are worth investing more money or time in.
Issues with UTM codes are rare. That said, there are three pesky problems to watch for:
Small UTM codes play a significant role in measuring your marketing efforts. You now know how these strings of texts can track who’s visiting your website, savvy places to use them and more.
Looking for some support in applying UTM codes and managing your marketing? Talk to us. We’ll put our 15+ years of marketing experience to drive and track traffic to your website.
And to continue growing your marketing insights, learn about the:
Learn how digital ads can help your business, including the tools, techniques and strategies to create successful campaigns.
Eric Gerber delivers a deep understanding of data, performance and marketing tactics as an analyst and consultant for Zoe Marketing & Communications. A driven learner, his marketing experience spans from real estate to women's hair extensions.