How to Add UTM Tags to a Link (and Keep Them Tidy)
Updated November 2026
Written by the Toolpuffin team. Tools in this guide are tested in the browser.
UTM tags are extra bits at the end of a link that tell your analytics program where a visit came from. With them you can tell apart a click from your newsletter and a click from a Facebook post, even though both go to the same page. This guide explains which tags to use and how to keep them consistent.
What a tagged link looks like
A tagged link is your normal web address followed by a question mark and the tags, for example https://example.com/page?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale. The page is the same. The tags are only read by your analytics program.
The tags and what to put in them
| Tag | What it holds | Example |
|---|---|---|
| utm_source | Where the visitor comes from | newsletter |
| utm_medium | The kind of channel | |
| utm_campaign | Your name for the campaign | spring_sale |
| utm_term | The paid keyword (optional) | running shoes |
| utm_content | Tells two links in one campaign apart (optional) | top_button |
Google says to always use source, medium and campaign. If a tag is missing, your reports can show it as (not set).
Keep the names consistent
The values are case sensitive. Google gives the example that utm_source=google and utm_source=Google count as different sources, and that SpringSale and Spring_Sale are different campaigns. Its advice is to pick a naming convention and use lower case.
- Use lower case everywhere.
- Use an underscore or a hyphen instead of spaces, and keep to the same one.
- Write down your names for sources and mediums, so everyone uses the same ones.
- Use one name per campaign.
Where not to use them
Use UTM tags on links you share outside your own site: emails, social posts, ads, and your profile links. It is commonly advised not to put them on links between your own pages, because they can replace the information about where the visit really came from.
Build your link
Enter your address, fill in the source, medium and campaign, and copy the finished link. The tool keeps any parameters and #section that your link already has.