Marketing

How to create links with UTM tags for Metrica and Analytics in Yandex.Direct, Ads, Facebook, and any other platform.

How to create links with UTM tags for Metrica and Analytics in Yandex.Direct, Ads, Facebook, and any other platform.

18 marketing courses for 0 ₽Courses for beginners and professionals. Learn something new, find yourself and increase your income.

Learn More

UTM parameters are an important web analytics tool that helps accurately track traffic sources. They not only allow you to obtain detailed information about your visitors but also analyze the effectiveness of your marketing campaigns. Using UTM parameters eliminates guesswork and provides clear data about user behavior on your website. This makes them indispensable for optimizing online marketing and increasing conversions.

What are UTM parameters

UTM parameters are special parameters that allow web analytics to obtain detailed information about traffic sources. These parameters are added to URLs and become visible in the browser's address bar after clicking. UTM tags are widely used in promotional posts, advertisements, guest articles, and email newsletters, as they help online marketers analyze the effectiveness of advertising campaigns and promotional channels in detail. Using UTM tags allows you to optimize marketing strategies, improve your understanding of user behavior and increase ROI.

An example of a link with UTM from the Skillbox Telegram channel (it's all on one line without spaces!)

UTM tags are added to the main link using a question mark ‘?’, and individual tags are separated by an ampersand ‘&’. Proper use of UTM tags allows you to track the effectiveness of advertising campaigns and analyze website traffic. Make sure each tag is configured correctly to obtain accurate data about traffic sources and user behavior.

Data is transferred in the format «parameter=value». For example, it might look like this: parameter1=value1, parameter2=value2. This format allows for easy structuring and interpretation of information, making it convenient for transferring data between different systems and applications. This scheme is widely used in web development, APIs, and other areas where it's important to clearly convey parameters and values. Optimizing text for SEO is an important aspect that helps improve visibility in search engines. When editing content, consider keywords that are relevant to the topic and improve the text structure for ease of reading. It's important that the text is natural and easy to understand for users. Effective use of headings, subheadings, and lists can significantly improve the perception of information. Also, pay attention to meta tags and page descriptions, which also affect search engine rankings. The text itself should be unique, informative, and answer the questions of the target audience. Including internal and external links can increase the credibility of your content. Thus, high-quality text not only satisfies user needs but also helps improve the site's ranking in search results. Correct syntax is critical for the correct transmission of data. Otherwise, errors may occur, and the user will encounter a 404 page. This can negatively impact the user experience and lead to lost traffic. Therefore, it is important to carefully review the code and ensure its compliance with standards.

Please note that analytics are case-sensitive. Therefore, "Google" and "google" will be perceived as different values. It is important to take this into account when analyzing the data to avoid misunderstandings and obtain accurate results. Make sure you enter the data correctly to ensure the correct analysis.

Don't hurt with incorrect tags

What data can be transferred using UTM

You can include up to five parameters in a link. Three of these are required, and two are optional. If any of the required parameters is missing, the remaining parameters will not be taken into account. This is important to consider when forming URLs to ensure correct data transfer and maximum link effectiveness. Correct use of required and optional parameters improves page indexing and visibility in search engines.

The order of the parameters is important for Yandex.Metrica, but does not affect Google Analytics. To ensure correct data analysis, we recommend following the following sequence: source → medium → campaign → content → term (keyword). This will help improve the tracking and analysis of marketing campaigns, and also increase the accuracy of the data obtained.

Examples of static parameters in UTM parameters that you define yourself are provided. Static UTM parameters allow you to track the effectiveness of marketing campaigns by specifying traffic sources, channels, and content. Proper use of static parameters helps you analyze which campaigns generate the most visitors and conversions and optimize your promotion strategy.

It is recommended to adhere to generally accepted standards when using names and values, such as «yandex». While you can create your own notations, for example, replacing «yandex» with «yasha», this can lead to confusion. New employees or contractors may have difficulty understanding such reports. Using standard notations will simplify the workflow and improve the efficiency of communication within the team.

The values ​​in UTM tags can be dynamic, which allows the advertising system to automatically transfer the necessary parameters. Curly brackets are used for this. Each advertising platform has its own rules and data transfer formats, which is important to consider when setting up UTM tags to track the effectiveness of advertising campaigns. Proper use of dynamic UTM tags contributes to more accurate analysis and increases the ROI of your marketing efforts.

An example URL with dynamic UTM tags for Yandex.Direct is an important tool for tracking the effectiveness of advertising campaigns. Using UTM tags allows you to analyze traffic and user behavior on your site. Dynamic UTM tags automatically insert values ​​such as source, medium, and campaign, which simplifies the data collection process. This helps marketers more accurately evaluate the results of advertising efforts and optimize their promotion strategy. Properly setting up UTM tags contributes to a deeper understanding of the audience and an increase in the return on investment in advertising.

Link for transition: http://mysite.ru/?utm_source=yandex&utm_medium=cpc&utm_campaign={campaign_id}&utm_content={ad_id}&utm_term={keyword}.

This URL includes UTM parameters that allow you to track the effectiveness of advertising campaigns in Yandex. The utm_source parameter specifies the traffic source, utm_medium – the advertising type, utm_campaign – a specific advertising campaign, utm_content – ​​the ad ID, and utm_term – keywords. Using these parameters helps analyze user behavior and optimize promotion strategies. Properly formatted links with UTM tags helps increase conversion and improve the results of advertising activities.

How to track statistics in web analytics systems

To analyze traffic sources, we recommend using Yandex.Metrica and Google Analytics reports. These tools provide detailed information about your website visitors, including their behavior, geographic location, and referral sources. Using these analytics systems will help optimize marketing strategies and increase the effectiveness of user acquisition.

To analyze traffic sources in Metrica, go to the "Standard reports" section, then select "Sources" and then "UTM tags". This will give you a complete understanding of how users reach your site and which advertising campaigns are most effective. UTM tags help track traffic sources, which is an important aspect for optimizing marketing strategies and increasing conversions.

To get the “utm_term” value with keywords, you don’t need to click the plus sign multiple times. Simply change the order of groupings and add new ones if necessary. This approach simplifies the process and allows for more efficient data management.

Another approach is to change the list structure from tree to linear. This transition can improve information perception, simplify navigation, and make content more accessible to users. Linear lists provide a clear presentation of data, which promotes better understanding and perception.

For a more visual display of effectiveness, we recommend adding key indicators to the metrics on the right. These can be parameters such as Conversion, Revenue, Gender, Age, and other relevant data. Including these metrics will allow you to analyze your results more deeply and make informed decisions to optimize your strategy.

To analyze traffic sources in Google Analytics, follow this path: select the "Acquisition Sources" section, then go to "All Traffic" and select "Source/Medium". This will allow you to get detailed information about where users come to your site, as well as evaluate the effectiveness of various marketing channels. Understanding traffic sources will help optimize your advertising campaigns and increase conversion.

At the first stage, only the source and medium parameters are displayed. To obtain information about the campaign, term, and content, click the corresponding links: "Campaign," "Keyword," and "Ad Content." This allows for a more detailed analysis of traffic sources and the effectiveness of advertising campaigns.

The second way to analyze traffic is to go to the "Traffic Sources" report, then to the "Campaigns" section, where you should select "All Campaigns." By default, campaign tags will be displayed, and you will need to select them to view other tags.

Google Analytics does not have a separate report on UTM tags. However, for more convenient analysis of traffic sources, you can create a custom report. This will allow you to effectively track and evaluate the effectiveness of marketing campaigns using UTM tag data. Creating such a report will help you better understand which channels bring in the most visitors and conversions.

How to improve your work with UTM using link generators and shorteners

To reduce errors and increase your work speed, it is advisable to use UTM tag generators. These tools automatically create tags, simplifying the process of tracking the effectiveness of advertising campaigns. To improve the appearance of received links, especially in promotional posts on social media and messengers, it is recommended to use link shortening services. This not only makes links neater but also increases their appeal to users.

There are many free and user-friendly generators that make creating content easy. Some of them include built-in link shortening features, making them even more useful. These tools will help you quickly generate text, images, or other elements needed for your project. Choosing the right generator can significantly simplify your work and increase productivity.

  • The yaroshenko.tools generator inserts parameters based on the source (VK, FB, Instagram*, etc.). Can shorten links with UTM using bit.ly.

  • Composer utmurl.ru. Includes only templates for Ads and Yandex.Direct, cannot abbreviate, but does transliteration (it is better not to use Cyrillic, it can lead to errors).
  • UTM generator from ppc-help.ru. The functionality is almost identical to Yaroshenko's tool, and it also allows you to add custom parameters. These may be needed to transfer additional data to third-party analytics systems.
  • Generator from Tilda. There are preset parameters for advertising systems, transliteration, removal of unnecessary characters and the ability to shorten links in four services.
  • Composer from Yagla. Includes all the features of the Tilda tool, as well as error help, a training video, and even technical support.

For Excel and Spreadsheet users, there are specialized templates that make it easier to work with data. These layout tables help structure information and simplify data analysis. You can find various examples of such templates to help you optimize your work with spreadsheets.

If you prefer to use a link generator without a shortening feature or you're not satisfied with the built-in shorteners, that's no problem. You can simply copy the finished link and use any third-party shortening tool. There are many online services that allow you to create short links, ensuring ease of use and conversion tracking. Choosing the right tool will help you optimize the process of working with links.

  • vk.cc;
  • bitly;
  • to.click;
  • rebrandly;
  • lnnk.in or others.
And here is an example of an ugly long link with UTM in an Advertising Post

When These Tags Are Unnecessary and Even Harmful

UTM tags should not be used for internal links on the site, such as banners leading to a blog from the homepage. Using UTM tags in this context can lead to web analytics systems counting such transitions as new visits or sessions. This distorts many metrics, including data on traffic sources and channels. As a result, instead of improving analysis, UTM tags can lead to confusion and misinterpretation of data. Proper use of UTM tags helps more accurately track the effectiveness of external campaigns and traffic sources, which is key to optimizing marketing strategies.

Use UTM tags exclusively for attracting external traffic. It is not recommended to link subdomains using UTM tags. This will help avoid confusion in analytics and improve the accuracy of tracking traffic sources. Proper use of tags facilitates more effective analysis of advertising campaigns and improves their performance.

UTM tags can negatively impact your site if links containing them are indexed by search engines. This distorts analytical data, as search traffic will be incorrectly attributed to a specific advertising campaign. Furthermore, the presence of tagged links can have negative consequences for SEO, as search engines view such links as duplicate content. To avoid these problems, it is important to correctly configure UTM tags and monitor the indexing of pages with them.

This is what a link with UTM looks like in search

There are several effective methods that can help prevent this problem. It is important to take a comprehensive approach to minimize risks. Regular monitoring and analysis of the situation will help identify potential threats at an early stage. It is also recommended to develop clear instructions and action protocols for all participants in the process. Employee training is key to developing a security culture. Equally important is the use of modern technologies and tools for data protection. These measures will help ensure reliable protection and reduce the likelihood of unwanted situations.

The following rule should be specified in the robots.txt file:

You can prohibit the indexing of pages with UTM parameters using the Disallow directive. This helps avoid duplicate content in search engines and improves the site's SEO position. Using this directive instructs search engines not to index URLs containing UTM parameters, which in turn allows you to focus on more important pages for promotion. This approach optimizes the visibility of the site and increases its effectiveness in search engines. It is important to properly configure the robots.txt file to ensure these instructions are followed correctly.

Providing the necessary instructions in the robots.txt file is important for managing the indexing of your site by search engines. This file allows you to specify which pages or sections of your site can be indexed and which should be excluded from indexing. Keep in mind that changes to robots.txt will only apply to Yandex robots, so it is important to formulate rules correctly to avoid unwanted indexing. Optimal use of the robots.txt file will help improve your resource's SEO position and increase its visibility in search engines.

Clean-Param: utm_source, utm_medium, utm_campaign, utm_content, utm_term.

URL cleanup parameters such as utm_source, utm_medium, utm_campaign, utm_content, and utm_term are used to track the effectiveness of marketing campaigns. Each of these parameters plays a vital role in traffic analysis and helps understand where visitors to the site are coming from.

utm_source indicates the traffic source, such as a search engine or social network.

utm_medium describes the type of traffic, such as organic or paid. utm_campaign identifies a specific advertising campaign, and utm_content helps differentiate content within a single campaign. ... A good URL should be short, contain keywords, and be easy to remember. This helps both with SEO and increases link click-through rates.

It is recommended to disallow not only UTM parameters but also other GET parameters in your robots.txt file, such as yclid, from, and openstat for Yandex, and gclid for Google. This will help avoid indexing pages with redundant parameters and improve the indexing quality of your site. Rules in robots.txt may look like this:

Optimizing URL parameters is an important aspect for increasing the visibility of your content in search engines. Parameters such as utm_source, utm_medium, utm_term, utm_content, and utm_campaign help track the effectiveness of marketing campaigns and traffic sources. Removing unnecessary parameters such as yclid, gclid, and _openstat makes the URL cleaner and more understandable for users and search engines. Properly setting and using these parameters will help improve your SEO strategy and increase website conversions. Make sure you optimize your links so they are short and descriptive, which will in turn improve the overall perception of your brand.

Prevent indexing of pages with the utm parameter.

You can prevent indexing of pages with the «clid» parameter by using the following directive in your robots.txt file: Disallow: /*clid=. This will prevent search engines from accessing URLs containing this parameter, which will help avoid duplicate content and keep your site's indexing clean. Properly setting up your robots.txt file is important for SEO optimization, as it allows you to control which pages should be indexed and which should not. By using this directive, you can improve the overall visibility of your site in search engines and ensure more efficient distribution of search engine weight among other pages.

You can prevent indexing of pages with the openstat parameter using the Disallow directive in your robots.txt file. This directive instructs search engines not to index URLs containing the specified parameter, which helps avoid duplicate content and improve your site's SEO. Thus, using the Disallow: /*openstat line will help more effectively manage your site's indexing and improve its position in search results.

You can prohibit access to URLs containing the «from» parameter using the Disallow directive in your robots.txt file. This will help reduce the indexing of pages that may not be valuable to search engines. Using this approach allows you to optimize the indexing process and focus on more important site pages, which in turn can have a positive impact on SEO. Make sure you configure your robots.txt file correctly to avoid unwanted indexing and improve your site's visibility in search engines. UTM tags aren't always necessary, especially if your site receives traffic from only one source, such as Yandex.Direct. In this case, the reports built into Yandex.Metrica provide comprehensive information about your advertising campaigns. You can easily track search phrases, ads, and display conditions without the need for special tagging. This simplifies the analysis of advertising effectiveness and helps to focus on the optimization of advertising strategies.

What you need to remember when creating links with UTM

  • Don't forget the required parameters: source, medium, campaign.
  • Observe the syntax (at the beginning ‘?’, between tags ‘&’, “parameter=value”) and the order of UTM tags (source → medium → campaign → content → term).
  • Try to use generally accepted values ​​(“yandex”, not “yasha”) and take into account case sensitivity (“Google” ≠ “google”).
  • Feel free to use dynamic variables - advertising systems are ready to provide a lot of useful information for web analytics.
  • Make it easier to work with UTM using special tools: generators and shorteners.
  • Do not mark up internal links, including Including when interlinking subdomains.
  • Make sure UTM indexing is disabled on your website.

If you want to gain a deeper understanding of traffic acquisition and analysis, consider the "I am an Internet Marketer PRO" course. This program is ideal for both experienced marketers and business owners, as well as those new to internet marketing. A special advantage for beginners is the guaranteed employment after completing the course. Gain the necessary knowledge and skills to successfully develop your business or career in internet marketing.

Internet Marketer Profession

You will learn how to launch advertising on different platforms and achieve results. Study targeting, context, analytics and advertising strategies. You'll practice your knowledge on real-world tasks, find a job in a new profession, and work on interesting projects.

Find out more