UTM Link Builder
Build tracking URLs instantly by appending UTM parameters to your base URL. Perfect for marketing teams who need to track campaign performance across email, social, and paid channels without writing query strings by hand.
source, medium, and campaign are the standard required tags. Values are URL-encoded automatically. Built in your browser.
FreeNo sign-upPrivate — runs in your browser, nothing is uploaded
Quick answer
A UTM Link Builder adds tracking parameters (utm_source, utm_medium, utm_campaign, etc.) to your URLs so you can measure which campaigns drive traffic in Google Analytics. Paste your base URL, fill in the source, medium, and campaign fields, and the tool generates a ready-to-use tracking link you can copy and share.
Formula & method
Paste your base URL into the tool, then fill in the tracking parameters: source (where the traffic comes from—newsletter, social, etc.), medium (the channel type—email, cpc, social), campaign (the campaign name), and optionally term and content for additional detail. The tool appends all parameters URL-encoded to your URL as query strings and displays the result live for copying.
Examples
Example 1: Email Newsletter Campaign
- Input
- Base URL: example.com/spring-sale | Source: newsletter | Medium: email | Campaign: spring
- Result
- example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring
- Why
- This tracks traffic from your weekly newsletter. When someone clicks this link in an email, Google Analytics will attribute the visit to the newsletter email campaign.
Example 2: Paid Social Media Ad
- Input
- Base URL: shop.com | Source: facebook | Medium: cpc | Campaign: valentines day | Term: womens shoes
- Result
- shop.com?utm_source=facebook&utm_medium=cpc&utm_campaign=valentines%20day&utm_term=womens%20shoes
- Why
- For a Facebook paid ad campaign promoting women's shoes for Valentine's Day, the tool URL-encodes spaces as %20. This lets you track not just the platform but also the product segment and user intent.
Example 3: Organic Social Post with Content Variant
- Input
- Base URL: blog.com/article | Source: twitter | Medium: social | Campaign: spring launch | Content: carousel
- Result
- blog.com/article?utm_source=twitter&utm_medium=social&utm_campaign=spring%20launch&utm_content=carousel
- Why
- Use utm_content to A/B test different post formats (carousel vs. single image). This tracks which content type drives better engagement and clicks on Twitter.
When to use this tool
- Marketing campaigns: Any email blast, social post, or paid ad that links to your website—add UTM parameters so analytics credits the traffic correctly.
- A/B testing: Use utm_content to tag different versions of the same campaign (headline A vs. B, image variant, CTA text) and compare performance.
- Multi-channel promotions: Track the same offer across newsletter, paid search, organic social, and partnerships using different utm_source values to see which channel has the highest ROI.
Common mistakes
- Forgetting to URL-encode special characters: The tool automatically handles this, but if you manually copy/edit the URL, spaces become %20, slashes become %2F, and ampersands in values need escaping.
- Packing the channel into the campaign name: names like spring_email and spring_cpc split one campaign into many rows and duplicate what source and medium already record. Use source and medium to differentiate, keep campaign for the actual campaign theme.
- Leaving utm_medium blank: Without a medium (email, cpc, social, organic, etc.), you can't distinguish between paid and organic traffic in your analytics dashboard, defeating the purpose of tracking.
Frequently asked questions
Why does the tool show spaces as %20 or + in the URL?
URLs cannot contain literal spaces, so the tool URL-encodes them. In the query string (after the ?), where UTM tags live, %20 and + both mean a space, and most analytics platforms decode both back to spaces. The tool uses standard percent-encoding (%20 style).
Do I have to fill in all five UTM parameters?
No. The five common parameters are utm_source, utm_medium, utm_campaign, utm_term, and utm_content. Only utm_source, utm_medium, and utm_campaign are typically required for basic campaign tracking; term and content are optional for fine-grained detail.
Can I use UTM parameters with any URL?
Yes. UTM parameters are just query string additions and work with any URL—your product pages, blog articles, landing pages, PDFs, or even external links. The base URL just needs to be valid.
Is my URL data stored or shared anywhere?
No. This tool runs 100% in your browser. Your URLs are never sent to a server or stored—they're built and copied entirely on your device.
What's the difference between utm_term and utm_content?
utm_term traditionally tracked paid search keywords but is less common now. utm_content is flexible and commonly used for creative variants (banner A vs. B, email template style, etc.) or product categories.
How many UTM parameters can I add?
This tool fills in the five classic ones. Google Analytics 4 also recognizes a few more, such as utm_id and utm_source_platform, which you can append by hand. Keeping URLs under about 2,000 characters is a common safe limit for older software and servers, so avoid extremely long values.
Sources & references
- Google Analytics Help — URL builders: Collect campaign data with custom URLs
- RFC 3986: URI Generic Syntax (URL encoding standard)
External references open in a new tab. We are independent and not affiliated with these organizations.
- Free
- No sign-up
- Runs entirely in your browser — nothing is uploaded.
- Formula and method shown above
Provided “as is” for general information only — results may be inaccurate, so verify before you rely on them. No warranty; use at your own risk.
Built and reviewed by HIFreeTools against the formula shown above and any authoritative references cited on this page. See our methodology and editorial standards below.
Related tools
Related guides
Embed this tool on your site
Free to embed, no sign-up. Paste this code where you want the tool to appear: