🚨 Note: All standard Universal Analytics properties will stop processing new hits on July 1, 2023. 360 Universal Analytics properties will stop processing new hits on October 1, 2023. That’s why it is recommended to do the GA4 migration.
Tracking UTM tags correctly will allow you to track the correct mediums, sources, and campaigns from where the traffic is coming in Google Analytics reporting.
In this guide, we will learn how to track UTM in Google Analytics to help recognize where your user came from and fill your acquisition reports with the right data. This will help you track your Google Analytics goals in a better way.
We will also look at how you can use our Measureschool UTM Tool to create parameters for UTM tracking.
- Check which UTM parameters are being tracked
- Testing your UTMs
- Learn how your UTMs work
- Using the MeasureSchool UTM tool
Check Which UTM Parameters Are Being Tracked
Now, let’s start with a little test here. We have two links with us to a demo shop. We want to find out if this link is clicked, where does Google Analytics think the user came from?
Let’s click on this first link.
We entered our demo shop. Now, let’s go into Google Analytics to the Master profile and click under the Real-Time reporting on Traffic Sources. We see there was just a pageview on our page.
Google Analytics says that the user came from the Medium (none) and the Source (direct), also known as direct none, in our report.
This will also reflect under Acquisition, and under All Traffic, you would see the Source/Medium as (direct)/(none).
From experience, you probably know that this column has a lot of people mostly coming through your website. It is referred to as (direct)/(none) because we don’t know where the user exactly came from.
In this case, he came from our email newsletter but Google Analytics doesn’t attribute that to the right source. Learning how to track UTM in Google Analytics can help you change this.
Testing Your UTMs
Now let’s do another test. Let’s first delete our cookies. For this, go to Settings → Clear browsing data of your browser.
Now let’s go back to our Real-Time reporting. Click on Traffic Sources. We see that there’s a new pageview.
But this time it was generated by the Medium email and the Source gmail.
How UTMs Get Added To Your Traffic
So what is the difference here? Well, when we go back to the page that we just opened, we see that there is a difference in the URL that the browser loaded.
Going back to the email, you see that the first link is plain. And there’s nothing towards the back of the link.
Now, going to the second link, the URL is not plain. So, the difference here is just the end of the URL.
Thus, apart from the tail of the URL, both the pages are the same. Now the question is, what is this tail? Let’s inspect that a little more.
You probably have seen the question mark around URLs on other websites. Sometimes they communicate with the server and the content changes. But in our case, the content doesn’t change.
This is because the parameters in the tail of the URL are specifically designed to communicate with Google Analytics. The whole tail is called a query string. And the query string consists of different key-value pairs, which are parameters.
Understanding The URL Query Strings
So let’s take a closer look at the URL Query Strings. First, there is a utm_source parameter, which equals gmail. Note that the parameters are separated by an & sign.
Then we have our second parameter utm_medium which is email in our case. And our third parameter is utm_campaign which we’ve entered as newsletter.
Thus, we can see that these parameters are added as key-value pairs, where gmail, email and newsletter are values of the parameters Source, Medium and Campaign.
What Do UTM Parameters Do?
UTM parameters explicitly tell Google Analytics that the user that just entered the page came from the source of our newsletter. But for Google Analytics, we will have a different attribution. These will also be filled into our Acquisition report under the Source/Medium as newsletter/email.
This is hugely valuable to us. We can see exactly how many people entered through our specific link with the tagging. And if you have a goal or eCommerce tracking set up correctly, you will also see how many people bought or reached your goal.
So you can determine the effectiveness of the given link or the given channel that you tagged in your emails, your banner campaigns, or even offline campaigns.
But keep in mind, you always need to send the user to a link that has UTM parameters attached in the query string.
They signal to Google Analytics once we land on the page that it shouldn’t take the default of direct as source. But rather it should rewrite medium as email, the source as Gmail, and the campaign as newsletter.
The MeasureSchool UTM Tool
It might be cumbersome to add so many parameters without making any mistakes. If you want a little help with adding flawless parameters, you can download our handy UTM Tool.
Once you get access to the tool, Go to File → Make a copy...
This way you’ll be able to copy it to your Google account and be able to edit it.
And with this tool, you can easily generate your ready-made Tagged URL that you can copy into your marketing tool.
All you need to do is input a landing page URL.
After adding the landing page URL, add Campaign Medium. We also have a feature here where you can choose your Campaign Medium from the suggestions.
Now, input your Campaign Source. Some optional parameters are the Campaign Content and Campaign Term, which are mostly used for PPC campaigns and outcomes.
Now you have a readymade Tagged URL with the UTM Tags attached. You can now attach this URL to your inputted UTM Tags in your email marketing tool.
Campaign Examples In UTM Tool
Now, if you want to have an example other than the email campaign, we have an Examples tab on the tool. Here, you can find some different campaign examples, such as a Facebook Ad Campaign, Bing Search Ad, or AdRoll Retargeting, which you can use as a template for your campaign.
Now you know how to tag your incoming links with UTM Tags for effective campaign tracking and measurement. You can add different UTM parameters to your link to get the correct medium and source from where the user is coming. So, you know how the URL Query Strings can be created.
You can also use the UTM tool for your marketing campaigns and make it easier to create these tagged URLS. With this, you will be able to collect accurate data in Google Analytics.
Have you used this or other tools for your UTM tracking? Let us know in the comments what your experience was!