UTM Builder
Tag links for newsletters, social posts, ads and QR codes so every visit shows up under the right source and campaign in Google Analytics.
Runs entirely in your browser. Nothing you add is sent to us.
Create a free account to use the UTM Builder
Free forever for this tool. Takes a few seconds — then you come straight back here.
- All 150 free tools, one login
- Free website audit with fixes
- Search Console dashboard
- Free keyword rank tracker
Already have an account? Sign in
A UTM builder adds tracking tags to a link so that Google Analytics 4 can tell you exactly where each visit came from. Our free tool takes your website URL and adds utm_source, utm_medium, utm_campaign and, if you want them, utm_term, utm_content and utm_id. One-click presets fill in sensible values for newsletters, Facebook, Instagram, LinkedIn, manually tagged Google Ads and QR codes or print. Values are cleaned to lower case with hyphens, you are warned about missing fields, and the finished link is ready to copy or turn into a QR code. It all runs in your browser.
How to use the UTM builder
- 1 Enter the page addressPaste the full URL of the page visitors should land on, starting with https://. Any existing query string is kept.
- 2 Pick a preset or fill in source and mediumClick Newsletter, Facebook, Instagram, LinkedIn, Google Ads or QR code / print, or type your own utm_source and utm_medium.
- 3 Name the campaignAdd a short utm_campaign such as autumn-sale-2026 or october-newsletter, using the same naming style every time.
- 4 Add optional detailUse utm_content to tell apart two links in the same email or ad, utm_term for a keyword, and utm_id if you track campaigns by ID.
- 5 Copy and use the linkCopy the final URL into your email, post or ad, or click through to the QR code generator to print it. Test it once before sending.
What UTM parameters are
UTM parameters are labels added to the end of a URL after a question mark, such as ?utm_source=newsletter&utm_medium=email&utm_campaign=autumn-sale. They do not change the page the visitor sees. When someone clicks the link, Google Analytics reads the labels and records the visit against that source, medium and campaign, instead of guessing.
Without tags, many visits arrive with little or no information. Clicks from email apps, PDFs, messaging apps and some social apps often show up as direct traffic, and printed material cannot pass a referrer at all. Tagging the links you control is the simplest way to see which newsletter, post or leaflet actually brought people to your site.
Some email platforms, such as Mailchimp, can add UTM tags to links automatically, and many social scheduling tools offer the same. Check what your tools already do before tagging by hand, so you do not end up with two sets of parameters. If you build links yourself, this builder gives you the same structure every time, which is what keeps reports comparable from one month to the next.
The five main UTM fields explained
Each field answers a different question about the visit. Source and medium matter most, because GA4 uses them to place visits into its default channel groups, such as Email, Organic Social and Paid Search.
- utm_source: who sent the visit, for example newsletter, facebook, linkedin or the name of a partner site.
- utm_medium: the type of channel, for example email, social, paid-social, cpc, display, referral, affiliate, print or sms.
- utm_campaign: the promotion, launch or issue, for example black-friday-2026 or spring-menu.
- utm_term: the paid keyword or audience, mainly for manually tagged search ads.
- utm_content: which link or creative was clicked, for example header-button versus footer-link, or video-ad versus image-ad.
- utm_id: an optional campaign ID, useful if you import cost data into GA4 or track campaigns in a spreadsheet by number.
Choosing values that GA4 groups correctly
GA4 assigns each visit to a default channel using rules based mainly on the medium, and in some cases the source. Using conventional mediums keeps your reports tidy: email for newsletters, social for unpaid posts, paid-social or cpc for paid ads, referral for links on other websites and affiliate for affiliate links. Google publishes its default channel group rules in the Analytics Help Centre, and it is worth checking them if a campaign lands in Unassigned.
For QR codes and printed material there is no single standard medium. The builder's preset uses utm_source=qr and utm_medium=print, which is easy to recognise in reports even though GA4 will not put it into a named default channel. Whatever you choose, use the same values every time so results build up in one place.
If you want print and QR visits to sit in a named channel, GA4 lets administrators create custom channel groups, for example a group called Offline that matches the medium print. That is optional, and the raw source and medium values remain available in every acquisition report either way.
Naming conventions that keep reports clean
Analytics treats every different spelling as a different value. Facebook, facebook, FB and fb.com will appear as four separate sources, splitting your figures. The builder's clean values option converts everything to lower case and replaces spaces with hyphens, and warns you if capitals or spaces would otherwise slip through.
Agree a short naming guide and keep it somewhere the whole team can see, such as a shared spreadsheet listing each campaign, its source, medium and full tagged URL. Decide on a pattern for campaign names, for example topic-month-year, so you can sort and filter them later. A little discipline at the start saves hours of cleaning up reports.
Avoid putting personal information in UTM values, such as a customer's name or email address. Google Analytics policies do not allow personally identifiable information to be sent to Analytics, and URLs are often visible to others and stored in browser histories. Use campaign and placement names only.
Google Ads, social platforms and auto-tagging
If your Google Ads account is linked to GA4, auto-tagging adds a gclid parameter to ad clicks and passes detailed campaign data automatically. In that case you usually do not need manual UTM tags on Google Ads, and Google recommends keeping auto-tagging on. The Google Ads preset in this builder is for situations where you have chosen manual tagging, or where the accounts are not linked.
Meta, LinkedIn and other ad platforms let you add URL parameters in the ad settings, and some offer dynamic placeholders that fill in the campaign or ad name. For unpaid posts, add the tags yourself. Long tagged URLs look untidy in a post, so many people use a link-in-bio page or a short page on their own domain that redirects to the tagged URL.
Where not to use UTM tags
Only tag links that point to your site from somewhere else. Never add UTM tags to links between pages on your own website, such as a banner on the home page linking to an offer. GA4 records a click on an internally tagged link as a new campaign touchpoint, so sales and enquiries that really came from Google search or a newsletter can end up credited to your own banner, and your reports become unreliable.
Tagged URLs can also be indexed if they are linked publicly. Make sure your pages have a canonical tag pointing to the clean URL, which most CMSs and SEO plugins add automatically, so search engines treat the tagged versions as the same page. You can check this with our Meta Tag Checker.
Examples you can copy
A monthly newsletter link
https://www.example.co.uk/offers/?utm_source=newsletter&utm_medium=email&utm_campaign=october-2026&utm_content=main-button
Telling apart two links in the same Instagram campaign
https://www.example.co.uk/spring-menu/?utm_source=instagram&utm_medium=social&utm_campaign=spring-menu&utm_content=bio-link
https://www.example.co.uk/spring-menu/?utm_source=instagram&utm_medium=social&utm_campaign=spring-menu&utm_content=story-link
A leaflet QR code, one value per placement
https://www.example.co.uk/menu/?utm_source=qr&utm_medium=print&utm_campaign=autumn-menu&utm_content=table-card
https://www.example.co.uk/menu/?utm_source=qr&utm_medium=print&utm_campaign=autumn-menu&utm_content=shop-window
Common mistakes to avoid
Mixing capital letters and spellings
Email, email and e-mail become three rows in GA4. Use lower case and one agreed spelling.
Tagging internal links
UTM tags on links within your own site overwrite the real source of the visit. Use them only on external links.
Leaving out the medium
Without utm_medium, GA4 cannot place the visit in a sensible channel and it may show as Unassigned.
Tagging Google Ads twice
If auto-tagging is on, manual UTM tags are usually unnecessary and can cause confusing data. Pick one approach.
Not testing the link
A typo in the base URL sends every click to a 404. Click the finished link once before you send or print it.
Frequently asked questions
Yes. Analytics treats Email and email as two different values, which splits your reports. Use lower case and hyphens consistently; this builder does it for you.
No. Tagging links between pages on your own site overwrites the real source of the visit. Use UTM tags only on links that live outside your site.
utm_source is the minimum for a valid tagged link, and the builder requires it. Always add utm_medium and utm_campaign too, so GA4 can group and label the visit properly.
Go to Reports, Acquisition, Traffic acquisition and change the primary dimension to Session source / medium or Session campaign. Data can take up to a day or two to appear in standard reports.
Not when used on external links such as emails and social posts. Make sure your pages have a canonical tag pointing to the clean URL so tagged versions are not treated as separate pages.
Yes. The builder keeps the existing query string and adds the UTM parameters to it. If the URL already has UTM tags, they are replaced with your new values.
It is an optional campaign identifier. It is mainly useful if you import cost or campaign data into GA4, or track campaigns by a reference number.
Build the tagged URL here, then generate the QR code from it. Use a different utm_content value for each placement, such as the window poster and the leaflet.
For social posts and print it can help. A short page on your own domain that redirects to the tagged URL keeps you in control and avoids relying on a third-party link shortener.
Learn more
- Google Search Console for Beginners: Step-by-Step Guide A Google Search Console guide for beginners: verify your site, submit a sitemap, read the Performance and Pages reports, and fix the most common first issues.
- How to Rank in Local Search in the UK: A Practical Guide Rank in local search in the UK: complete your Google Business Profile, keep name, address and phone consistent, earn genuine reviews and build local pages.
- UTM Parameters: A Practical Guide for GA4 and Small Businesses How to use UTM parameters with GA4: what each one does, naming conventions that match channel groups, why to use lower case, and when never to tag a link.
- URL Encoding Explained: Percent-Encoding, %20 vs + and Query Strings URL encoding explained: how percent-encoding works, which characters are reserved, encodeURIComponent vs encodeURI, %20 vs + for spaces, and safe UTM links.
- Safari Blocks Email-Based Tracking: What Marketers Should Check Safari blocks identity resolution services that turn visitors' email addresses into tracking IDs, WebKit said on October 19, 2026. What it means for your site.
- Why Did ChatGPT Referral Traffic Drop in October 2026? ChatGPT referral traffic dropped around October 9, 2026 because many links lost their utm_source tag. How to check GA4, annotate the dip and measure fairly.
- Agency Client Reporting Workflow: From Data Pull to Sent Report A step-by-step agency client reporting workflow: pull data, flag anomalies, draft commentary, review and send, with clear owners and the checks people keep.
- Car Service Reminder and Booking Workflow for Garages and Dealers A car service reminder and booking workflow for garages and dealers: clean due dates, consented reminders, capacity-aware booking and human follow-up.
- Gym Member Retention Automation: Freezes, Cancellations and Win-Back Done Fairly A fair gym member retention automation workflow: spotting drifting members, prompt freezes and cancellations, and win-back messages that respect consent.
- Hotel Pre-Arrival Messaging and Upsells: A Workflow That Guests Welcome Automate hotel pre-arrival messaging: confirmations, online check-in, arrival times, requests and upsells, with the messaging and pricing rules to check first.
- Property Viewing Booking and Feedback: A Workflow Agents Can Automate How real estate and letting agents can automate property viewing booking, confirmations, reminders and feedback, while agents keep the judgement calls.
- Restaurant No-Shows: A Reservation, Deposit and Waitlist Workflow That Stays Fair A step-by-step workflow for restaurant no-shows: confirmations, reminders, fair deposits and card holds, waitlist offers and allergy notes that reach the pass.
- Service Call Intake to Dispatch: A Workflow for HVAC, Plumbing and Electrical Firms A step-by-step service call intake to dispatch workflow for HVAC, plumbing and electrical firms, with safety escalation, triage questions and human review.
- ACA Open Enrollment 2027: How Brokers Can Automate Follow-Up Free open enrollment reminder email template, SMS scripts and an n8n workflow that sorts 2027 ACA renewals for health insurance brokers. Advice stays human.
- Missed Call Text Back Automation: Workflow, Templates and ROI Missed call text back automation step by step: the n8n workflow, AI reply sorting, copy-ready templates for 4 industries, SMS rules and a worked ROI example.
Free website audit
See how your site scores, free
Speed, SEO, DNS, email (SPF/DKIM/DMARC) and security in one scan, with a prioritised fix list.