Setting up UTM tags and linking them to an analytics system (Yandex.Metrica)

There are many different ways to promote a company online: some prefer to manage social media accounts, others launch large-scale advertising campaigns, and still others use bloggers to share announcements about upcoming releases or events. Every company faces the challenge of choosing effective marketing channels, and understanding traffic sources is essential in this process.
UTM parameters come to the rescue—these are sets of parameters that help you determine “where did the user hear about you?” With these parameters, you can determine how many customers came to you from a social media post and how many from a search ad

Users are used to seeing the website at https://site.ru, but we’re interested in the “tail” of that URL. The “/?” is followed by a UTM tag, which contains a series of parameters and their values, separated by the “&” symbol. Let’s take a look at the main parameters of these tags.
Ad Traffic Source
It answers the question “Where did you come from?” and indicates the channel through which a customer reached you: email, social media, an advertising platform, and so on.
This parameter allows you to reallocate resources to more effective marketing channels when necessary.
Example: utm_source=yandex_search — the customer came from a Yandex search.
Ad Traffic Type
This is a key metric for evaluating the effectiveness of different types of ad placements.
The utm_medium parameter allows you to segment traffic in analytics systems not only by source but also by ad format within a single source.
For example, you can use it to determine that contextual ads generated more leads than targeted ads, even when both channels are part of the same ad network (meaning the traffic data will be more detailed than if only the utm_source parameter had been filled in).
Example: utm_medium=cpc — the customer came to your site from an ad
Ad Campaign Name
This parameter identifies a specific advertising campaign within a single traffic source and traffic type. In the analytics system, the utm_campaign tag allows you to distinguish between and compare the effectiveness of different promotions, seasonal offers, or ad groups. For example, you can compare the effectiveness of the “Winter_Discount_2026” campaign and the “New_Year_Sale_2026” campaign even if they run through the same channel and traffic type.
Example: utm_campaign=zimnaya_skidka_2026 — the customer came from the “Winter Discount 2026” campaign.
In addition to these parameters, there are others that allow you to collect more detailed statistics:
| Parameter | Utm | Подробнее |
| 1. Ad ID | utm_content | Additional information that significantly “narrows down the search.” This parameter allows you to distinguish between tags when all other values match. For example, you can assign one utm_content value to a link in the website header and a different one to the same URL in the footer. Example: utm_content=article2 |
| 2.Keyword | utm_term | Typically, the dynamic parameter “keyword” is used here—the keyword based on which the ad is displayed. This tag allows you to distinguish between different Yandex Direct campaigns. Example: utm_term=zakazat_contextnuyu_reklamu |
Why are UTM tags needed? As a rule, website traffic isn't limited to search engine ads alone. The advantage of UTM parameters is that with these tags, you can:
- Identify the source down to the finest detail, including whether a customer came from Yandex contextual ads, a blogger’s post, or an email newsletter.
- Understand exactly what worked: within a single source, you can track different promotional posts to determine which one attracted the most customers.
- Link advertising costs to actual sales and calculate the return on investment (ROI) for each specific ad.
To analyze traffic statistics, you need to connect an analytics system to the landing page you’re interested in. For example, the Yandex.Metrica analytics system allows you to generate a report based on UTM parameters. You can also apply a filter or group them by segments when selecting data.
This metric allows you to:
- get a detailed report on individual campaigns and ads;
- Identify key metrics: page depth, bounce rate, number of visits and visitors, time on site, and others.
Setting up UTM tags is an important tool for analyzing the effectiveness of advertising campaigns. By setting them up, you’ll get:
- Transparent reporting that not only allows you to evaluate the effectiveness of each individual ad but also significantly improves your marketing strategy by focusing on the most profitable channels;
- The ability to effectively optimize the advertising budget and increase return on investment, since advertising spending can be reallocated to the campaigns that are performing best;
- Understanding and tracking the customer journey from the first click all the way to the purchase, thereby measuring actual conversions.
Failure to set up UTM tags can lead to serious problems in managing advertising campaigns. Without a clear understanding of which traffic sources are performing well, it is difficult to make informed decisions about budget allocation. The inability to determine the effectiveness of various campaigns, in turn, jeopardizes ROI calculations, which can lead to insufficient investment in successful channels and, consequently, to lost revenue. As a result, companies risk not only missing out on growth opportunities but also facing challenges in financial planning and management, which can negatively impact their competitiveness in the market.
Let’s summarize. UTM tags and their proper integration with analytics systems—in particular, Yandex.Metrica—transform scattered click data into a transparent and manageable picture of ad effectiveness. Without these metrics, you’ll never know for sure which channel—search, social media, bloggers, or email newsletters—brings in real customers, and which one is wasting resources.
Other blog posts
We are here and ready to help