What UTM parameters are
UTM parameters are tags added to the end of a URL that tell Google Analytics 4 (and most other analytics tools) where a visit came from. Without them, a click from a newsletter, a QR code or an Instagram story often shows up as "Direct" or "Unassigned", and you can't tell which campaign drove the sale.
With the default values, this campaign URL builder turns https://www.example.com/ into:
https://www.example.com/?utm_source=google&utm_medium=cpc&utm_campaign=black-friday
Because the medium is a paid one and the source is a search engine, GA4 will classify these sessions as Paid Search. The builder keeps any query string your URL already has, replaces old utm_* values and leaves a #anchor at the end, where it belongs.
The UTM parameters and when to use each
| Parameter | What it answers | Examples |
|---|---|---|
utm_source (required) | Which site, platform or list sent the visit? | google, facebook, instagram, newsletter |
utm_medium (required) | What type of channel is it? | cpc, paid_social, email, social, affiliate, sms |
utm_campaign (required) | Which promotion or initiative? | black-friday, spring-launch |
utm_term | Which keyword or audience? | running-shoes, lookalike-1 |
utm_content | Which ad, creative or link? | video-15s, header-button |
utm_id | Which campaign ID? | Used to join cost data imports in GA4 |
The medium matters most for channel grouping. GA4 looks at source and medium together: a paid medium plus a search engine becomes Paid Search, a paid medium plus a social network becomes Paid Social, email becomes Email, affiliate becomes Affiliates, social becomes Organic Social, and so on. Anything it can't match falls into Unassigned, which is why the builder shows the predicted channel before you publish.
UTM naming conventions that keep reports clean
- Always lowercase. GA4 treats "Facebook" and "facebook" as two different sources, splitting your data. The normalize option handles this for you.
- Use hyphens instead of spaces so links don't break into
%20and stay readable. - Keep a shared list of approved sources and mediums in a spreadsheet so everyone on the team tags the same way.
- Put the detail in the right field: the platform goes in source, the channel type in medium, the creative in content. Don't cram everything into the campaign name.
- Be consistent over time. Changing a naming scheme mid-year makes year-over-year comparisons painful.
Common UTM mistakes
- Tagging internal links. UTMs on links between pages of your own site start a new session and overwrite the original source. Use them only on links that point to your site from outside.
- Inventing mediums. A medium like
ig-story-addoesn't match any GA4 rule and ends up Unassigned. - Tagging Google Ads manually when auto-tagging is on. Let the gclid do the job and keep UTMs for other platforms, or make sure the two don't conflict.
- Forgetting redirects. Some redirects drop the query string. Click your final link once and confirm the parameters survive.
Where UTM data shows up in GA4
In GA4, open Reports › Acquisition › Traffic acquisition and switch the primary dimension to Session source / medium, Session campaign or Session default channel group. For content and term, add a secondary dimension or build an Exploration. Then connect traffic to outcomes: measure creative tests with the A/B test calculator, check paid performance with the CPM, CPC and CTR calculator, and tag the landing page behind your WhatsApp link so chat leads keep their source.