UTM tags: tracking down to the ad and the keyword
UTM tags are parameters at the end of a link that tell analytics where a person came from. Three are mandatory — source, medium and campaign; two more, content and term, take the tracking down to the ad and the keyword. Without naming rules the report turns into a mess of “google”, “Google” and “GAds”, and channels become impossible to compare.
Why links are tagged
Advertising runs in five places, leads land in one CRM, and nobody can answer which channel brought a particular deal. A familiar story. UTM tags solve exactly that: every link carries a passport — where the person came from, from which campaign and from which ad.

The rule is simple: if a link can bring someone to the site, it has to be tagged. Otherwise the traffic lands in the report as “direct” and you pay for a channel you cannot see.
Here is why, in numbers. A budget of $2,000 is split between search, display, classifieds and maps. Over a month 96 inquiries arrive. Without tagging the report reads: «96 inquiries at $20.83 each». You cannot make a decision from that — you can only raise or cut the whole budget, blindly.
With tagging the same month looks different: targeted search produced 31 inquiries at $27.10, broad search 28 at $16.43, display 24 at $15.83, maps and classifieds 13 at $24.62. Those inquiries then reach the CRM, and it turns out the «cheap» broad search produced not a single deal, while the most expensive inquiries from maps converted best. The budget needs to move — and now you know where to.
The entire difference between the two reports is five parameters appended to a link. It is the cheapest investment in analytics there is: an hour of work once, and years of correct data.
What has to be tagged
- All paid advertising — search, display, social targeting, promoted posts, influencer links.
- Emails and messengers — newsletters, Telegram messages, links from a chatbot.
- Organic posts — social media posts, guest articles, comments.
- Aggregator and map listings — classifieds, property portals, business directories.
- Offline — QR codes on billboards, in brochures, on business cards, in lifts.
- Partner links — from agents, adjacent businesses, roundups.
The only thing you never tag is your own internal site links — more on that below; it is a separate and fairly expensive mistake.
Anatomy of a tag
utm_source — where the person came from
The name of the platform: google, meta, tiktok, linkedin, 2gis, telegram. Required. This is the platform, not the ad type: a common mistake is to put utm_source=cpc and lose the ability to tell search ads from social ads.
utm_medium — the type of traffic
How exactly they arrived: cpc — a paid click, cpm — display bought on impressions, organic — unpaid search, email — a newsletter, social — a social post, referral — a link from another site, qr — a code scanned from an offline surface. Required. It exists to separate paid from free inside one platform: google/cpc and google/organic are entirely different lines in a report.
utm_campaign — the campaign name
Required, and the most important one for reporting: this is what you compare directions by. The name has to read without decoding: search-brand, search-two-bed, display-retarget, avito-parus. If campaigns in the ad account are called «Campaign 4 copy», write a meaningful name into the tag by hand — you are the one reading the report, not the ad account.
utm_content — what exactly was clicked
Optional but very useful. It holds the identifier of an ad, a banner, a block or a link: ad-3, banner-300x250, header-button. It answers the question of which creative brings inquiries and which only brings clicks.
utm_term — the keyword
Originally designed for search keywords and filled automatically through the {keyword} placeholder. In social and display advertising it makes sense to put the audience segment there instead: lookalike-leads, interest-newbuilds. That keeps the parameter meaningful across every channel.
The order of parameters does not matter — analytics reads them by name. What matters is that the first parameter is separated from the address by ? and every following one by &. One extra question mark in the middle breaks the whole thing.
Naming rules
Ninety percent of tagging problems are not technical but a lack of agreement. One page of rules, written down once, is enough.

| Rule | Bad | Good |
|---|---|---|
| Lowercase Latin only | Google, GAds | |
| Hyphen instead of a space | search brand | search-brand |
| One dictionary of platforms | g, google.com, gads | |
| Traffic type from a short list | ads, paid-stuff | cpc, cpm, social, email |
| Campaign name as in the account | campaign1 | display-retarget-30d |
The rules are not about aesthetics. Analytics is case-sensitive: Google and google are two different platforms to it, and the report gets two rows instead of one. Non-Latin characters turn into percent sequences like %D1%8F, which makes the report unreadable. A space breaks the link in messengers: part of the address falls off and the person lands on a 404.
| Do not write | What happens | Write instead |
|---|---|---|
utm_source=Яндекс | An unreadable row in the report | utm_source=google |
utm_campaign=search brand | The link breaks at the space | utm_campaign=search-brand |
utm_source=Google and google | Two rows instead of one | Always lower case |
utm_medium=ads | Paid cannot be split from organic | utm_medium=cpc |
utm_campaign=campaign_4_copy | In a month nobody remembers what it was | utm_campaign=search-two-bed |
utm_campaign=ZHK_Parus_2026 | Mixed case, language and underscores | utm_campaign=zhk-parus-2026 |
A word on separators. Inside a value, separate words with a hyphen: search-brand-two-bed. An underscore works too, but a hyphen reads more easily and does not blur into the underscores in the parameter names themselves. The main thing is to pick one and keep it across every channel: a mix of search_brand and search-brand gives you the same two rows in the report.
It is convenient to keep the rules in one table: a «parameter» column, an «allowed values» column and an «example» column. It takes an hour to fill in, lasts for years and spares you the most expensive conversation in analytics — «why do we have four Googles in this report».
How to create a UTM tag, step by step
- Take the clean page address. No stray parameters, and no trailing slash if the canonical version does not have one.
- Add a question mark and the first parameter:
?utm_source=google. - Append the rest with
&in any order: medium, campaign, then content and term if needed. - Check the values against your naming rules: Latin characters, lower case, hyphens instead of spaces.
- Open the link in a browser and make sure the page loads rather than returning a 404 or a redirect that strips the parameters.
- Record the link in a shared table — otherwise in a month nobody will remember what
camp-7meant.
URL builders save time but do not replace the rules: they will assemble whatever you give them, typos and non-Latin characters included. That is why a table of rules matters more than any generator.
Ready-made examples for eight channels
| Channel | Tagging |
|---|---|
| Search ads | utm_source=google&utm_medium=cpc&utm_campaign=search-two-bed&utm_content={ad_id}&utm_term={keyword} |
| Display network | utm_source=google&utm_medium=cpm&utm_campaign=display-interest&utm_content={gbid} |
| Retargeting | utm_source=google&utm_medium=cpc&utm_campaign=retarget-form-abandon |
| Social ads | utm_source=vk&utm_medium=cpc&utm_campaign=vk-parus&utm_content=video-1 |
| Telegram channel | utm_source=telegram&utm_medium=social&utm_campaign=post-15-09 |
| Classifieds | utm_source=avito&utm_medium=referral&utm_campaign=avito-catalog |
utm_source=sendsay&utm_medium=email&utm_campaign=newsletter-october&utm_content=top-button | |
| QR code on a billboard | utm_source=billboard&utm_medium=qr&utm_campaign=billboard-lenina-12 |
Eight rows cover almost the whole channel set of a regional business. Copy them into a table, swap the campaign names for your own — and the tagging is done.
How deep to go
The depth rule is simple: tag down to the level at which you are prepared to make a decision. If you will never switch off an individual ad, you do not need utm_content — it will only clutter the report. If you will, you cannot do without it.
| Level | Parameter | Decision it enables | Who needs it |
|---|---|---|---|
| Platform | source | Reallocate budget between channels | Everyone |
| Traffic type | medium | Separate paid from free | Everyone |
| Campaign | campaign | Switch off a loss-making direction | Everyone |
| Ad or banner | content | Replace a weak creative | From ~$1,000 budgets |
| Keyword | term | Add negatives, raise bids on what works | Wherever search is used |
In practice almost everyone needs all five: the first three are written by hand once, the last two are filled automatically and cost nothing. The only reason to skip them is when the data is so thin that a keyword-level breakdown consists of single events and any decision from it is statistically meaningless.
Placeholders in the ad platform
Nobody tags links by hand. Ad platforms substitute the values automatically — you set the template once in the campaign settings.
?utm_source=google&utm_medium=cpc&utm_campaign={campaign_name}&utm_content={ad_id}&utm_term={keyword}
- {campaign_name} — the campaign name as it is in the account. Which is why campaign names should be in Latin too.
- {ad_id} — the ad number. More reliable than a human-readable name: it does not change when the copy is edited.
- {keyword} — the phrase the ad was shown for.
- {device_type} and {region_name} — added to content when mobile users or regions have to be told apart.
A placeholder is a template in curly braces that the platform replaces with a real value at the moment of the click. The tagging is written once for the whole campaign.
| Placeholder | What it becomes | Where to put it |
|---|---|---|
{keyword} | The keyword the ad was shown for | utm_term |
{ad_id} | The ad identifier | utm_content |
{campaign_name} | The campaign name from the account | utm_campaign |
{gbid} | The ad group identifier | utm_content |
{source} | The placement in the display network | utm_content or a custom parameter |
{device_type} | desktop, mobile or tablet | A custom parameter |
{region_name} | The region of the impression | A custom parameter |
Two notes from practice. First, {campaign_name} inserts the account name exactly as it is, spaces and non-Latin characters included. If campaigns are called «Parus — search», the report fills with noise, so either rename the campaigns to follow the rules or write the name into the tag by hand. Second, placeholders like {device_type} and {region_name} are better placed in custom parameters — &dev={device_type}, for instance — so they do not occupy utm_content, which you need for the ad.
Other platforms call placeholders something else but work the same way: social platforms use {{campaign_id}} and {{ad_id}}, some ad systems set tagging directly in the link. The logic is identical: you write the channel and campaign by hand, and the platform fills in whatever changes from click to click.
Getting the tags through to the CRM
This is the step where tagging most often stops. Everything is visible on the website while the source field in the deal is empty — and the whole point is lost, because money cannot be tied to a channel.

It works like this. On the first visit a script reads the tags from the address and stores them in a cookie or in localStorage for 30–90 days. When the person submits a form, the values are placed into hidden fields and travel to the CRM along with the name and phone number. For calls, call tracking does the same job: it swaps the number on the page and ties the call to the visit, and therefore to the tags.
| Type of inquiry | How the source travels | What to set up |
|---|---|---|
| Website form | Hidden fields | A tag-storing script plus CRM fields |
| Phone call | Call tracking | A number pool, CRM integration |
| Messenger from the site | A tag in the first message or in the link | A widget that supports parameters |
| Direct call to a number in an ad | A separate number per channel | One number — one campaign |
| Inquiry from an aggregator | An export or a platform integration | A separate pipeline or a CRM tag |
Required CRM fields: source, campaign, keyword. Three text fields that are filled automatically and never by hand. If a salesperson can change them, the data will be corrupted within the first month.
Those fields are what the report is built on: cost per inquiry and cost per deal for every channel. That, in the end, is what all the tagging was for.
Verification and common mistakes
- Tags in the middle of the link. Parameters go after the question mark and nowhere else. The anchor goes last.
- Mixed case. “Google” and “google” are two different rows in the report. Always lowercase.
- Tags on internal links. A tagged link in the site menu wipes the original source of the visit.
- No tagging offline. QR codes on a billboard or a brochure must lead to a tagged address as well.
- Tags never reach the CRM. The most expensive mistake: everything is visible on the site and the source field in the deal is empty.
Where to look at the result
In web analytics the tagging lives in the UTM report, broken down by level: source, then medium, then campaign, content and term. It is worth configuring once: add a column with goals (inquiries) and save it as a favorite so you do not rebuild it every time. This is the report that answers which campaign brings inquiries and which only brings visits.
The second report you need is the traffic summary grouped by campaign. It shows the share of direct visits: if that is above 20–25%, some channels are probably untagged and their traffic is being counted as «came on their own».
How to verify tagging in ten minutes
Open one link from each channel in a private window and check the address bar after the page loads: the parameters should still be there. Then submit a test inquiry and confirm that the source fields in the CRM contain values rather than blanks. Those two checks catch nine out of ten tagging problems — and they are almost never done.
Once a month it pays to scroll through the UTM report looking for duplicates: google next to Google, cpc next to CPC, empty campaign values. Every such row is a trace of someone assembling a link outside the rules, and the sooner it is caught the less data is spoiled.
Tagging checklist
- Naming rules are written into a separate table everyone who launches ads can access.
- Values are Latin characters only, lower case, no spaces.
- The three required parameters are present in every link: source, medium, campaign.
- On search, content and term are filled via placeholders.
- Internal site links are not tagged.
- QR codes and offline surfaces point to tagged addresses.
- Pages carry
rel=canonicalwithout parameters. - Tags are stored on the first visit and inserted into the form.
- Calls go through call tracking.
- The CRM has three automatic fields: source, campaign, keyword.
- Once a month the report is checked for junk values like
Googleorgoogle cpc.
Tagging is the part of analytics you set up once and use for years. An hour spent on rules now saves months of guesswork later.
Numbers from our projects
Cost per lead for an agency after source tagging and cutting off off-target queries
Parameters are enough to see the path down to a specific ad
Is all it takes to agree the naming rules and close the question for a year
Short answers
Do I need UTM tags if the platform tags links automatically?
Automatic tagging gives data inside one system but does not help when leads are collected in a CRM together with classifieds, maps, email and seeding. UTM is a shared language for every channel, so everything gets tagged even if the platform can do it on its own.
Can values be abbreviated?
They can and should be, but under consistent rules: Latin characters, lower case, words joined by hyphens, no spaces. «google-search-brand» reads in a report without decoding, while mixed case and spaces break links in messengers. Write the abbreviations into a shared table — in a month nobody will remember what «camp-7» stood for.
What goes into utm_term?
The keyword the ad was shown for; platforms substitute it automatically. For display and audience campaigns put the audience segment there instead so the report keeps its meaning.
Why do tags not reach the CRM?
Usually because nobody stores them. Tags live only in the address of the first page: if they are not inserted into hidden fields on submission and calls do not go through call tracking, the source is lost. You need a tag-storing script and three automatic CRM fields.
Which UTM parameters are required?
Three: utm_source (the platform), utm_medium (the traffic type) and utm_campaign (the campaign name). Without them an inquiry cannot be attributed to a channel or a direction. utm_content and utm_term are optional, but they are what shows which ad and which keyword produced the lead.
How do I create a UTM tag correctly?
Take the clean page address, add a question mark and the first parameter, then append the rest with ampersands. Values in Latin characters, lower case, words joined by hyphens. Then open the link in a browser and confirm the page responds and no redirect strips the parameters.
Can I put UTM tags on internal site links?
No. Following an internal link with tags starts a new session and wipes the original source: someone who arrived from an ad turns into a site referral. Use plain links for internal navigation and analytics events to track clicks.
Do UTM tags affect SEO?
They do not, as long as pages have rel=canonical without parameters: search engines merge the tagged and untagged addresses into one page. Problems appear only where canonical is missing or itself contains parameters — then duplicates get indexed.
How deep should tagging go?
Down to the level at which you are prepared to act. Source, medium and campaign are always needed. Content is worth adding once budgets reach a point where you would actually switch off a weak creative, and term wherever search keywords exist. Tagging deeper than your decisions only clutters the report.
What should I do about tags on offline materials?
Give every offline surface its own QR code pointing at a tagged address: a billboard, a brochure, a business card and a lift poster each get a separate campaign value. That is the only way an offline channel appears in the same report as the paid ones instead of hiding inside direct traffic.
The next step
Services on this topic
Start with a baseline review
We review your current ads, website, CRM and the path from lead to money. The deliverable is a document: where money is lost and which stage to start from. We reply within one business day.