How have you learnt if Fb is a worthy funding or in the event you’re getting sufficient site visitors out of your current promotional marketing campaign? The reply: UTM monitoring hyperlinks.
UTM codes allow you to monitor the place site visitors is coming from, permitting you to correctly measure every marketing campaign’s, platform’s, or medium’s ROI.
On this weblog submit, I’ll take you thru what UTM codes are, the best way to use them, and the best way to construct them in each Google Analytics and HubSpot.
Desk of Contents
What’s a UTM Code?
A UTM (Urchin Monitoring Module) code is a snippet of textual content added to the top of a URL to trace the metrics and efficiency of a selected digital advertising and marketing marketing campaign. UTM codes can include as much as 5 parameters: Marketing campaign, supply, medium, content material, and time period.
UTM codes are often known as UTM parameters — or monitoring tags — as a result of they allow you to “monitor” web site site visitors from its origin. Entrepreneurs customise this textual content to match the online web page on which the tagged URL is linked so as to attribute the success of that marketing campaign to particular items of content material.
Beneath is an instance of a UTM code connected to the URL of a weblog submit. (UTM code highlighted in yellow.)

Now, you might be thinking, “I have HubSpot, so I already know if my website traffic is coming from Google, email, social media, and similar marketing channels. What does a UTM code tell me that I don’t already know?”
While HubSpot Marketing Hub provides you with these high-level sources of traffic, UTM helps you drill down into specific pages and posts within these traffic sources.
If you’re promoting a campaign on social media, for example, you’ll know how much traffic comes from social media. Building a UTM code, however, can tell you how much of that traffic came from Facebook or even a particular post on Facebook.
Let me explain in-depth what a UTM code is with an example. Here’s a URL with its own UTM code:
http://blog.hubspot.com/9-reasons-you-cant-resist-list?utm_campaign=blog_post &utm_medium=social&utm_source=facebook
Let’s break this link down.
- http://blog.hubspot.com/9-reasons-you-cant-resist-list: This is the base URL of the page.
- ?: This signals to your analytics software that a string of UTM parameters will follow.
- utm_campaign=blog_post: This is the first UTM parameter, specifically for the campaign the visitor engaged with (in this case, a blog post campaign).
- &: This denotes that another UTM parameter will follow.
- utm_medium=social: This is the second parameter, specifically for the channel the visitor came from (in this case, social).
- utm_source=facebook: This is the last parameter, specifically for the website the visitor came from (in this case, Facebook).
In the example above, you’re saying that once traffic comes in from people who click this link, the traffic should be attributed to Facebook. The “medium” is social media, while the “source” is Facebook.
Adding these snippets of code after the question mark above doesn’t affect anything on the page — it just lets your analytics program know that someone arrived through a certain source inside an overall marketing channel as part of a specific campaign.
Now, let’s take a closer look at the definition of UTM tracking and discuss the above-mentioned UTM parameters in detail.
What is UTM tracking?
UTM tracking entails adding a UTM code, a snippet of code, to the end of a URL in order to track the performance of your marketing campaigns and content as well as your website’s traffic sources.
Different UTM Parameters
Here are the five things you can track with UTM codes and why you might track them.
1. Campaign
Campaign-based tracking tags group all the content from one campaign in your analytics. The example UTM code below would help you attribute website traffic to links that were placed as a part of a 20% discount promotion you’re hosting.
Example: utm_campaign=20_off
2. Source
A source-based URL parameter can tell you which website is sending you traffic. You could add the example code below to every link you post to your Facebook page, helping you track all traffic that comes from Facebook.
Example: utm_source=facebook
3. Medium
This type of tracking tag informs you of the medium that your tracked link is featured in. You can use the example UTM code below to track all traffic that comes from social media (as opposed to other mediums, like email).
Example: utm_medium=social_media
4. Piece of Content
This type of UTM code is used to track the specific types of content that point to the same destination from a common source and medium.
It’s often used in pay-per-click (PPC) campaigns or with two identical links on the same page, as shown in the sample UTM code below.
Example: utm_content=sidebar_link or utm_content=header_link
5. Term
A term- or keyword-based tracking code identifies the keywords you’ve paid for in a PPC ad. If you pay for a Google Ads campaign to rank under the keyword “marketing software,” you might add the following UTM code to the end of the link you submit to Google to run this ad.
Example: utm_term=marketing+software
The best part about UTM parameters is that you can make any combination you like of these codes — use the bare minimum (campaign, source, and medium) to track all of your links, or use all of them to get super specific about your tracking.
UTM tracking codes can basically help you determine:
- Where the traffic is coming from: Source.
- Which general channel the traffic come from: Medium.
- What type of content people click on: Content.
- Which term they use to access the page: Term.
Benefits of UTM Codes
Crucial aspects of being a great marketer are being able to measure your campaigns’ success and impact. Here is how building UTM codes can help you do that:
- Better tracking. UTM codes allow you to track exactly where your website traffic is coming from, so you can see which marketing tactics are actually driving results. With UTM codes, you can see which sources, mediums, and campaigns are bringing in the most traffic, leads, and sales.
- More accurate attribution. UTM codes also allow you to give credit where credit is due. For example, if a visitor first finds your website through a Google search and then comes back later through a Facebook ad, you can see the entire customer journey and attribute the sale or conversion to both channels.
Okay, so you’re on board with UTM codes and their benefits… but how the heck do you set them up? Well, let me explain.
Below are instructions for setting up and measuring UTM parameters in Google Analytics and HubSpot.
How to Build UTM Codes in Google Analytics
Here are the steps involved in building UTM codes in Google Analytics.
1. Open Google’s Campaign URL Builder.
There are three different types of tracking tags you can create in Google, two of which help you track traffic to new apps on app marketplaces. You’ll be using the Google Analytics Campaign URL Builder — the third choice on this record.
2. Fill in every hyperlink attribute within the following kind.
Go to the web page linked above and click on the hyperlink to see this URL builder. Then, you may see the UTM builder proven under. Add the URL, Marketing campaign, Supply, and Medium info into their respective bins.

3. Use the hyperlink in your advertising and marketing marketing campaign.
If you would like to shorten it, you may want a software like bit.ly … or simply use HubSpot’s URL Builder in the event you’re a HubSpot buyer.
4. Measure your success.
If you have already got Google Analytics arrange in your website, Google will routinely monitor incoming campaigns. Like in HubSpot, you’ll be able to entry them beneath “Viewers,” then “Sources,” then “Campaigns.” Click on on every marketing campaign to view the supply and medium.

And that is it — you may have customized monitoring codes arrange and working very quickly! In a couple of weeks, you’ll make a case for what you want since you’ll have the proper metrics accessible.
Methods to Construct UTM Codes in HubSpot
Now, let’s have a look at how one can construct UTM codes in HubSpot. I personally desire Hubspot over Google Analytics because it presents vivid options to trace your UTM codes.
1. Navigate to your Analytics Instruments.
In your Marketing Hub dashboard, choose “Studies” on the highest navigation bar. Then choose “Analytics Instruments” within the dropdown, as proven under.

2. Open the Monitoring URL Builder.
Within the menu of analytics instruments that seems, look to the very backside proper nook. You may see the choice “Monitoring URL Builder.” Click on this selection on the backside of the web page, as proven within the pink field under.

3. Open the Monitoring URL kind to create a brand new UTM code.
Everytime you create an online marketing campaign that features no less than one UTM code, you may see this marketing campaign listed on the web page proven under.
This web page outlines a monitoring tag’s supply, medium, time period, content material, and creation date, which you’ll be able to see alongside the underside of the screenshot under. Click on “Create Monitoring URL” within the prime proper nook.
![]()
4. Fill in every attribute of your UTM code and click on “Create.”
Within the kind that seems, fill within the URL, Marketing campaign, Supply, and Medium fields. If you would like so as to add Content material and Time period, you are able to do so within the backside two fields of this kind. Whenever you’re carried out, you may see an orange “Create” button develop into accessible on the backside.
Click on it, and HubSpot will log your UTM code as a brand new marketing campaign. This hyperlink can be prepared to make use of on any net web page from which you wish to monitor the site visitors.
5. Use the shortened hyperlink in your advertising and marketing marketing campaign.
HubSpot routinely generates a shortened URL, which is best to make use of when selling your tracked content material.

6. Measure your success.
You may monitor your UTM parameters in your Site visitors Analytics dashboard beneath “Different Campaigns,” as proven under. Click on on the person marketing campaign to interrupt down the supply and medium.

As you’ll be able to see within the second picture (under), the identify of the marketing campaign seems to the left — primarily based on the textual content within the UTM code you created — with the site visitors from individuals who used every URL to reach at your marketing campaign’s important net web page.

Now that you understand how to arrange UTM hyperlinks, how do you employ them? Let’s have a look.
Methods to Use UTM Hyperlinks for Your Campaigns
You need to use a mixture of UTM codes and parameters in numerous methods. Right here’s how you should use them in your day-to-day as a marketer.
1. Observe the success of a promotional marketing campaign.
Dropping product costs or launching a brand new product might be daunting. Plus, if there’s no measurable ROI, it’ll be a wasted effort. Fortunately, you’ll be able to inform whether or not customers are successfully arriving at your website out of your promotional efforts utilizing UTM codes.
Right here’s one instance for a product launch:
mywebsite.com/new-product?utm_campaign=product_launch&utm_medium=cpc&utm_source=fb
Or, in the event you’re working a reduction marketing campaign by way of Instagram influencers, right here’s what a UTM hyperlink can appear to be:
mywebsite.com/sale?utm_campaign=20_off&utm_medium=paid&utm_source=instagram&utm_content=bio
2. See how nicely your social channels promote your content material versus when your followers promote your content material.
How do your natural social efforts stack up towards your followers’ promotional efforts? You may create two UTM campaigns to seek out out.
In your personal posts, you’ll be able to share a hyperlink as follows:
mywebsite.com?utm_campaign=inhouse_social&utm_medium=social&utm_source=fb&utm_content=submit
Then, immediate your followers to share the phrase about you, however allow them to share the next hyperlink:
mywebsite.com?utm_campaign=followers&utm_medium=social&utm_source=fb&utm_content=submit
3. Measure the effectiveness of visitor posting referral site visitors.
Should you’re visitor posting on a number of business web sites like me, it’s important to know whether or not these posts are driving site visitors to your website.
Everytime you create a visitor submit for an additional writer, guarantee all of the hyperlinks pointing to your web site on that submit have UTM parameters that let you know the place the site visitors got here from. Right here’s one instance:
mywebsite.com?utm_campaign=guest_post&utm_medium=paid&utm_source=guest_post_site&utm_content=physique
4. Observe the identical piece of content material throughout a number of advertising and marketing channels.
In my expertise, that is in all probability some of the helpful methods to make use of UTM monitoring codes: Creating completely different ones for a similar piece of content material, and utilizing it throughout completely different platforms. You may drop the marketing campaign parameter for this use case and easily monitor the medium, supply, and content material.
Let’s say you wish to monitor referral site visitors from a video you posted on LinkedIn, YouTube, and Fb. Listed below are the three completely different hyperlinks you may use:
- LinkedIn: mywebsite.com/my-content?utm_medium=social&utm_source=linkedin&utm_content=caption
- YouTube: mywebsite.com/my-content?utm_medium=social&utm_source=youtube&utm_content=description
- Fb: mywebsite.com/my-content?utm_medium=social&utm_source=fb&utm_content=caption
5. See the place most individuals click on in your inner hyperlinks in a weblog submit.
As an search engine marketing content material author, figuring out if the interior linking technique is working as meant is essential. Including UTM parameters helps me monitor the place my content material will get probably the most clicks. Listed below are three examples:
- Picture: mywebsite.com/my-content?utm_source=weblog&utm_content=picture
- Above the Fold: mywebsite.com/my-content?utm_source=weblog&utm_content=above_the_fold
- Backside of the Publish: mywebsite.com/my-content?utm_source=weblog&utm_content=backside
Word: I counsel you to make use of this technique with warning, as utilizing too many UTM parameters in inner hyperlinks can cause confusion to Google. It is best to apply it to a small batch of inner hyperlinks, acquire the click patterns, delete the UTM hyperlinks, after which act on these outcomes in your future inner linking efforts.
As all the time, be sure that you’ve set a canonical URL for every hyperlink to reduce confusion and stop duplicate indexing.
UTM Monitoring Greatest Practices
UTM monitoring URLs are a robust advertising and marketing software, however to get probably the most out of them, it is necessary to comply with some finest practices. Listed below are a couple of suggestions to bear in mind.
1. Create constant UTM monitoring codes.
Ensure your URLs and hyperlinks are constant, clear, and simple to learn. I’d even advocate creating an ordinary for hyperlink tagging, or a UTM parameter information (form of like a brand style guide) to ensure consistency across platforms and campaigns.
For example, for monthly newsletters, you might choose to always input the “utm_medium=email” in the medium parameter and use the “utm_campaign=monthly_newsletters” in the campaign parameter.
Then, for all Facebook posts, you would always use “utm_medium=social” in the medium parameter and “utm_source=facebook” in the source parameter.
By using the same UTM parameters for similar campaigns, you can ensure that all data is accurate and easy to analyze when it’s time to calculate your ROI and put together marketing reports. This allows you to make data-driven decisions about which campaigns are most effective.
2. Capitalize your UTM codes carefully, or not at all.
UTM codes are case-sensitive, so stick with either all lowercase or uppercase. Lowercase is easier to remember. That way, you don’t have to wonder whether only the first letter or the whole parameter is capitalized.
By sticking to consistent capitalization, you’ll avoid annoying discrepancies in your website analytics. Inconsistent capitalization can create duplicate entries or split data across different channels, making your data difficult to analyze.
3. Keep names short but descriptive.
When creating UTM parameters, make the names short but descriptive. This will make your UTM codes easier to read and remember. They will also take up less space in blog posts and social media updates, ultimately making the links look clean, attractive, and professional.
However, the most important benefit is that you can avoid any confusion or mix-ups between campaigns with similar names. Clear and concise UTM codes can make it easier to differentiate between similar campaigns, which is especially critical if your team runs a large volume.
For instance, let’s say you’re launching a new ebook as part of an email marketing campaign. A short but descriptive UTM code for this campaign might look like this:
https://www.yourwebsite.com/ebook-title?utm_source=email&utm_medium=email&utm_campaign=ebook-launch
4. Keep a running list of your UTM links in an accessible location.
Creating yet another spreadsheet may make you cringe, but hunting down a wide variety of UTM-tracked links is what’s sure to give you a headache. Keep a list of your UTM links so everyone on your team knows which tagged links currently exist.
Having a running list will also prevent your team from creating duplicate UTM codes for the same campaign, which can skew your analytics data and create unnecessary confusion. With a running list, everyone on your team will have an easy reference point to ensure they are using the correct UTM codes for new campaigns.
5. Connect UTM tracking codes to your CRM or marketing tool.
Adding your UTM tracking URLs to your CRM or marketing tool is essential. (If you’re not sure of what that can look like, here’s an example of how to do it in HubSpot.) By doing so, you’ll be capable to higher perceive the client journey, precisely attribute gross sales and conversions, and make selections primarily based on information.
Begin Creating UTM Monitoring URLs
Use the steps, finest practices, and instruments above to begin creating and utilizing UTM monitoring URLs so that you’re capable of monitor the efficiency of your advertising and marketing campaigns and content material. That approach, you’ll be able to reliably increase your metrics and enhance the ROI of your digital advertising and marketing technique.
Editor’s be aware: This submit was initially revealed in September 2013 and has been up to date for comprehensiveness.



