Sub topic 4
Naming Conventions That Keep Reports Clean
Prerequisites: you should understand basic URLs and query strings, have a GA4 web data stream installed, and know how to open GA4 acquisition reports. This chapter focuses on naming UTM values consistently. It does not cover every way to create a tagged URL.
GA4 treats UTM values as dimension values. It does not know that Email, email, and e-mail mean the same thing. It records them as different values. Small differences can therefore split one campaign across several rows and make totals harder to interpret.
Use a fixed vocabulary
Choose a naming system before people start creating links. Document the allowed values for the fields that you use most often.
A practical convention is:
- Use lowercase letters.
- Separate words with underscores.
- Avoid spaces, punctuation, and accented characters.
- Use stable names instead of temporary descriptions.
- Do not include personal information.
- Keep names specific enough to identify the traffic source.
- Reuse the same value when it represents the same thing.
For example, use newsletter consistently for an email newsletter. Do not alternate between newsletter, email_newsletter, and Email.
The core parameters usually follow this model:
| Parameter | What it identifies | Example value |
|---|---|---|
| `utm_source` | The platform, publisher, or sender | `newsletter` |
| `utm_medium` | The marketing method or traffic type | `email` |
| `utm_campaign` | The business initiative or promotion | `spring_sale_2026` |
| `utm_content` | A creative, placement, or link variation | `hero_button` |
| `utm_term` | A paid keyword or targeting term | `running_shoes` |
Use utm_content when several links in the same campaign have the same source, medium, and campaign. For example, hero_button, product_grid, and footer_link can distinguish locations in one email.
Use utm_term mainly when you need to record a keyword or targeting value. Do not fill every parameter simply because it exists. Extra values create maintenance work and can introduce inconsistent data.
Design names as a hierarchy
A useful campaign name answers three questions:
- What initiative is this?
- When or which version does it represent?
- What audience or product does it target, if that distinction matters?
For example:
spring_sale_2026
or:
spring_sale_2026_running_shoes
Avoid putting every detail into utm_campaign. A long value such as spring-sale-email-hero-button-audience-35-44-version-b mixes several dimensions. Put link placement in utm_content, audience information in a separate parameter only when your measurement design supports it, and creative version in utm_content when appropriate.
A campaign naming policy should also define date formats. Use an unambiguous format such as 2026_03 or 2026_q1. Do not mix march_2026, 03_26, and spring_2026 unless each has a distinct meaning.
function normalizeCampaignValue(value) {
return value
.trim()
.toLowerCase()
.replace(/\s+/g, "_")
.replace(/[^a-z0-9_]/g, "");
}
console.log(normalizeCampaignValue("Spring Sale 2026"));
// spring_sale_2026This helper is useful for enforcing a basic format, but normalization cannot decide whether two different names represent the same campaign. That decision belongs in your naming policy.
Keep source and medium meaningful
Source and medium work together. A source such as facebook identifies where the traffic came from. A medium such as paid_social identifies how it was delivered.
Use a consistent pair:
utm_source=facebookandutm_medium=paid_socialutm_source=googleandutm_medium=paid_searchutm_source=newsletterandutm_medium=email
Do not use a campaign name as the medium. utm_medium=spring_sale makes channel reporting less useful because the value describes an initiative rather than a traffic method.
The same source and medium can be used for several campaigns. That structure lets GA4 group traffic by channel while still allowing campaign-level analysis.
Govern the process
A shared spreadsheet, form, or URL builder can provide the approved source, medium, and campaign values. Assign ownership for the vocabulary. Without ownership, different teams will slowly introduce competing spellings.
Before publishing a link, check:
- The source and medium pair matches your channel taxonomy.
- The campaign name follows the date and separator rules.
- The link does not contain accidental uppercase letters or spaces.
- Different links in one campaign use content values only when they need comparison.
- Internal links are not tagged with external campaign parameters.
Internal UTM tags can overwrite the original campaign context when a visitor moves between pages. That can turn an external visit into a self-referral or make the original campaign difficult to analyze. Use UTMs for links that bring users into the site, not for ordinary navigation within the site.
Exercise
An email team uses utm_source=Newsletter, utm_medium=email, and utm_campaign=Spring Sale 2026. Rewrite the values using the convention in this chapter.
Show answer
Use utm_source=newsletter, utm_medium=email, and utm_campaign=spring_sale_2026. If links in the email need comparison, add values such as utm_content=hero_button and utm_content=product_grid.