UTM Parameters Explained: Track Every Campaign in GA4
UTM parameters are the tags at the end of a link — ?utm_source=newsletter&utm_medium=email — that tell your analytics where a visitor came from. They are simple, but inconsistent naming quietly ruins reports. This guide gives you a naming system that GA4 understands and the mistakes to avoid.
What UTM parameters do
When someone clicks a link with UTM tags, Google Analytics reads the tags and records the visit under that source, medium and campaign instead of guessing. Without them, a click from an email app or a PDF often shows up as “direct” traffic, and you can’t tell which campaign worked.
The five parameters
| Parameter | Answers | Examples |
|---|---|---|
utm_source | Who sent the traffic? | google, facebook, newsletter, partner-site |
utm_medium | What kind of channel? | cpc, email, social, paid-social, referral, affiliate |
utm_campaign | Which campaign? | black-friday-2026, spring-launch |
utm_content | Which link or creative? | header-button, video-ad-a |
utm_term | Which keyword? | running shoes (mostly for paid search) |
Source, medium and campaign are the ones you should always set. GA4 also reads utm_id (a campaign ID), which is useful when importing cost data.
Use mediums GA4 recognizes
GA4 sorts traffic into default channel groups — Email, Paid Search, Organic Social, Paid Social, Referral, Affiliates and others — largely by looking at the medium. If you invent mediums like e-mail or newsletter, those visits land in “Unassigned”. Stick to recognized values: email for email, cpc for paid search, social for organic social posts, paid-social or cpc with a social source for paid social, affiliate, referral and display.
A naming convention that survives
- Lowercase everything. GA4 is case-sensitive:
Facebookandfacebookbecome two rows. - Use hyphens, not spaces. Spaces turn into
%20or+and are easy to mistype. - Write the rules down in a shared sheet: allowed sources, mediums and campaign name format, such as
yyyy-mm-name.
The UTM Builder lowercases and cleans values for you and has presets for Google Ads, Meta, LinkedIn and email. When a campaign needs dozens of links, the Bulk UTM Builder tags a whole list at once from a spreadsheet.
Where not to use UTMs
Never put UTM tags on links between pages of your own site. Clicking one starts a new attribution in GA4, so a visitor who arrived from Google Ads and then clicked your tagged banner gets credited to the banner instead. Use events or content groups to measure internal promotions.
Also avoid tags on links you share for SEO, such as in guest posts meant to pass link value; the tagged URL may be indexed separately. If that happens, a canonical tag on your page pointing to the clean URL fixes it.
Track print, QR codes and offline
A flyer, a package insert or a conference slide can be tracked too. Build a tagged URL — for example utm_source=flyer&utm_medium=print&utm_campaign=spring-open-house — and turn it into a QR code with the QR Code Generator. Each placement gets its own utm_content so you can compare them.
Where to see the results
In GA4, open Reports → Acquisition → Traffic acquisition and change the dimension to Session source / medium or Session campaign. Data can take up to a day to appear. To check what a tagged link actually contains, paste it into the URL Parser.