![Keep "right"](https://images.pexels.com/photos/28112434/pexels-photo-28112434.jpeg?auto=compress&cs=tinysrgb&w=1920)
Utm tracking code is a powerful tool for marketers and analysts to measure the effectiveness of their online campaigns. It allows you to track the source, medium, and other parameters of your website traffic.
The utm tracking code is a simple piece of code that you can add to your website's HTML. It's usually placed at the top of the page, just below the head tag. This code is made up of five parameters: utm_source, utm_medium, utm_campaign, utm_content, and utm_term.
These parameters provide valuable insights into how users are interacting with your website. For example, the utm_source parameter tells you where the traffic is coming from, such as a social media platform or a paid ad.
Related reading: Website Traffic Bot
Getting Started
UTM tracking codes have a fascinating history. Urchin Software created UTM codes for its web statistics analysis program.
Google purchased Urchin in 2005 and rolled out Google Analytics later that year. Google discontinued Urchin in 2012, integrating UTM codes into its own software.
UTM codes allow you to view traffic source information in Google Analytics. This is especially useful for diving deeper into the data to uncover the exact content attracting visitors.
Related reading: Adobe Marketing Cloud Solutions
What Are UTM Tracking Codes?
UTM tracking codes are simple snippet codes that you add to the end of a URL to track the performance of campaigns and content. They help you understand where your website traffic is coming from.
UTM stands for Urchin Tracking Module, which may also be referred to as the Urchin Traffic Monitor. This name comes from Urchin Tracker, a web analytics software that served as the base for Google Analytics.
A UTM code looks something like this: http://yourwebsite.com/your-post-title/?utm_source=google. The part starting after '?' is the UTM code, which tracks who sent the traffic to the page (i.e. the source).
UTM parameters are the building blocks of UTM codes. There are 5 standard parameters you can track: utm_source, utm_medium, utm_campaign, utm_content, and utm_term.
Here are the 5 standard UTM parameters and what they track:
Adding the UTM tracker doesn’t impact the actual page, and you can delete the UTM code from the URL and the page will load normally.
Setting Up UTM Tracking Codes
To set up UTM tracking codes, you need to separate parameters from the URL with a question mark. List the parameters and values as pairs separated by an equal sign, and separate each parameter-value pair with an ampersand.
For example, https://www.example.com/?utm_source=email_campaign&utm_medium=email&utm_campaign=summer-sale. You can add parameters to a URL in any order, but parameter values are case sensitive, e.g. utm_source=google is different from utm_source=Google.
If you're setting up URL parameters for a Universal Analytics site, you must add at least utm_source and utm_medium. For a Google Analytics 4 site, you must add at least one utm parameter, but you can add any utm parameter.
The utm_source parameter tracks the traffic source, such as a social media platform, search engine, or blog. Use traffic source UTM parameters to track where the traffic originated from.
Here are some common utm_source tags:
- tiktok
- blog
- newsletter
You can also use the utm_medium parameter to track what type of traffic the visitor originated from, such as CPC, email, social, referral, display, etc.
For example, &utm_medium=cpc. The utm_campaign parameter can be used for special promotions, personas, or business objectives.
For instance, you could use "launch-[Product Name]" as your campaign name for a new product launch. You can also use it for personas, such as "manager-mandy" or "practitioner-pam" for a post crafted especially for one buyer persona.
To document your utm naming conventions, create a style guide for creating your tracked links. Define a list of tags to choose from for the source, campaign, and medium parameters, and outline some rules to follow for the term and content parameters.
For example, "adcolor_adsize_adversion". Establish a utm naming convention from the start and agree on naming conventions for common parameters, such as medium ("social" vs. "social media") and traffic sources ("facebook" vs "facebook.com").
Here's an example of how to use utm tracking codes in an email marketing campaign:
- www.example.com/page?utm_source=summer-promo&utm_medium=email&utm_campaign=summer-sale&utm_content=logo
- www.example.com/page?utm_source=summer-promo&utm_medium=email&utm_campaign=summer-sale&utm_content=main-image
- www.example.com/page?utm_source=summer-promo&utm_medium=email&utm_campaign=summer-sale&utm_content=orange-cta
Using UTM Tracking Codes in Social Media
To track the success of your social media campaigns, you need to use UTM tracking codes. The source UTM parameter is about answering the question: "Where is my traffic coming from?" By adding the parameter &utm_source= to your links, you're tagging every visit that comes from that link in a way that says, "This visit came from X."
You can use the name of the social platform you're sharing the link to (e.g., LinkedIn, Facebook) as the source UTM tag. For example, if you're sharing a link on Facebook, it's tagged with "&utm_source=facebook".
The medium UTM parameter is all about answering the question: "How is my traffic coming to me?" By adding the parameter &utm_medium= to your links, you're tagging every visit that comes from that link in a way that says, "This visit came via Y." A straightforward approach is to always use "social" as your medium.
You can use the campaign UTM parameter to track specific campaigns, such as special promotions, personas, or business objectives. For instance, if you're running a new product launch, you could use "launch-[Product Name]" as your campaign name.
Here are some common UTM medium tags you might consider:
- utm_medium=paid_social
- utm_medium=organic_social
- utm_medium=cpc
- utm_medium=email
By using UTM tracking codes, you can group traffic into broad mediums, such as social, CPC, search, email, referral, etc. This helps you conduct a macro-level traffic pattern analysis and measure traffic over time.
A fresh viewpoint: How Do You Track Traffic on a Website
Measuring Performance
You can analyze metrics like total goal conversions, bounce rate, and average time on-site for each campaign using UTM parameters.
UTM parameters enable you to measure the performance of your marketing campaigns across multiple channels, including social.
To view UTM code performance in Google Analytics, navigate to the 'Acquisition' report, then select 'Traffic acquisition'.
This report showcases user engagement metrics by source, medium, and campaign—the core UTM parameters.
To view each, simply select the details you are after in the drop-down to pick by source, medium, or campaign.
You can also create a custom report under "Customization" > "Custom Reports" to add Medium, Campaign, or Source as a dimension and the metrics you want to view.
In Google Analytics 4, you can select 'Traffic acquisition' to view traffic acquisition metrics by source, medium, and campaign.
UTM parameters impact event data, allowing more granular tracking of user interactions tied to campaigns in Google Analytics 4.
You might enjoy: Google Website Traffic Estimator
By combining UTM parameters with other analytics tools, you can calculate the ROI of your social media marketing.
For example, you can group data by utm_medium and calculate the value from all conversions contributed by organic and paid social.
Here's a breakdown of the metrics you can track:
By tracking these metrics, you can understand how your campaign performed across different platforms and make data-driven decisions to optimize your marketing strategy.
Best Practices and Tips
Before adding UTM codes to your campaign links, keep in mind that it's not the best thing from a UX perspective.
UTM codes can be overwhelming for users, so it's essential to consider their impact on user experience.
It's a good idea to balance the need for tracking data with the need to keep your links clean and easy to read.
Here's an interesting read: How to Track Affiliate Links
8 Tips
Here are 8 tips to help you make the most out of UTM tracking:
UTM links are a must-have for any social media manager or small business owner who wants to track the performance of their digital marketing efforts. Consistency is key when it comes to using UTM parameters.
![Man in White Dress Shirt Analyzing Data Displayed on Screen](https://images.pexels.com/photos/7567554/pexels-photo-7567554.jpeg?auto=compress&cs=tinysrgb&w=1920)
You can use UTM links to track big-picture info, such as how much traffic you're getting from certain social media platforms. This can help you identify which platforms are driving the most traffic to your website.
To accurately analyze your social media marketing efforts, create a template for your tracking parameters and stick to it. This will save you a lot of time and headaches in the future.
Use UTM parameters to track the details of your campaigns, such as revenue generated or the performance of a new call to action. This will help you make data-driven decisions and optimize your marketing strategy.
Here are some common UTM parameter tags to get you started:
UTM tracking helps you determine which of your digital marketing campaigns are successful, enabling you to build on effective campaigns and stop wasting time on ineffective ones.
Experimentation
Experimentation is key to understanding what works best for your audience.
Use UTM parameters to test hypotheses about your content. You can test different types of content, such as product illustrations versus images with real people.
Share identical posts with different content types and track the results using the utm_content tag. One link can be tagged with "illustration" and the other with "photo".
Run several tests before committing to one type of content. At least five posts should be tested to observe consistent results.
You can easily create UTM parameters and track the success of your social efforts using Hootsuite.
Readers also liked: Semrush Content Analyzer
Sources
Featured Images: pexels.com