UTM Link Builder

Create clean campaign links for Google Analytics 4 in seconds. Add the source, medium and campaign, and we build the URL, keep your existing parameters and stop the typos that split your reports.
Marketing100% freeNo sign-upNo API key
Loading the UTM Link Builder…

How to use the UTM Link Builder

01

Paste your landing page

The page you want visitors to arrive on.
02

Add source, medium and campaign

Pick from common values or type your own.
03

Copy and test

Copy the link and open it to check it works.

What you get

Everything the UTM Link Builder does, free and without an account.
  • All UTM parameters

    Source, medium, campaign, ID, term and content.

  • Lowercase and no spaces

    Keeps values consistent so reports don’t split.

  • Keeps your URL intact

    Existing parameters and #anchors are preserved.

  • GA4 channel warnings

    Flags mediums that would land in Unassigned.

  • Suggestions

    Common sources and mediums ready to pick.

  • One-click test

    Open the finished link to make sure the page loads.

Industries

Industries we work with

Every sector searches differently. We bring playbooks that already work in your market, so you skip the learning curve and get to results faster.
01

Accounting & Finance

Local SEO, trust-building content and lead generation for firms where credibility decides the click.
02

Legal Services

Authority-led content and compliant campaigns that turn searches into booked consultations.
03

Home & Local Services

Map-pack rankings, call-focused ads and fast sites that keep the calendar full.
04

eCommerce & Retail

Product and category SEO, shopping ads and stores built to convert browsers into buyers.
05

AI, SaaS & Technology

Demand capture for complex products, from Google results to ChatGPT and AI Overviews.
06

Media & Entertainment

Audience growth across search, YouTube and social, with content people actually share.

UTM Builder for GA4: Tag Campaign Links That Report Correctly

By SEO Return teamUpdated November 20268 min read

A UTM builder for GA4 adds tracking parameters to your links so Google Analytics 4 can tell you exactly which campaign, platform and ad brought each visitor. Our free UTM link builder creates clean, correctly encoded campaign URLs, keeps any parameters and #anchors already in your link, can force lowercase so “Facebook” and “facebook” don’t split your data, and warns you when a source or medium will land in GA4’s “Unassigned” channel instead of the one you expect.

This guide explains what each UTM parameter does, how GA4 uses them to group traffic into channels, the naming conventions that keep reports clean and the mistakes that quietly ruin attribution.

Key takeaways

  • utm_source, utm_medium and utm_campaign are the three you should always set.
  • Use GA4’s recognised medium values (cpc, email, paid_social, display, affiliate, referral) so traffic lands in the right channel.
  • Keep everything lowercase and consistent: GA4 treats “Email” and “email” as different values.
  • Never use UTM parameters on links between pages of your own website.

What are UTM parameters?

UTM parameters are tags added to the end of a URL that tell analytics tools where a visit came from. The name comes from Urchin Tracking Module, the analytics product Google acquired and turned into Google Analytics. A tagged link looks like this:

https://example.com/offer/?utm_source=facebook&utm_medium=paid_social&utm_campaign=2026-11_black-friday

When someone clicks it, GA4 reads the parameters and attributes the session and any conversions to that source, medium and campaign. Google documents the supported parameters in its help article on collecting campaign data with custom URLs.

Why you need UTM tags

Without tags, GA4 often can’t tell where visits came from. Clicks from email apps, PDFs, messaging apps, QR codes and many social apps may arrive with no referrer and show up as Direct. UTM tags make every campaign measurable, so you can compare channels and spend your budget where it works.

Where to use them

  • Email newsletters and automated email sequences.
  • Organic social posts and bio links.
  • Paid social ads (Meta, TikTok, LinkedIn, Pinterest, Snapchat) where auto-tagging isn’t available.
  • Display, affiliate and sponsorship links.
  • QR codes on print, packaging and signage.
  • Links in PDFs, presentations and partner websites.

The UTM parameters explained

ParameterAnswersExamplesRequired?
utm_sourceWhere did the click come from?google, facebook, newsletter, linkedinYes
utm_mediumWhat type of channel?cpc, email, paid_social, organic_social, displayYes
utm_campaignWhich campaign or promotion?2026-11_black-friday, spring_webinarYes
utm_idCampaign IDAn ID matching your ad platform or cost dataRecommended for paid
utm_termWhich keyword or audience?seo-agency, lookalike-1pctOptional
utm_contentWhich ad, creative or link?video-a, header-button, carousel-2Optional

utm_source vs utm_medium

This is the most common confusion. Source is the specific place (facebook, google, mailchimp); medium is the category of channel (paid_social, cpc, email). Swapping them is one of the main reasons traffic ends up in the wrong channel, and our builder detects it and offers to swap them back.

Using utm_content for A/B tests

When an email has several links to the same page, or an ad set runs several creatives, give each a different utm_content value. You’ll see which button or creative drove the clicks and conversions.

Example

A newsletter with a header button and a footer link: utm_content=header-button and utm_content=footer-link, with the same source, medium and campaign.

Reading the result in GA4

Add “Session manual ad content” as a secondary dimension in the Traffic acquisition report to compare the two links.

Additional GA4 parameters

GA4 also supports utm_source_platform, utm_creative_format and utm_marketing_tactic. They’re useful for advanced reporting and cost imports, but most businesses get everything they need from the six parameters above.

How GA4 turns UTM tags into channels

GA4 groups traffic into default channels such as Paid Search, Paid Social, Organic Social, Email, Display, Affiliates and Referral using rules based on source and medium. If your values don’t match those rules, the traffic is labelled “Unassigned”, which makes reports far less useful. Google publishes the exact rules in its article on default channel groups.

Medium values that GA4 recognises

  • Email: email
  • Paid search: cpc with a search engine source such as google or bing
  • Paid social: paid_social (or other paid mediums) with a social source such as facebook or linkedin
  • Organic social: organic_social or social with a social source
  • Display: display, banner or cpm
  • Affiliates: affiliate
  • Referral: referral
  • SMS: sms

Why custom mediums cause problems

A medium like facebook-ad, newsletter-blast or influencer may not match any rule. The builder flags custom mediums and suggests the standard equivalent, such as changing ppc to cpc or e-mail to email.

TipFor Google Ads, turn on auto-tagging instead of adding UTM tags manually. GA4 then receives full campaign, ad group and keyword data through the gclid parameter.

How to use our UTM builder for GA4

  1. Paste your landing page URL. Existing parameters and #anchors are kept.
  2. Fill in source, medium and campaign, or pick a common source and medium preset.
  3. Add campaign ID, term and content if you need them.
  4. Keep “lowercase” switched on to convert capitals and replace spaces with underscores.
  5. Read the checks: missing required fields, capitals, spaces and unrecognised mediums.
  6. Apply any one-click fixes, such as swapping source and medium or switching to https.
  7. Copy the link or open it to test that the page loads correctly.

UTM naming conventions that keep reports clean

Lowercase everything

GA4 is case-sensitive. Facebook, facebook and FACEBOOK appear as three separate sources. Lowercase removes the problem.

Use underscores or hyphens, never spaces

Spaces become %20 or + in URLs and are easy to mistype. Pick one separator and use it everywhere.

Use plain source names

Write facebook, not facebook.com or fb. Short forms and domains create duplicates and make reports harder to read.

Give campaigns descriptive, sortable names

A consistent pattern such as yyyy-mm_offer_audience (for example 2026-11_black-friday_returning) sorts chronologically and tells anyone reading the report what the campaign was.

Document your conventions

Keep a shared spreadsheet of approved sources, mediums and campaign names. Everyone who creates links, including agencies and freelancers, should use the same list.

Common UTM mistakes

Tagging internal links

Adding UTMs to links between your own pages, such as a banner on your home page linking to a promotion, starts a new session in GA4 and overwrites the visitor’s original source. Use events or content groupings to track internal promotions instead.

Inconsistent values for the same channel

email, Email, e-mail and newsletter as mediums scatter one channel across four rows. Standardise.

Linking to the http:// version

If your site redirects HTTP to HTTPS, some server configurations drop parameters during the redirect. Always tag the final HTTPS URL, and check it with our 301 redirect checker if you’re unsure.

Putting personal data in UTMs

Never put email addresses, names or other personal information in URL parameters. It’s against Google Analytics policies and a privacy risk.

Using UTMs on organic search results

Don’t add UTM parameters to URLs in your sitemap, canonical tags or internal links. Search engines may index the tagged versions, creating duplicates. Your canonical tag should always point to the clean URL; our meta tag generator online can remove tracking parameters from canonicals automatically.

Watch outShortened links and QR codes hide UTM mistakes. Test the full tagged URL before you shorten it or print it.

UTM examples for common campaigns

Use these patterns as a starting point and adapt the campaign names to your own convention.

Email newsletter

?utm_source=newsletter&utm_medium=email&utm_campaign=2026-11_monthly-update&utm_content=main-cta

If you use several email tools, you can use the tool name as the source (mailchimp, klaviyo) instead, as long as you’re consistent.

Facebook and Instagram ads

?utm_source=facebook&utm_medium=paid_social&utm_campaign=2026-11_black-friday&utm_content=video-a

Meta Ads Manager can add these automatically with URL parameters and dynamic values such as the ad name, which saves manual work across many ads.

LinkedIn organic posts

?utm_source=linkedin&utm_medium=organic_social&utm_campaign=2026-11_case-study

Google Business Profile website link

?utm_source=google&utm_medium=organic&utm_campaign=gbp-listing

Clicks from your Business Profile otherwise blend into normal Google organic traffic. This tag keeps them in the Organic Search channel while letting you see how many came from the listing.

Partner or sponsor websites

?utm_source=partner-site-name&utm_medium=referral&utm_campaign=2026_sponsorship

Influencer and creator campaigns

Give each creator a unique utm_content or campaign value so you can compare their results, and use a paid medium (for example paid_social) when the content is sponsored.

QR codes and offline campaigns

QR codes on flyers, packaging, posters and business cards are one of the best uses of UTM tags, because without them those visits show up as Direct traffic and you can’t tell whether the print campaign worked.

How to set them up

  1. Build the tagged URL with our UTM builder for GA4, using a medium such as print or qr and a source that names the item (for example flyer or packaging).
  2. Test the link on your phone and in GA4 Realtime.
  3. Generate the QR code from the full tagged URL, or from a short link that redirects to it.
  4. Use a different utm_content value for each placement or design so you can compare them.

Note that GA4 doesn’t include mediums like print or qr in its default channel rules, so they appear as Unassigned in the default report. That’s acceptable if you analyse them by session medium or campaign, or create a custom channel group for offline campaigns.

Finding UTM data in GA4

Traffic acquisition report

Go to Reports → Acquisition → Traffic acquisition. Change the primary dimension to “Session source / medium” or “Session campaign” to see your tagged traffic.

Explorations

For deeper analysis, build a free-form exploration with session source, medium, campaign and manual ad content as dimensions and conversions or revenue as metrics.

Checking a link in real time

Open your tagged link, then look at Reports → Realtime, which shows traffic by source and medium within seconds. It’s the quickest way to confirm a link is tagged correctly before a big send.

Custom channel groups

If your business relies on channels GA4 doesn’t recognise by default, such as print, podcasts or events, create a custom channel group under Admin → Data display → Channel groups. Add rules that match your own mediums (for example, medium exactly matches print or podcast), place them above the default rules and give them clear names. Custom channel groups apply to past data as well, so you can fix historical reports without retagging old links. Keep your naming conventions strict, because every rule depends on values matching exactly.

Give new campaigns a day or two to collect data before judging them, and compare like with like: the same date range, the same audience and the same conversion events.

UTM checklist

  • Source, medium and campaign set on every external campaign link.
  • Medium uses a GA4-recognised value.
  • All values lowercase, with no spaces.
  • Plain source names (facebook, not facebook.com).
  • Consistent, documented campaign naming.
  • utm_content used to tell apart links and creatives.
  • HTTPS landing page URL.
  • No UTMs on internal links, sitemaps or canonical tags.
  • Links tested in GA4 Realtime before launch.
Want campaigns tracked properly from click to sale?See our paid media services ↗

Ready to tag your next campaign? Use the UTM builder for GA4 above.

SR

Written by the SEO Return team, the digital marketing and AI agency behind these free tools. We build, test and maintain every tool ourselves and use them in our client SEO work.

Last reviewed November 2026 against Google Search Central documentation. Spotted something out of date? Tell us and we’ll fix it.

Common questions

Straight answers about the UTM Link Builder and how to use the results.

Tags added to a URL that tell Google Analytics where a visitor came from: utm_source (like facebook), utm_medium (like paid_social) and utm_campaign (like spring_sale).

Yes. GA4 treats Facebook and facebook as two different sources, so keep everything lowercase. The builder does this for you.

No. Tagging links between your own pages starts a new session and overwrites the real traffic source. Only tag links from outside your site.

Stick to values GA4 recognises, like cpc, email, paid_social, social, display, affiliate and referral, so traffic lands in the right default channel.

Yes. It’s completely free, with no sign-up, no limits on features and no API key. A fair-use limit only stops automated abuse.

Want us to fix it for you?

Send us your URL. We’ll review the results, prioritise what actually moves rankings and send you a clear plan.
Free AI growth audit
See what’s costing you leads
Free AI Growth Audit

Is your website invisible to Google and ChatGPT?

Get a free, no-strings audit of your site. We’ll find where you’re losing traffic, leads and AI visibility, and send you a short, plain-English action plan.
  • SEO and technical health check
  • Speed and Core Web Vitals review
  • ChatGPT and AI search visibility test
  • Three quick wins you can act on

Claim your free audit

Takes 20 seconds. No spam, no pushy sales calls.