UTM tags
UTM-метки
These are parameters added to a link so analytics tools can tell which campaign, email, or ad brought visitors to a page, even when all the links lead to the same place.
Also known as: UTM
What UTM tags tell you
Suppose a partner promotes your signup page and you promote it in your newsletter. Both links open the same page. By giving each link a different set of UTM tags, you can separate their traffic in an analytics report. This is especially useful when an app or email client doesn't tell the destination site where the click came from.
How the parameters work
UTM tags are key-value pairs in a URL's query string. Start the query string with ?, or use & if the URL already has query parameters. Put the parameters before any # fragment. The tags don't do the tracking themselves: an analytics setup has to capture them from the landing URL and use them in reporting.
utm_sourcenames the specific sender, publisher, or platform, such aspartner_digest.utm_mediumdescribes the type of traffic, such asemailorcpc.utm_campaignidentifies the initiative being promoted, such asspring_launch.utm_contentdistinguishes links or creatives that otherwise share the same tags.utm_termtypically records a keyword associated with a paid search ad.
Source, medium, and campaign are a practical baseline. Use the other fields when you need that level of detail in a report.
Example: one campaign, two newsletters
https://example.com/signup?utm_source=partner_digest&utm_medium=email&utm_campaign=spring_launch
For your own newsletter, change the source to weekly_newsletter and leave the medium and campaign alone. You can now report on the launch as a whole or break it down by newsletter. If completed signups are tracked as a separate event, you can also compare the share of sessions from each newsletter that included a signup. A higher rate doesn't establish which newsletter caused the difference: the audiences may not be comparable.
Common mistakes
- Inconsistent naming. Values like
Emailandemailcan appear as separate rows. Agree on casing and allowed values before publishing links. - Tagging links within your own site. Campaign tags on a homepage banner can muddy acquisition reporting. Use a click event to measure that banner instead.
- Testing only the original URL. A shortener or redirect can drop parameters. Click the published link and check both the final URL and what the analytics tool actually received.
- Putting personal data in tags. URLs can end up in browser history and logs, so don't put email addresses, phone numbers, or other personal data in tag values.
What comes up in interviews
A common analytics question is why a campaign has recorded visits but few attributed signups. First check whether the signup event was collected. Then check how the report assigns credit: a visitor might first arrive through a tagged email link, return through another channel, and sign up on that later visit. The tag labels the original link; the attribution rules determine which channel gets credit.