Home › Tools Hub › UTM builder

Free tool

UTM Builder

Build a tracked link for any campaign in seconds. Pick the channel, name the campaign and copy the URL. The checks catch the mistakes that send visits to "Unassigned" in GA4.

By Anthony McGrath · Updated

Quick answer: A UTM link is your page address with tags added: ?utm_source=facebook&utm_medium=paid_social&utm_campaign=spring_sale. utm_source is where the click came from, utm_medium is the type of traffic and utm_campaign is the campaign name. Keep them lower case with no spaces, and use a medium GA4 recognises (cpc, paid_social, email, social) so the visits land in the right channel.

Your link

Where the click comes from. Required.
The type of traffic. Required.
The campaign name.
More tagsOptional

Optional tags to tell ads, keywords and links inside one campaign apart.

Which ad, creative or link.
The keyword, mainly for paid search.
Used by GA4 for cost data imports.

Your tracked URL

Built in your browser. Nothing you type is sent anywhere.

What UTM parameters are

UTM parameters are tags added to the end of a link that tell Google Analytics 4 where a visit came from. Without them, a click from an email, a social post or a paid social ad can show up as "Direct", "Referral" or "Unassigned", and you cannot see which campaign worked.

The UTM parameters and what to put in them
ParameterWhat it meansExamples
utm_sourceThe site, platform or list the click came fromgoogle, facebook, instagram, newsletter
utm_mediumThe type of traffic (decides the GA4 channel)cpc, paid_social, social, email, affiliate
utm_campaignThe campaign or promotionspring_sale, black_friday_2026
utm_contentWhich ad, creative or linkvideo_a, header_link
utm_termThe keyword (paid search)running_shoes
utm_idA campaign ID for cost data importsspring26

Getting the GA4 channel right

GA4 puts each visit into a default channel group using the source and medium. Use these mediums and the visits land where you expect:

utm_medium values and the GA4 default channel they map to
Trafficutm_mediumGA4 channel
Paid searchcpcPaid Search
Paid social adspaid_social (or cpc with a social source)Paid Social
Unpaid social postssocialOrganic Social
EmailemailEmail
AffiliatesaffiliateAffiliates
Display bannersdisplayDisplay

Rules that keep reports clean

  • Lower case, no spaces. GA4 treats "Facebook" and "facebook" as two sources. Use underscores instead of spaces.
  • Do not tag internal links. UTMs on links within your own site start a new session and overwrite the real source.
  • Leave Google Ads auto-tagging on. Google Ads adds its own gclid tag, which is more accurate. Only add UTMs to Google Ads if auto-tagging is off.
  • Write your naming rules down and use the same campaign names across every channel.

Key terms

UTM
Urchin Tracking Module, named after the tool Google Analytics grew from.
Default channel group
GA4's rules that turn source and medium into channels such as Paid Social and Email.
Auto-tagging
Google Ads adding a gclid to each click automatically, instead of UTMs.
Unassigned
The GA4 channel for visits whose source and medium match no rule.

Related: the conversion rate calculator, the Meta ads calculator and tracking setup.

Questions

What is a UTM builder?

A tool that adds UTM tags (utm_source, utm_medium, utm_campaign and others) to a link so Google Analytics 4 can tell which campaign a visit came from.

Which UTM parameters are required?

utm_source and utm_medium are needed for GA4 to group the visit properly. utm_campaign is strongly recommended. utm_content, utm_term and utm_id are optional.

Why does my UTM traffic show as Unassigned in GA4?

Usually because the utm_medium is not one GA4 recognises, such as "paid" or "facebook_ads". Use cpc, paid_social, social, email, affiliate or display.

Should I use UTMs on Google Ads?

Not usually. Leave auto-tagging on and Google Ads adds a gclid that gives GA4 more detail. Add UTMs only if auto-tagging is switched off.

Should UTMs be lower case?

Yes. GA4 is case-sensitive, so "Email" and "email" show as two different mediums. This builder converts everything to lower case.

Can I use UTMs on links inside my own website?

No. Tagging internal links starts a new session and replaces the real source of the visit, which breaks your reports.

What UTM should I use for Facebook and Instagram ads?

utm_source=facebook or instagram, utm_medium=paid_social and utm_campaign set to your campaign name. Meta can fill these in for you with its URL parameters, such as {{campaign.name}}.

Do UTM parameters affect SEO?

No, as long as your pages have a canonical tag pointing to the clean address, which tells search engines to ignore the tags.

Free · Scorch™ growth scoreWant the full picture?One score for SEO, speed, tracking, AI visibility and wasted Google Ads spend, with the fixes ranked. 3 free scans, no card.Score my site →