Sub topic 2
The UTM Parameters and What Each One Means
Assume you understand basic URLs and query strings, have a GA4 property with a web data stream installed, and can open GA4 reports. A UTM parameter is a name-and-value pair added to a URL so GA4 can identify the campaign that brought a user to your site.
A URL without campaign information might look like this:
https://example.com/pricingA tagged URL adds a query string after ?:
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_saleThe three core parameters are utm_source, utm_medium, and utm_campaign. Use them together when you manually tag a campaign link.
The core UTM parameters
| Parameter | What it identifies | Example value |
|---|---|---|
| `utm_source` | The specific site, platform, or sender | `newsletter` |
| `utm_medium` | The type of traffic or marketing channel | `email` |
| `utm_campaign` | The promotion or initiative | `spring_sale_2026` |
utm_source answers, “Where did this visitor come from?” Examples include newsletter, facebook, partner_site, and google.
utm_medium answers, “What kind of traffic was this?” Common values include email, social, cpc, display, and affiliate. The medium is especially important because GA4 uses the source and medium to help assign a default channel group.
utm_campaign identifies the larger marketing effort. A campaign might be spring_sale_2026, product_launch, or webinar_registration. Use the same campaign value for all links that belong to the same effort.
For example, this link identifies a newsletter email promoting a spring sale:
https://example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026Optional parameters for comparing links
The core parameters tell you the campaign’s source, medium, and name. Optional parameters add detail when one campaign contains several versions of a link.
utm_content distinguishes different links or creative elements within the same source, medium, and campaign. For example:
https://example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026&utm_content=hero_buttonYou could use hero_button, footer_link, and product_image to compare link placements in one email. For paid campaigns, values such as video_a and video_b can distinguish creative versions.
utm_term traditionally identifies a paid search keyword. For example:
utm_term=running_shoesUse it only when the term has a clear meaning in your advertising workflow. Do not fill it with arbitrary text just because the field exists.
utm_id identifies a campaign with a stable ID. A readable campaign name can change, but an ID such as cmp_2026_014 can remain fixed across systems. This is useful when you connect advertising, customer relationship management, and analytics data.
Some advertising workflows also use additional parameters such as utm_source_platform, utm_creative_format, or utm_marketing_tactic. Adopt them only when your reporting process needs them and your team has agreed on their meanings.
How GA4 uses the values
When a visitor follows a tagged link, the browser sends the URL to your website. GA4 reads the UTM values from the landing page URL and uses them in acquisition dimensions such as Session source, Session medium, and Session campaign.
The values describe the visit’s acquisition context. A user can first arrive through an email link and later return through a search result. Those visits can have different session-level source and medium values.
GA4 also provides user-scoped and first-user acquisition dimensions. A first-user dimension describes how GA4 originally acquired the user, while a session dimension describes the current session. Choose the scope that matches your question.
Check your understanding
Exercise
An email contains two links to the same landing page. Both links use utmsource=newsletter, utmmedium=email, and utmcampaign=springsale_2026. Which parameter should distinguish the links, and why?
Show answer
Use utmcontent, such as herobutton and footer_link. It distinguishes links within the same source, medium, and campaign so their performance can be compared.