UTM link generator
Add UTM source, medium, campaign, term and content parameters to any URL and track campaigns in Google Analytics. Free UTM builder.
Track exactly where your visitors come from
UTM parameters are tags added to the end of a link that tell analytics tools like Google Analytics where a visit came from. Without them, clicks from your newsletter, a social post or a partner's site can all end up lumped into "direct" or "referral" traffic. With them, you can see which campaign, channel and even which button drove each visit.
Enter your page URL and fill in the five standard fields: utm_source (who sent the traffic, such as newsletter or instagram), utm_medium (the channel, such as email, social or cpc), utm_campaign (the campaign name), utm_term (paid keywords) and utm_content (to tell apart two links in the same ad or email). The tool builds a valid, encoded link.
Example: https://mybotsy.com/?utm_source=newsletter&utm_medium=email&utm_campaign=october_toolbox.
How to use the utm link generator
- Paste the URL of the page you're sending people to.
- Fill in UTM source, medium and campaign (the essentials).
- Optionally add UTM term and content.
- Generate the link and use it in your post, email or ad.
- Check the results in your analytics under traffic acquisition or campaigns.
Examples
A newsletter link
Input:
URL: https://mybotsy.com/pricing
source: newsletter, medium: email, campaign: spring sale
Output:
https://mybotsy.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring+sale
The space in the campaign name becomes +, which analytics tools read as a space.
A URL with existing parameters
Input:
URL: https://mybotsy.com/?ref=42#plans
source: instagram
Output: https://mybotsy.com/?ref=42&utm_source=instagram#plans
Existing parameters are kept and the #fragment stays at the end, where it belongs.
Common uses
- Tracking newsletter clicks separately from social media.
- Comparing performance of different social posts or influencers.
- Measuring paid campaigns on platforms without auto-tagging.
- A/B testing two links in the same email using utm_content.
- Tracking QR codes on flyers and packaging.
Tips and things to know
- Be consistent: pick lowercase names and stick to them. Analytics treats
Emailandemailas different values. - Never use UTM tags on internal links within your own site; they reset the original source of the session.
- Keep a simple spreadsheet of the UTM names you use so your team stays consistent.
- Long tagged links look messy in posts. Check the final link with the URL parser and make sure redirects keep the tags with the URL redirect checker.
Edge cases and limitations
- Values are case-sensitive in Google Analytics: Newsletter and newsletter show up as two sources. Pick lowercase and stick to it.
- Use hyphens or underscores instead of spaces (spring-sale) for cleaner, easier-to-read links.
Frequently asked questions
What are UTM parameters?
Tags like utm_source, utm_medium and utm_campaign added to a URL so analytics tools can attribute visits to specific campaigns.
Which UTM parameters are required?
Google Analytics needs at least utm_source to attribute a campaign, and source, medium and campaign together are the recommended minimum.
Do UTM tags affect SEO?
No, as long as you use them on external campaign links and your pages have proper canonical tags.
Should I use UTM links for Google Ads?
Google Ads auto-tagging (gclid) is usually better for Ads traffic. Use UTMs for other platforms and channels.
Where do I see UTM data in Google Analytics 4?
In the Traffic acquisition and User acquisition reports, using dimensions such as session source/medium and session campaign.
Related tools
- URL parser: Parse details from any URLs.
- URL encoder: Encode any string input to URL format.
- URL redirect checker: Check for 301 & 302 redirects of a specific URL. It will check for up to 10 redirects.
- Mailto link generator: Generate deep link mailto with subject, body, cc, bcc & get the HTML code as well.
- WhatsApp link generator: Generate whatsapp message links with ease.
Popular free tools
Convert text to UPPERCASE, lowercase, Sentence case, Capital Case, camelCase, PascalCase, snake_case, CONSTANT_CASE, dot.case or param-case. Free.
Look up the DNS records of any domain: A, AAAA, CNAME, MX, NS, TXT and SOA. Check email, SPF, verification and nameserver settings for free.
Create strong, random passwords in one click. Pick the length and include uppercase, lowercase, numbers and symbols. Free, no signup.
Encode any text or string to Base64 instantly. Useful for data URIs, HTTP Basic auth headers, email and APIs. Free online Base64 encoder.
Convert numbers into words, such as 1,250 to “one thousand two hundred fifty”. Write checks, invoices, legal documents and lessons correctly. Free.
Turn normal text into elegant 𝓬𝓾𝓻𝓼𝓲𝓿𝓮 letters you can copy and paste into Instagram, TikTok, X and Discord bios, captions and names. Free.