What Are UTM Parameters? A Beginner's Guide
By Urlzee Team · Published · 6 min read
UTM parameters are short tags added to the end of a URL that tell your analytics tool where a visitor came from. The five standard tags are utm_source, utm_medium, utm_campaign, utm_term and utm_content. They don't change the page; they label the visit so you can compare campaigns and channels.
What does a UTM link look like?
A UTM link is a normal web address followed by a question mark and a list of name=value pairs joined by ampersands.
https://example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
Reading it piece by piece:
https://example.com/spring-saleis the page.?marks the start of the query string.utm_source=newslettersays the visit came from your newsletter.utm_medium=emailsays the channel was email.utm_campaign=spring_salesays which promotion the link belongs to.
Remove everything from the ? onwards and the link opens the same page. The difference is in what your reports can tell you afterwards.
What are the five UTM parameters?
Three describe where the visit came from, and two add optional detail.
| Parameter | Answers | Example values |
|---|---|---|
utm_source | Who sent the visitor? | newsletter, facebook, google, partner_site |
utm_medium | What kind of channel was it? | email, social, cpc, referral, qr |
utm_campaign | Which promotion or initiative? | spring_sale, product_launch, weekly_digest |
utm_term | Which paid keyword? | running_shoes |
utm_content | Which specific link or creative? | header_button, footer_link, video_ad |
Source is the only one that is strictly needed for a tagged visit to register, but source, medium and campaign together are the practical minimum, because most reports are built around those three. The distinctions between them are covered in utm_source vs utm_medium vs utm_campaign.
Google Analytics 4 also recognises utm_id, a campaign identifier used mainly when importing advertising cost data. Beginners can ignore it.
How do UTM parameters work?
They work because the analytics script on your website reads the address of the page it loads on.
- You share a tagged link.
- Someone clicks it. Their browser requests the full address, tags included.
- Your page loads, and with it your analytics script.
- The script sees the
utm_values in the address and records them against that visit. - In your reports, the visit appears under the source, medium and campaign you set.
Two points follow from this. First, UTM tags only help on sites where you have analytics installed. Tagging a link to someone else's website tells you nothing, because their analytics collects the data, not yours. Second, the tags describe how a visit started. They do not track a person around the internet.
Without tags, analytics tools guess the source from the referrer, the address of the page the visitor came from. That guess is often missing or vague. Clicks from email apps, messaging apps, documents and QR codes typically arrive with no referrer at all and get lumped together as "direct" traffic. UTM tags replace the guess with a label you chose.
When should you use UTM parameters?
Use them on links you place outside your own website that lead back to it.
- Email: newsletters, automated sequences, email signatures.
- Social media: posts, profile links, stories.
- Paid adverts: on platforms that don't tag links for you automatically.
- Partners and affiliates: guest posts, directory listings, sponsored placements.
- Offline material: QR codes and short links on print, packaging and signage.
- Messaging: links shared in WhatsApp, SMS or chat groups.
For Google Ads, you normally don't need manual tags, because its auto-tagging feature passes campaign details to Google Analytics by itself.
When should you not use UTM parameters?
Never put them on links between pages of your own site.
A UTM tag tells analytics that a new visit has begun from a new source. If your homepage banner links to /pricing?utm_source=homepage, a visitor who originally arrived from an email is suddenly re-labelled as coming from "homepage". The real origin is overwritten and your campaign reports lose credit for whatever happens next. To measure clicks on internal banners and buttons, use your analytics tool's event tracking.
Also avoid tagging links you expect search engines to index as the main version of a page, and don't tag links to sites you don't own.
How do you create a UTM link?
You can type the tags by hand, but a builder avoids syntax mistakes.
- Open the UTM builder.
- Paste the address of the landing page into the website URL field.
- Enter the campaign source, such as
newsletter. - Enter the medium, such as
email, and a campaign name, such asspring_sale. - Optionally fill in term and content.
- Copy the finished URL, or press "Shorten this URL" to get a short link that redirects to it.
By default the builder lowercases your values and replaces spaces with underscores. That matters more than it sounds, as the next section explains.
If you write tags by hand, remember the punctuation: the first parameter follows a ?, and each later one follows an &. If the address already contains a ?, add your tags with &. If it contains a # section, the tags must come before the #.
What rules keep UTM data clean?
Consistency. Analytics tools treat values as exact text, so small differences create separate rows in reports.
- Stick to lowercase.
Email,emailandEMAILare three different mediums as far as GA4 is concerned. - Don't use spaces. Use underscores or hyphens. A space becomes
%20in a URL and makes values hard to read. - Reuse the same names. Decide whether the source is
facebookorfband never mix them. - Keep values short and descriptive.
spring_saleis better thancampaign1. - Never include personal data. No email addresses, names or customer IDs. The address is visible, shareable and stored in analytics.
A shared list of approved values prevents most problems. UTM naming conventions shows how to set one up.
Should you shorten a UTM link?
Usually, yes. A tagged address is long, looks cluttered, and shows your internal campaign naming to everyone who sees it.
When you shorten a tagged URL with the URL shortener, the short link redirects to the complete address, so the tags still reach your analytics. Visitors and recipients see only the short link. This is especially useful in text messages, on printed material, in social posts and in QR codes, where a shorter address also produces a simpler, easier-to-scan pattern.
A short link also gives you a second measurement. Urlzee counts clicks at the redirect, while your analytics counts sessions on the site. The two numbers rarely match exactly, because they count different events, but together they show both how many people clicked and what they did next.
Where do you see the results?
In your analytics tool's acquisition or campaign reports. In Google Analytics 4, tagged visits show up in the Traffic acquisition report, where you can view sessions by source, medium or campaign. The steps are in UTM parameters in GA4.
Google documents the parameters it supports in its help article on collecting campaign data with custom URLs.
A worked example
Suppose you run a small online shop and announce a spring sale in three places. You create three links to the same page:
https://example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
https://example.com/spring-sale?utm_source=instagram&utm_medium=social&utm_campaign=spring_sale
https://example.com/spring-sale?utm_source=flyer&utm_medium=qr&utm_campaign=spring_sale
A week later, your campaign report shows spring_sale with three rows beneath it. You can see how many visits each one sent and which led to orders. Without the tags, the email and flyer visits would mostly have appeared as "direct", and you would be guessing.
Frequently asked questions
- What does UTM stand for?
- UTM stands for Urchin Tracking Module. Urchin was a web analytics product that Google acquired in 2005 and built into Google Analytics, and the parameter names have been kept ever since.
- Are UTM parameters only for Google Analytics?
- No. Most analytics and marketing tools read the same utm_ tags, so one tagged link usually works across several platforms.
- Do UTM parameters change the page a visitor sees?
- No. The page loads exactly as it would without them. The tags are extra information in the address that analytics software reads.
- Can visitors see UTM parameters?
- Yes. They appear in the browser's address bar, and anyone who copies the link passes them on. Never put private or personal information in a UTM value.