Free UTM Naming Convention Generator
Turn your campaign naming rules into a shareable convention: a campaign name pattern, approved sources and mediums checked against GA4 channels, and a downloadable rule sheet.
Why you need a UTM naming convention
Google Analytics 4 groups data by exact text. “Facebook”, “facebook” and “fb” are three different sources; “spring-sale”, “spring_sale” and “Spring Sale” are three different campaigns. Without agreed rules, every person who builds links invents their own spelling, and reports fragment into dozens of near-duplicate rows that nobody trusts.
A naming convention is a short document that removes these choices. It defines how to write each parameter, which values are allowed and how campaign names are assembled. Once it exists, anyone – agency, freelancer or new hire – produces links that roll up cleanly.
How to create your convention
- Choose campaign name parts. Most teams combine a period, a market, a product and an objective. Leave fields empty if you do not need them.
- Pick a separator. Underscores are the most common choice and read well in GA4. Use one separator only.
- List approved sources and mediums. Keep the lists short. Every value is converted to lowercase and the separator you chose.
- Generate. The tool returns an example campaign name, flags mediums that would fall into GA4’s Unassigned channel, and writes a rule sheet you can copy into Google Docs, Notion or a wiki.
- Download the CSV to use as a drop-down list in Google Sheets or as the input for the bulk UTM generator.
A practical pattern
Pattern: {date}_{region}_{product}_{objective}_{audience}
Example: 2026_11_us_running_shoes_sales_retargeting
Why this order? Reports sort alphabetically, so starting with the date groups campaigns chronologically. Region next lets you filter by market with a simple “contains” rule. Product and objective explain what the campaign was for, and audience separates prospecting from remarketing.
Keep campaign names readable and under about 100 characters; long names are hard to scan in reports and may be truncated in some tools.
Recommended rules for every parameter
- utm_source: the platform or publication in one word – google, bing, facebook, instagram, linkedin, tiktok, newsletter, partner name.
- utm_medium: the channel type, chosen from values GA4 understands: cpc, paid_social, email, social, display, affiliate, referral, video, sms.
- utm_campaign: the pattern above.
- utm_content: creative or link position – hero_button, footer_link, video_15s, carousel_v2.
- utm_term: paid keyword or audience segment.
- utm_id: the campaign ID from your ad platform or planning sheet, if you import cost data.
General rules: lowercase only, no spaces, no personal data, no UTMs on internal links, and one owner who approves new values.
Keeping the convention alive
Conventions fail when they live only in someone’s head. Store the rule sheet where link builders work, review the source/medium report in GA4 monthly, and fix stray values at the source. GA4 does not let you rewrite historical campaign values, so prevention matters more than clean-up. Validate links with the UTM checker before launch.
Limitations
The generator proposes structure; it does not enforce it. Channel checks use Google’s default channel rules in simplified form – if your property uses a custom channel group, confirm the mapping in GA4 Admin.
Frequently asked questions
Should UTM values be lowercase?
Yes. GA4 values are case-sensitive, so lowercase avoids split rows.
Underscores or hyphens?
Either works. Pick one and use it everywhere. Underscores are slightly more common in analytics teams.
What utm_medium values should I use?
Use values that match GA4 default channel rules, such as cpc, paid_social, email, social, display, referral and affiliate.
Can I change my naming convention later?
Yes, but historical data keeps the old values. Change it at the start of a new period and document the switch date.
Sources and further reading
- Google Analytics Help – [GA4] Collect campaign data with custom URLs
- Google Analytics Help – Default channel group
- Google Analytics Demos & Tools – Campaign URL Builder
Formulas and rules on this page were checked against the sources above. Last reviewed: October 2026 by the AM Digital Marketing Agency team.
Related free tools
Need help with tracking and analytics?
We can set up GA4, Google Tag Manager, UTM governance and reporting for your business.