Start a Project
← Insights

How to Write UTM Tags: 5 Rules to Keep Channel Performance from Mixing

Has the same channel ever shown up split across two or three rows in your campaign report? Here are five rules for naming UTM parameters in line with Google Analytics' official guidelines, plus a pre-launch checklist.

STUDIO AVIO7 min read

You open your analytics to compile ad results, only to find the same Instagram ad split across three rows: ‘Instagram,’ ‘instagram,’ and ‘ig.’ To total up which campaign performed best, you have to move it to Excel and regroup it, and meanwhile the team keeps asking, “Are these numbers right?”

In most cases, the cause is having no naming rules for the UTM tags attached to ad links. UTMs are tags added to the end of a link that tell you ‘where, how, and through which campaign’ a visitor arrived. Based on the official Google Analytics (GA4) help documentation, this article lays out five rules for setting tags so your results don’t get mixed up.

1. Always fill in the three required parameters

Google advises always using the three parameters utm_source, utm_medium, and utm_campaign. Missing values show up as ‘(not set)’ in reports, making them hard to tell apart later. Add the other parameters as needed.

ItemWhat to enterExample
utm_sourceWhere the traffic came from (referrer)instagram, newsletter, naver
utm_mediumMarketing method (medium type)cpc, email, social
utm_campaignProduct, slogan, or promotion nameautumn_launch
utm_contentDistinguishes creatives and links within the same campaignvideo_a, banner_b
utm_termPaid search keywordsbrand film production
utm_idCampaign ID (when linking with ad data)Internal reference number

In addition to the three required parameters, Google recommends setting utm_id and utm_source_platform. These are especially useful when you want to import cost data from ad platforms and view it alongside, so if you run ads, it’s a good idea to manage campaign IDs as well.

A marketer reviewing a campaign link table with the three required parameters organized

2. Standardize capitalization and spacing

UTM values are case-sensitive. Google’s help documentation explains that ‘google’ and ‘Google’ are counted as different values, and ‘SpringSale’ and ‘Spring_Sale’ are treated separately too. So the basic rule is all lowercase, with words joined consistently by either underscores (_) or hyphens (-).

  • Use only lowercase. Korean names are fine too, but decide as a team first whether to use English or Korean.
  • Use underscores instead of spaces. Spaces turn into characters like %20 in links, making them hard to read.
  • Don’t use two names for the same thing. For example, use only ‘instagram’ for Instagram.

3. Match medium values to GA4’s default channel rules

GA4 automatically classifies traffic into default channel groups such as ‘Paid Social,’ ‘Email,’ and ‘Display.’ This classification is based on source and medium values, so if you enter medium carelessly, traffic can fall into ‘Unassigned’ in reports. Here are the most commonly used rules from the official help documentation.

Default channelmedium criteria (summary)
EmailEmail-type values
DisplayOne of display, banner, expandable, interstitial, or cpm
Affiliatesaffiliate
ReferralOne of referral, app, or link
Organic Socialsocial, sm, social media, etc. (or source matches the list of social sites)
Paid Social · Paid Searchsource matches the list of social or search sites, and medium is a paid type, such as cpc, ppc, retargeting, or a value starting with paid
UnassignedWhen it doesn’t match any of the rules above

For example, setting the medium for paid Instagram ads to ‘paid_social’ matches the Paid Social rule, but using your own word like ‘promo’ may keep it from being captured in a default channel. Since Google can change its channel classification rules, we recommend checking the official ‘Default channel group’ documentation before starting each new campaign.

Traffic from multiple channels being sorted neatly by type

4. Name campaigns and creatives so they’re ‘readable at a glance’

campaign and content values are seen by many people over a long time. Months later, names like ‘test1’ or ‘final2’ make it hard to tell what the campaign was. If you define the components and their order in advance, as below, anyone can read them even when the person in charge changes.

  • campaign example: 202610_autumn_launch (run year-month → campaign name)
  • content example: shorts_15s_a, shorts_15s_b (creative format → length → version)
  • Use content when you need to tell which link was clicked within a campaign, such as two links in the same email. Google describes content as a way to distinguish creatives and links like this.

If you plan to A/B test creatives, be sure to include a version name in content. Without the tag, there’s no way to see ‘which one performed better’ later.

5. Manage names in a single sheet and check before publishing

Rules are harder to keep than to make. When each team member builds links separately, things quickly drift, so the most effective approach is to list the allowed source and medium values in a single shared document and have everyone choose from it. Building links with a tool like Google’s Campaign URL Builder also reduces typos.

Then, before publishing a link, check the following.

  1. Are all three—source, medium, and campaign—included?
  2. Is everything lowercase, joined with underscores (or hyphens) and no spaces?
  3. Are source and medium values on the team’s allowed list?
  4. Does medium use a value that matches GA4’s default channel rules?
  5. If you need to compare creatives, does content include the version?
  6. Have you clicked the link yourself and confirmed in the Realtime report that traffic comes in under the intended names?

Wrapping up

UTMs are a small agreement that, once set, makes all future reporting easier. Fill in the three required parameters, standardize on lowercase, use mediums that match GA4’s channel rules, choose readable names, and manage them in a single sheet. Following just these five rules will greatly reduce conversations about ‘the numbers not adding up.’

At AVIO, one team carries work from video production through marketing and distribution. If you’d like to decide in advance which channels you’ll measure your content on and how, feel free to get in touch.

References

  1. Google Analytics Help - Collect campaign data with custom URLs (UTM parameters)
  2. Google Analytics Help - Default channel group

If you'd like to plan everything from concept to distribution together, like in this post.

Start a Project