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".

https://example.com/page
  ?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

ParameterRequired?AnswersExample
utm_sourceYesWhich site or platform?newsletter, facebook, partner_blog
utm_mediumYesWhat kind of channel?email, cpc, social, referral
utm_campaignYesWhich campaign?spring_launch, black_friday_2026
utm_contentOptionalWhich specific creative or link?header_cta, blue_button
utm_termOptionalWhich 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.

RuleGoodBad
Always lowercasefacebookFacebook, FaceBook
Underscores, not spacesspring_launchspring launch, spring-launch
Consistent medium valuesemaile-mail, Email, newsletter
Descriptive campaign namesq1_2026_webinarcampaign1, test
No personal dataheader_ctauser_12345
Case sensitivity is the single biggest UTM problem. Google Analytics treats "Facebook", "facebook" and "FaceBook" as three entirely separate sources. A campaign tagged inconsistently across a team appears as several unrelated rows in your report, splitting the numbers and quietly understating every one of them. Agree on all-lowercase before anyone builds a link.

Standard medium values

MediumUse for
emailNewsletters and email campaigns
cpcPaid search advertising
socialOrganic social posts
paid_socialPaid social advertising
referralLinks from partner sites
affiliateAffiliate program links
displayBanner and display advertising
qrQR 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

Putting UTM parameters on links within your own site corrupts your analytics. The analytics tag treats a new campaign source as the start of a new session, so a visitor clicking an internal tagged link is recorded as a fresh session from that source. Their original acquisition channel is lost, sessions are inflated, and conversions are attributed to an internal link rather than to whatever actually brought them in.

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.
Everything runs in your browser. Your content is analyzed entirely on your own device - nothing is uploaded, logged or stored.

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.

Related Calculators