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%20sale
Spaces become %20 by default; choose + under “Encode spaces as” if your tool expects it. The link updates as you type, and utm_id is there for your campaign ID.
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
Create strong, random passwords in one click. Pick the length and include uppercase, lowercase, numbers and symbols. Free, no signup.
Decode any JSON Web Token in your browser: see the header and payload, exp, iat and nbf as real dates in your time zone, and whether it has expired.
Convert text between separators: new lines, spaces, semicolons, dashes, pipes or dots. Turn a column into a single line and back. Free text separator.
Convert Roman numerals like MMXXVI, XLII or CMXC into regular numbers instantly. Read dates, clocks, chapters and movie credits. Free converter.
Convert text to UPPERCASE, lowercase, Sentence case, Capital Case, camelCase, PascalCase, snake_case, CONSTANT_CASE, dot.case or param-case. Free.
Upload any file to see its MIME type, size, name and last modified date. Find out what a file really is, whatever its extension. Free MIME checker.