Operations
UTM Link Generator
Tag a link with utm_source, utm_medium and utm_campaign so you can see which campaigns bring visitors. Runs in your browser.
Your tagged link
Updates as you typeType the tags into the link
Paste the link you want to tag, then fill in a source, medium and campaign name.
What this does
UTM parameters are small tags added to the end of a link so your analytics can tell which campaign, channel or ad sent each visitor. Without them, a lot of traffic lands in 'direct' or 'referral' and you can't tell what worked.
Enter your link and the tags. The generator adds them correctly encoded, keeps any parameters and #section already in the link, and lets you save presets so every link in a campaign uses identical names.
The formula
- utm_source
- Where the traffic comes from: google, newsletter, linkedin.
- utm_medium
- The kind of channel: cpc, email, social, banner.
- utm_campaign
- The campaign, product or promotion: spring_sale.
- utm_term
- Optional. The paid search keyword.
- utm_content
- Optional. Tells apart ads or links within one campaign, such as header_button versus footer_link.
Assumptions
- Only http and https links are accepted. Links with a username or password are refused.
- Values are trimmed and percent-encoded, so a space becomes %20 and & or # can't break the link.
- Existing utm_source, medium, campaign, term and content in the pasted link are replaced by what you enter; blank fields are left out.
- Google Analytics treats tag values as case-sensitive, so capitals and spaces produce a warning and a lowercase suggestion. Nothing is changed for you.
Worked example
You send a spring sale email and want to know how many visitors it brings to your pricing page.
- 01Link: https://example.com/pricing
- 02utm_source = newsletter, utm_medium = email, utm_campaign = spring_sale
- 03The generator appends the three tags in order
The link becomes the pricing page address followed by ?utm_source=newsletter, then &utm_medium=email and &utm_campaign=spring_sale. Every visit from that email is now labelled in your analytics.
How to read the result
Choose a naming convention once and keep to it: lowercase, underscores instead of spaces, the same medium names every time. Analytics reports split 'Email', 'email' and 'e-mail' into three rows.
Use the campaign for the initiative and the content tag for variants, so you can compare two buttons or ads within one campaign.
Common mistakes
- Tagging links to your own site from your own pages. It overwrites the visitor's true source and breaks attribution. Use UTM tags only on links from outside, such as email, ads and social posts.
- Inconsistent capitalisation or spelling between links.
- Leaving out utm_medium or utm_campaign. Google recommends setting source, medium and campaign together.
- Putting personal data such as email addresses in a tag. It appears in analytics reports and in the visitor's address bar.
- Forgetting that a shared link already contains tags and tagging it again.
Frequently asked questions
Which UTM parameters are required?
Are UTM values case-sensitive?
Is my link sent anywhere?
What happens if my link already has a question mark or tags?
Can I use UTM tags in a QR code?
Sources
- Collect campaign data with custom URLs — Google, checked 2026-10-07
Keep going
Related tools
- QR Code GeneratorMake a QR code for a link, text, email, phone number or Wi-Fi network. Made in your browser, nothing uploaded. Download PNG or SVG.
- ROAS CalculatorCalculate return on ad spend as a multiple and a percentage, with break-even ROAS and profit after ad spend.
- Percentage Change CalculatorPercentage increase or decrease between two numbers, plus X% of Y, what percent X is of Y, and adding or removing a percentage.