UTM Link Builder
Tag URLs with UTM parameters for accurate campaign tracking in Google Analytics.
What UTM parameters do
UTM parameters are tags appended to a URL that tell your analytics platform where a visitor came from. Without them, traffic from an email newsletter, a paid social post and an organic social post can all end up lumped together - or worse, filed as "direct".
?utm_source=newsletter
&utm_medium=email
&utm_campaign=spring_launch
They are read by the analytics tag on your page and used to attribute the session. The tags themselves do nothing to the destination page.
Key takeaways
- Source, medium and campaign are the three essential parameters.
- Values are case-sensitive: Facebook and facebook become two separate sources.
- Use lowercase and underscores consistently, always.
- Never use UTM tags on internal links - they restart the session and destroy attribution.
- Document your conventions somewhere the whole team can see them.
The five parameters
| Parameter | Required? | Answers | Example |
|---|---|---|---|
| utm_source | Yes | Which site or platform? | newsletter, facebook, partner_blog |
| utm_medium | Yes | What kind of channel? | email, cpc, social, referral |
| utm_campaign | Yes | Which campaign? | spring_launch, black_friday_2026 |
| utm_content | Optional | Which specific creative or link? | header_cta, blue_button |
| utm_term | Optional | Which paid keyword? | sip_calculator |
utm_content is particularly useful for A/B testing two links in the same email, since it lets you distinguish which one was clicked.
Naming conventions
This is where UTM tracking succeeds or fails, and the failure mode is always the same: inconsistency fragments your reports until they are useless.
| Rule | Good | Bad |
|---|---|---|
| Always lowercase | Facebook, FaceBook | |
| Underscores, not spaces | spring_launch | spring launch, spring-launch |
| Consistent medium values | e-mail, Email, newsletter | |
| Descriptive campaign names | q1_2026_webinar | campaign1, test |
| No personal data | header_cta | user_12345 |
Standard medium values
| Medium | Use for |
|---|---|
| Newsletters and email campaigns | |
| cpc | Paid search advertising |
| social | Organic social posts |
| paid_social | Paid social advertising |
| referral | Links from partner sites |
| affiliate | Affiliate program links |
| display | Banner and display advertising |
| qr | QR codes in print or physical placements |
Sticking to a small fixed vocabulary for medium is what keeps channel reporting coherent. Source can vary freely; medium should not.
Never tag internal links
For tracking internal navigation, use event tracking rather than campaign parameters. UTM tags are strictly for inbound traffic from outside your site.
Practical notes
- Tagged URLs are ugly. Use a link shortener for social bios and print, where the raw URL would be unwieldy.
- UTM parameters are visible to anyone who looks at the address bar, so never put anything sensitive in them.
- They can create duplicate URLs for search engines. Canonical tags on your pages handle this.
- Keep a shared spreadsheet of every tagged link your team creates.
- Test before sending. Click the link yourself and confirm the session appears correctly in real-time reporting.
- Beware of platform auto-tagging. Google Ads adds its own gclid parameter; adding UTM tags on top can conflict depending on your settings.
Frequently Asked Questions
What are UTM parameters?
Tags appended to a URL that tell your analytics platform where a visitor came from. The three essential ones are utm_source, utm_medium and utm_campaign, with utm_content and utm_term available for finer detail.
Which UTM parameters are required?
Source, medium and campaign in practice. Analytics platforms will record a link with only some of them, but incomplete tagging produces reports that are hard to interpret, so treat all three as mandatory.
Are UTM parameters case-sensitive?
Yes, and this causes more problems than anything else. Google Analytics treats Facebook, facebook and FaceBook as three separate sources, splitting one campaign across several report rows. Agree on all-lowercase before anyone builds a link.
Should I use UTM tags on internal links?
No, never. The analytics tag treats a new campaign source as a new session, so an internal tagged link starts a fresh session and discards the visitor's original acquisition channel. Use event tracking for internal navigation instead.
What is the difference between source and medium?
Source is the specific place the traffic came from - facebook, newsletter, a partner site. Medium is the type of channel - social, email, cpc, referral. Source varies freely; medium should stick to a small fixed vocabulary so channel reporting stays coherent.
Do UTM parameters affect SEO?
Only indirectly. They create additional URL variants that search engines may see as duplicates, which a canonical tag on your pages resolves. They have no direct ranking effect, and tagged links are normally shared rather than crawled.
Can I shorten a UTM-tagged URL?
Yes, and it is usually a good idea for social bios, print materials and anywhere the raw URL would look unwieldy. The parameters still work, because the shortener redirects to the full tagged URL.
What is utm_content for?
Distinguishing between multiple links pointing to the same destination from the same campaign. It is particularly useful for A/B testing - tagging a header link and a footer link differently shows which placement actually drove the clicks.