UTM Campaign URL Builder
UTM parameters are the tags marketers add to a URL — utm_source, utm_medium and utm_campaign — so Google Analytics can tell exactly which ad, email or post brought each visitor. Without them, every click looks the same in your reports and you cannot tell which campaign is actually working.
Enter your link and campaign details below, or tag a whole list of links at once in bulk mode. Values are URL-encoded automatically, so spaces and special characters never break your links.
Your Tagged URL
How It Works
UTM parameters are five query values appended to a URL: utm_source (where the traffic comes from, such as google or newsletter), utm_medium (the channel, such as cpc or email), utm_campaign (the campaign name), utm_term (the paid keyword, optional) and utm_content (which tells similar links apart, optional). When a visitor clicks the tagged link, Google Analytics reads the parameters and files the visit under that source, medium and campaign.
Values are URL-encoded before they are added, so a campaign named "summer sale" becomes summer%20sale and never breaks the link. If the base URL already has a query string, the parameters are appended with & instead of ?; if it has a #fragment, the parameters go before it, because anything after the hash is never sent to the server.
Worked Example
Tagging https://example.com/summer-sale with source newsletter, medium email and campaign summer_sale_2026 produces exactly this URL:
https://example.com/summer-sale?utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale_2026
That is the default example loaded in the tool above — change any field and rebuild to see your own version.
How to Use This Tool
Fill in your link and campaign details, then copy the tagged URL into your ad, email or post.
- Enter the base URL. The page the link should land on, starting with https://. If you need to gather the links first, a URL extractor pulls every link out of a page or document. Links that already have a query string or a fragment still work.
- Fill in source, medium and campaign. These three are required — Analytics needs all of them to attribute the visit. Use a preset to fill source and medium in one click, or type your own.
- Add term and content if you need them. utm_term records the paid keyword; utm_content tells two links in the same campaign apart, such as two banners in one email.
- Build and copy. Click Build Tagged URL and copy the result. In bulk mode, paste one base URL per line and every line gets the same campaign parameters.
Tips and Practical Advice
- Use lowercase, consistent names. Analytics treats "Email" and "email" as two different mediums, which splits your reports. Pick one spelling and stick to it.
- Never tag links on your own site. UTM tags are for links that bring people in from elsewhere. Tagging internal links overwrites the original source and breaks campaign attribution.
- Keep a naming pattern per channel. For outreach emails, a pattern like utm_source=outreach, utm_medium=email and utm_campaign=launch keeps every campaign comparable at a glance.
- Shorten long tagged URLs for print or social. The tagged link can look messy in a post — a link shortener hides the parameters while keeping the tracking intact.
Frequently Asked Questions
What are UTM parameters?
UTM parameters are short tags added to the end of a URL — utm_source, utm_medium, utm_campaign, utm_term and utm_content — that tell Google Analytics where a visitor came from. They do not change the page itself; they only label the link.
Which UTM parameters are required?
utm_source, utm_medium and utm_campaign. Google Analytics needs all three to attribute a visit to a campaign; utm_term and utm_content are optional extras for paid keywords and for telling similar links apart.
Do UTM tags work in Google Analytics 4?
Yes. GA4 reads the same five UTM parameters and reports them under Acquisition as source, medium and campaign. No extra setup is needed — just use the tagged link wherever the campaign runs.
Should I add UTM tags to links on my own site?
No. UTM tags are for links that bring people to your site from elsewhere. Tagging internal links overwrites the original source in Analytics and breaks your campaign reports.
Do UTM parameters hurt SEO?
No, when used on external campaign links. Search engines treat the tagged URL as the same page with tracking added, and your canonical tag points to the clean URL. Keep names lowercase and consistent so reports stay tidy.
Last updated: