Enter a website URL and at least a source and medium.
How a UTM-tagged link works
UTM parameters are ordinary query-string parameters. The page ignores them; your analytics tag reads them when the page loads and stores them with the session. A tagged link looks like this:
https://example.com/pricing/
?utm_source=newsletter who sent the visitor
&utm_medium=email what kind of channel it was
&utm_campaign=spring_sale which campaign the link belongs to
&utm_content=header_button which link in that emailWithout these tags, a click from an email app or a PDF usually arrives with no referrer and is reported as Direct. With them, the same visit shows up in GA4 under the Email channel with the campaign name attached.
The UTM parameters and where they appear in GA4
| Parameter | Records | GA4 dimension |
|---|---|---|
utm_source | The site, platform or list: google, newsletter, linkedin | Session source |
utm_medium | The channel type: email, cpc, social | Session medium |
utm_campaign | The promotion: spring_sale | Session campaign |
utm_id | A campaign identifier; used to match imported cost data | Session campaign ID |
utm_term | The paid keyword or audience | Session manual term |
utm_content | Which link, ad or creative was clicked | Session manual ad content |
utm_source_platform | The buying platform, such as Search Ads 360 | Session source platform |
utm_creative_format | The creative type: video, carousel | Session manual creative format |
utm_marketing_tactic | The targeting approach: remarketing | Session manual marketing tactic |
The last three were added for GA4 and are optional. Most teams only need the first six.
How GA4 turns your medium into a channel
GA4's default channel group runs every session through a fixed list of rules. For tagged traffic the medium decides most of it, and a value GA4 does not recognise lands in Unassigned, which is the most common reason campaign traffic “disappears” from channel reports.
| utm_medium | Channel |
|---|---|
email, e-mail | |
social, social-media, sm | Organic Social |
cpc, ppc, paid_social, retargeting | Paid Search, Paid Social, Paid Video or Paid Shopping, depending on the source; otherwise Paid Other |
display, banner, cpm | Display |
referral, link | Referral |
affiliate | Affiliates |
organic | Organic Search |
sms, audio | SMS, Audio |
newsletter, qr, print, blog | Unassigned |
The source matters for paid traffic: facebook with cpc is Paid Social, google with cpc is Paid Search. Any medium that contains “cp” or starts with “paid” counts as paid. For QR codes and print, keep the medium standard and describe the placement in the source or content instead, for example utm_source=flyer&utm_medium=referral&utm_content=qr, or create a custom channel group in GA4.
A naming convention that keeps reports clean
- Lowercase everything. GA4 treats
Emailandemailas different values. - Pick one word separator. Underscores or hyphens, never spaces, and never both.
- Keep source and medium to a short, fixed list that everyone on the team uses. Put the variety in campaign and content.
- Name campaigns so they sort.
2026_11_black_fridaylines up in a report;BF promo final v2does not. - Keep a shared sheet of every link you create, so the same campaign isn't tagged three different ways.
- Never put personal data in a UTM value. Email addresses or names in URLs break Google Analytics' terms and end up in server logs.
Platform-specific notes
Google Ads: auto-tagging adds a gclid to each click, and GA4 uses it to import campaign, ad group and keyword data. With auto-tagging on, manual UTMs are not needed for Google Ads traffic.
Meta ads: Ads Manager has a URL parameters field that supports dynamic values such as {{campaign.name}} and {{ad.name}}. The Meta preset fills these in and keeps the braces unencoded so Meta can replace them.
Email platforms:many add UTM tags automatically. Check your settings before tagging links by hand, or the platform's tags and yours will compete.
Before you send the link
- Click it. Make sure the page loads and the parameters are still in the address bar.
- Check redirects. A redirect that drops the query string also drops your tracking. Run the tagged URL through the Redirect Checker: every hop should keep the
utm_parameters. - Watch the fragment. Parameters must come before any
#section. Anything after the#is never sent to the server or read as a UTM tag. The builder puts them in the right place. - Confirm in GA4. Open Realtime, click the link, and check the source and medium shown for your session.
Need to inspect or clean an existing link? The URL Encoder & Decoder decodes a tagged URL and lists every parameter.
Frequently asked questions
What is a UTM builder?
A UTM builder adds tracking parameters such as utm_source, utm_medium and utm_campaign to the end of a URL. When someone clicks the link, Google Analytics reads those parameters and records where the visit came from, so you can compare campaigns, newsletters and ads in your reports.
Which UTM parameters are required?
Set source, medium and campaign on every link. GA4 accepts a link that has only some of them, but without a medium it cannot assign a default channel, and without a campaign name the visits have no campaign in your reports. Term, content and ID are optional.
Why does my campaign traffic show as Unassigned in GA4?
GA4 sorts traffic into channels with fixed rules, mostly based on utm_medium. A medium it does not recognise, such as newsletter, qr or print, matches no rule and the session is reported as Unassigned. Use a standard medium like email, social, cpc, referral, affiliate or display. The builder shows the likely channel as you type.
Are UTM parameters case-sensitive?
Yes. GA4 stores the values exactly as they appear in the URL, so utm_source=Facebook and utm_source=facebook show up as two separate rows. Using lowercase everywhere avoids split data; the builder converts values to lowercase by default.
Should I add UTM parameters to internal links?
No. A UTM tag on a link between pages of your own site replaces the visitor's original source, so a conversion from a Google search can end up credited to your own banner. Use UTMs only on links that bring people to your site from somewhere else.
Do UTM parameters affect SEO?
They have no direct effect on rankings. If a tagged URL is linked publicly, Google may crawl it as a separate URL, but a canonical tag pointing to the clean version tells Google which one to index. Most sites already output that canonical, and you can confirm it with a canonical tag checker.
Related Tools
- Email Subject Line Analyzer — Analyze your email subject lines for length, clarity, urgency, spam words, sentiment, readability and mobile visibility to improve email open rates.
- Robots.txt Tester & Generator — Test URLs against a live or pasted robots.
- Base64 Decode & Encode — Decode Base64 to text, images or files and encode text or files to Base64 and data URIs.
- CSV to JSON Converter — Convert CSV to JSON with delimiter detection, correct handling of quoted fields and leading zeros, and array, keyed-object or JSON Lines output.
- JSON to CSV Converter — Convert JSON or JSON Lines to CSV with nested-object flattening, array handling, an Excel-friendly UTF-8 BOM and protection against formula injection.
- Cron Expression Generator — Build and read cron expressions in plain English, see the next 10 run times, and convert between crontab, Spring, Quartz and AWS EventBridge formats.