UTM Builder
Campaign URL
Parameters
FREE TOOL · NO SIGN-UP
A UTM builder adds tracking parameters to a link so Google Analytics 4 can tell you exactly which campaign, platform and ad sent each visitor. Enter your website URL and campaign details in the tool above, and it builds the full campaign URL with utm_source, utm_medium, utm_campaign and the optional utm_term, utm_content and utm_id values. Turn on lowercase and underscore options to keep your naming consistent, then copy the link into your email, ad or social post.
What UTM Parameters Track
UTM parameters are small tags added to the query string of a URL, after a question mark. A tagged link looks like this:
The page itself does not change. When someone clicks the link, Google Analytics reads the parameters and records the visit against that source, medium and campaign. Without them, many visits arrive with vague labels: an email click can show up as direct traffic, and a link in a PDF or messaging app may lose its referrer altogether.
UTM tags answer the question “where did this traffic come from?” with the labels you choose. That makes them the standard way to measure newsletters, paid social posts, influencer links, QR codes, partner placements and any other link you control.
GA4 also uses source and medium to sort traffic into its default channel groups, such as Email, Organic Social, Paid Social and Referral. Consistent tagging puts visits into the right channel; careless tagging scatters them across “Unassigned” and mislabeled rows.
The Five UTM Fields Explained
Five classic parameters cover almost every need, and the tool adds a sixth, utm_id, for campaign IDs. Source, medium and campaign are the ones to fill in every time. The others add detail when you need to compare keywords, ads or links within the same campaign.
Source, medium and campaign
utm_source names the specific site, platform or sender: facebook, google, linkedin, newsletter, partner_site. It answers “who sent the traffic?”
utm_medium names the type of channel: email, cpc, paid_social, social, referral, affiliate, display, qr. It answers “how did it reach me?” This value matters most for GA4 channel grouping, so use standard terms. Google documents which medium values map to which default channel.
utm_campaign names the campaign or promotion: spring_sale, product_launch_2026, webinar_october. It ties together every link that belongs to the same push across sources.
The builder marks these three as required and warns you if any is missing.
Term and content for finer detail
utm_term is mostly used for paid search keywords, for example running_shoes. Google Ads fills this in automatically when auto-tagging is on, so it is most useful for other search platforms.
utm_content tells apart links that share the same source, medium and campaign. Use it for A/B tests (“blue_button” versus “red_button”) or for multiple links in one email (“header_link” versus “footer_link”).
utm_id carries a campaign ID, which is useful if you import cost data or match campaigns with another system.
How to Build a Tagged Link in Four Steps
Enter the website URL. Paste the page you want people to land on. The builder adds https:// if you leave it off, keeps any existing query parameters and keeps a #fragment at the end of the link where it belongs.
Fill in source, medium and campaign. Use the values from your tracking plan. Add term, content or ID if you need them.
Set the options. “Force lowercase” converts every value to lowercase. “Spaces → underscores” replaces spaces with underscores. Both are worth leaving on so “Spring Sale” and “spring sale” never end up as two campaigns.
Copy the campaign URL. The finished link appears under Campaign URL, with a Parameters table below it showing each value. Click Copy URL and paste it where you will share it. If you need a shorter link for print or social, run the tagged URL through a link shortener such as Bitly, or turn it into a QR code. The tags survive the redirect.
The status message tells you when a link is ready for clean GA4 reports and warns you about missing fields or mixed-case values.
Naming Conventions That Keep Reports Clean
UTM values are free text, which is both their strength and their weakness. GA4 treats every distinct spelling as a different value. “Facebook”, “facebook” and “fb” become three rows in your report, and none of them shows the full picture.
A naming convention prevents that. Agree on a few rules and write them down:
- Use lowercase only.
- Use underscores or hyphens between words, never spaces. Pick one and stick to it.
- Keep a fixed list of approved source and medium values.
- Name campaigns with a consistent pattern, such as product_season_year.
- Never put personal data, such as an email address or name, into a UTM value.
Store the approved values in a shared spreadsheet that everyone who builds links can see. Many teams keep their tagged URLs there too, which gives a record of every link in circulation. The builder’s lowercase and underscore options enforce two of these rules automatically.
UTM Examples for Common Campaigns
Email newsletter: utm_source=newsletter, utm_medium=email, utm_campaign=october_digest, utm_content=hero_button
Paid Facebook ad: utm_source=facebook, utm_medium=paid_social, utm_campaign=spring_sale, utm_content=video_ad_a
Organic LinkedIn post: utm_source=linkedin, utm_medium=social, utm_campaign=product_launch
Influencer or partner link: utm_source=partner_name, utm_medium=referral, utm_campaign=affiliate_program
Printed flyer QR code: utm_source=flyer, utm_medium=qr, utm_campaign=store_opening
Microsoft Ads search: utm_source=bing, utm_medium=cpc, utm_campaign=brand_terms, utm_term=brand_name
For Google Ads, keep auto-tagging on. It adds a gclid parameter that passes richer data into GA4 than manual UTMs, and mixing the two can cause conflicts.
Reading Campaign Data in GA4
In GA4, open Reports, then Acquisition, then Traffic acquisition. Change the primary dimension to “Session source / medium” or “Session campaign” to see your UTM values. Add a secondary dimension such as “Session manual ad content” to see utm_content values.
The User acquisition report shows how new users first arrived, using “First user” dimensions, which is useful for judging which campaigns bring in new people rather than returning ones.
For deeper analysis, use Explore to build a free-form report, or connect GA4 to Looker Studio. Expect a short delay: new campaign data can take up to a day or two to appear in standard reports.
Where UTM Tags Should Never Go
Internal links. Never add UTM tags to links between pages on your own site. When a visitor clicks one, GA4 starts a new session attributed to that fake campaign, and the real source, such as organic search, is lost. Use events or GA4’s internal tracking options instead.
Canonical tags and sitemaps. Tagged URLs are duplicates of the clean page. Keep them out of your canonical tags, XML sitemap and internal navigation.
Links you do not control. Asking a journalist to use a tagged link is fine. Adding UTMs to links on review sites or directories where the link may be permanent can leave odd URLs indexed. A canonical tag on your page handles this, but clean links are simpler.
Tagging Mistakes That Split Your Data
Inconsistent case. “Email” and “email” split the same channel. Use the lowercase option.
Using source as medium. utm_medium=facebook tells GA4 nothing about the channel type, so it may land in “Unassigned”.
Forgetting a required field. Missing utm_campaign leaves visits without a campaign label.
Overwriting existing parameters. Some pages already use their own query parameters. The builder keeps those and only replaces existing utm_ values.
Tagging Google Ads manually with auto-tagging on. You get conflicting data.
Spaces and special characters. They get encoded into strings like %20 that are hard to read in reports.
No shared record. Without a tracking plan, every team member invents their own names.
Limits of UTM Tracking
UTM tags only work when the parameters reach your site intact. Some apps strip query strings, privacy tools and browsers may remove tracking parameters, and visitors who copy a clean URL lose the tags. UTMs record the last tagged click, so they cannot show the full journey of someone who saw five ads before converting. Treat UTM data as strong evidence for link-level performance, not a complete attribution model.
Building a Shared Tracking Plan
Agree on your source, medium and campaign names, record them in one shared sheet and build every link with the same tool. To strip tags from a URL before sharing it elsewhere, use the URL Cleaner, and measure results with the Conversion Rate Calculator. More free tools are in the FHSEO Hub free SEO tools collection.
