Sub topic 5
Tagging Campaign Links with UTM Parameters
Assumptions
You should know the GA4 interface, sessions, users, and events. You should also understand that a URL can contain query parameters, which are values added after a question mark.
UTM parameters are query parameters that identify marketing links. GA4 reads them when a user arrives and uses them to populate traffic dimensions such as source, medium, and campaign. Those dimensions help GA4 assign the session to a channel such as Email or Paid Search.
The core UTM parameters
Use these three parameters for most campaign links:
| Parameter | Meaning | Example |
|---|---|---|
| `utm_source` | The platform or publisher that sent the visitor | `newsletter` |
| `utm_medium` | The marketing method or type of traffic | `email` |
| `utm_campaign` | The promotion or initiative name | `spring_sale_2026` |
For example, this link identifies an email campaign:
https://www.example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026GA4 can use newsletter as the source, email as the medium, and spring_sale_2026 as the campaign. Because the medium is email, the session can appear in the Email channel.
A paid search link might look like this:
https://www.example.com/spring-sale?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale_2026Here, cpc means cost per click. With Google as the source and a paid-search medium, GA4 can classify the session as Paid Search.
Optional parameters add detail:
utm_contentdistinguishes links in the same campaign, such ashero_buttonandfooter_link.utm_termidentifies a paid search keyword when you need to pass that information manually.utm_ididentifies a campaign with a stable internal ID.
A practical tagging process
- Choose a naming convention before creating links. Decide whether campaign names use lowercase, underscores, or hyphens.
- Use a specific source. For an email newsletter, use
newsletter, not several variations such asNewsletterandemail-list. - Use a medium that matches the traffic type. Use
emailfor email,cpcfor paid search, andsocialor a more specific paid-social medium according to your reporting standard. - Add the parameters to the destination URL.
- Test the final link before publishing it.
- Record the link in a campaign register so future links use the same names.
The parameter values are case-sensitive in many reporting systems. Email, email, and EMAIL can create separate values or inconsistent classifications. Avoid spaces and special characters when possible. Encode values that contain reserved URL characters.
Manual tags and auto-tagging
Manual UTM tags are useful for newsletters, partner links, social posts, and other campaigns that do not automatically pass advertising data. Google Ads can use auto-tagging instead. When Google Ads is linked to GA4, the advertising click can provide campaign information automatically.
Do not casually mix manual and automatic naming systems. Confirm which dimensions your reports use, then keep the setup consistent. A manually tagged Google Ads URL may also conflict with automatically supplied information.
Exercise
A newsletter link uses utmsource=newsletter, utmmedium=email, and utmcampaign=springsale_2026. Which channel should you expect, and why?
Show answer
Email, because the medium is email and the source and campaign identify the newsletter promotion.