Build a UTM‑tagged link for your ads, email newsletters, social media posts, or affiliate placements. These tags let your analytics platform identify where each visitor came from, which campaign the visit belongs to, and which ad or element they clicked.
Build your UTM link
Page URL
utm_source
utm_medium
utm_campaign
utm_content (optional)
utm_term (optional)
Generate link
(example tool output)
https://example.com/page?utm_source=facebook&utm_medium=social&utm_campaign=summer_launch&utm_content=top_button&utm_term=seo_audit
Parameters are automatically placed in the correct order.
What UTM Parameters Show You
UTM tags are parameters added to a page URL after the ? sign. They don’t change the page content but pass campaign details to your analytics system.
| Parameter | What it indicates | Example value |
|---|---|---|
utm_source | the specific traffic source | facebook, google, partner_website |
utm_medium | the channel type | email, cpc, social, display |
utm_campaign | the overall campaign or marketing activity | summer_launch_2026 |
utm_content | the specific ad, button, banner, or link variant | header_button, blue_banner |
utm_term | keyword, audience segment, or other refinement | seo_audit, retargeting |
The practical minimum for most campaigns is utm_source, utm_medium, and utm_campaign. The utm_content and utm_term parameters are useful when you need to distinguish between ads, placements, audiences, or message variants within a single campaign.
How Source Differs from Medium
One of the most common mistakes is putting the same value in both utm_source and utm_medium.
- Source answers “who sent the traffic?” – e.g.,
facebook,instagram,google,newsletter, or a partner name. - Medium answers “how did the user arrive?” – e.g.,
social,email,cpc,display,affiliate. - Campaign groups together placements that belong to the same promotion, launch, or initiative.
For example, one campaign might run across two channels:
utm_source=facebook&utm_medium=social&utm_campaign=product_launch
utm_source=client_newsletter&utm_medium=email&utm_campaign=product_launch
The utm_campaign value is the same, so you can view results for the campaign as a whole, and also break them down separately by source and medium.
Rules That Keep Your Analytics Clean
- Use consistent case. Values like
facebook,Facebook, andFACEBOOKwill appear as separate rows in reports. The simplest rule is to use all lowercase. - Agree on a channel dictionary in advance. Don’t mix
paid-social,social_ads, andcpc_socialif they mean the same thing. - Pick one delimiter. For example, use underscores only:
summer_sale_2026. Spaces get encoded and make URLs harder to read. - Never put personal data in tags. UTM parameters are visible in the address bar, browser history, server logs, and analytics tools. Avoid email addresses, phone numbers, full names, client IDs, or any sensitive information.
- Don’t rename a campaign after it launches.
august_sale,aug_sale, andsale_augustwill appear as separate campaigns. - Don’t add UTM tags to internal site links. Clicking such a link may override the original session source. For internal banners or blocks, use analytics events or separate internal parameters instead.
How to Tag Different Elements in One Message
The utm_content parameter helps you understand which element generated the click. For instance, an email might contain two links to the same page:
utm_content=top_button
utm_content=text_link
In an ad campaign, you can use this parameter to distinguish creatives:
utm_content=video_15_sec
utm_content=static_banner_1
Use names that will still make sense months later. Values like test1, new2, and banner_final_final quickly lose their meaning.
Working with URLs That Already Have Parameters
If the original URL already contains a ?, append new parameters with &:
https://example.com/catalog?category=shoes&utm_source=facebook&utm_medium=social&utm_campaign=summer
If the address has a fragment after #, place the UTM parameters before it:
https://example.com/page?utm_source=email&utm_medium=email&utm_campaign=guide#prices
A generator helps you avoid mixing up ?, &, and fragment placement. After building, always test that the final link opens the correct page and preserves all parameters after redirects.
Where to Use UTM Links
- Email newsletters – separately for buttons, images, and text links.
- Social media posts and ads (Facebook, Instagram, Twitter, LinkedIn).
- Banners on partner websites.
- QR codes for print materials, events, and offline ads.
- Messaging apps (WhatsApp, Messenger, iMessage).
- Product cards and descriptions on external platforms that allow links.
- A/B tests of ad copy and creatives.
Important: A UTM tag by itself does not measure anything. Your landing page must have an analytics system installed that captures the parameters and ties them to visits, events, and conversions.
Pre‑Launch Checklist
- Open the final link in a new browser window.
- Confirm that the correct page loads and that parameters are not stripped by redirects.
- Make a test visit and verify the data appears in your analytics tool.
- Double‑check source, medium, and campaign names against your internal naming convention.
- Only then paste the link into ads, emails, posts, or QR codes.
Frequently Asked Questions
Are all five UTM parameters required?
No. For most purposes, source, medium, and campaign are sufficient. Add utm_content and utm_term only when you need finer granularity.
Can I use non‑Latin characters or spaces?
Technically yes – the browser will URL‑encode them. However, lowercase Latin letters and underscores are usually easier to read, copy, integrate, and report on consistently.
Do UTM tags affect SEO?
They don’t improve rankings. However, a single piece of content may become accessible via many URLs with different parameters. It’s wise to set a canonical URL on the page and avoid using tagged links for internal navigation.
Why does one platform show up as multiple rows in reports?
Usually due to inconsistent case, typos, or multiple name variants – e.g., facebook, Facebook, and fb. Fixing already collected data is difficult, so agree on naming rules before you launch.
Official documentation:
Google Analytics – URL builders and campaign parameters
Recommendation Always test your final link before going live. Use a single dictionary and lowercase for clean, reliable reports.
