Small Business

How to Create a UTM Naming Convention Your Whole Team Follows

Why UTM naming rules matter in GA4, how to define sources, mediums and campaign patterns, build links in bulk and keep a library of every tracked link.

Saizul Amin
Saizul Amin2 Nov 2026 · 3 min read
How to Create a UTM Naming Convention Your Whole Team Follows

How to Create a UTM Naming Convention Your Whole Team Follows

UTM parameters tell analytics where a visit came from. They are easy to add and just as easy to get wrong: one person writes "Facebook", another "facebook" and a third "fb", and the report shows three sources instead of one. A naming convention fixes this, and a shared library keeps it working. This guide explains how to set one up with the free UTM campaign library and naming convention manager.

The five main parameters

  • utm_source: where the visit came from, such as google, newsletter or instagram.
  • utm_medium: the type of channel, such as cpc, email, paid-social or affiliate.
  • utm_campaign: the campaign or promotion name.
  • utm_content: which ad, link or creative inside the campaign.
  • utm_term: the paid keyword, mostly for search ads.

There is also utm_id for a campaign ID that links to imported cost data. Source, medium and campaign are the minimum for useful reports.

Why case and spelling matter

Google Analytics 4 treats parameter values as case-sensitive, so "Email" and "email" are counted separately. GA4 also groups traffic into default channels using rules based on source and medium. If the medium is "e mail" or "Social", the visit can land in "Unassigned" instead of Email or Organic Social, and the channel report becomes useless.

Write the rules down

A practical convention fits on one page:

  1. Lower case only.
  2. One separator between words, for example a hyphen.
  3. An approved list of sources and mediums.
  4. A campaign pattern such as year-month_campaign-name.
  5. Which parameters are required.
  6. A maximum length.

The manager stores these rules, suggests approved values as you type, checks every link against the pattern and offers an auto-fix for case and spaces.

Choose mediums that GA4 understands

Use cpc or ppc for paid search, paid-social for paid social ads, social for organic social posts, email for newsletters and automations, affiliate for partners, referral for other sites and display for banner ads. With these mediums the predicted GA4 channel appears next to each link, so you can spot problems before launch.

Build in bulk from a sheet

Campaigns with many ads produce many links. Paste the rows from a spreadsheet with columns for the URL and each parameter. The bulk builder creates every tracked link, lists rule problems per row, and offers a fixed version. Save the valid rows to the library and download the results for your ad platform.

Keep a library

The library is the memory of your tracking: every link with its label, tags, owner, notes and date. Before creating a new link, search the library; reusing a link keeps reports clean. When someone asks what "2026-10_autumn-sale" meant, the answer is there.

QR codes for print

For posters, packaging and business cards, turn a tracked link into a QR code. Use a medium such as print or qr and a source that names the item, so scans appear separately in analytics. Download the code as SVG for print quality.

UTM parameters belong on links that bring people to your site from elsewhere. Adding them to links between your own pages starts a new session and overwrites the original source.

Example

A shop pasted three rows for Black Friday. The Google cpc row followed the rules and was predicted as Paid Search. A row written as "Newsletter", "Email" and "Black Friday" had six problems, including capitals, a space and a campaign name without the date prefix; the auto-fix produced newsletter, email and black-friday. The partner row with medium affiliate passed and was predicted as Affiliates.

Limits

The channel prediction follows a simplified version of GA4's published default rules and does not include custom channel groups. The manager builds, checks and stores links; it does not shorten them, track clicks or connect to Google Analytics. Check real reports after launch to confirm traffic lands where expected.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages