UTM Parameters: Structure, Naming Rules and Common Mistakes
With UTM parameters, you see in Google Analytics 4 which newsletter, post or flyer brings visitors. Here is how to build clean UTM links and avoid the most common mistakes.

UTM parameters are short additions at the end of a URL that you use to mark the source, the medium and the campaign a visitor comes from. A UTM link looks like this, for example: example.com/offer?utm_source=newsletter&utm_medium=email&utm_campaign=fall_sale. Google Analytics 4 (GA4) reads these values when the page loads and assigns the visit, and all following inquiries or purchases, to this campaign. Without UTM parameters, many visits from newsletters, social media posts or QR codes end up under “Direct” or “Referral,” and you do not know which activity really delivered anything.
The five UTM parameters at a glance
UTM tracking originally comes from an analytics tool called Urchin, which Google later acquired. That is where the abbreviation comes from: Urchin Tracking Module. The five classic parameters are still understood today by Google Analytics 4, Matomo and almost all other tools. Each parameter answers its own question.
- utm_source: Who sends the visitor? For example newsletter, linkedin, facebook, partner_site.
- utm_medium: What kind of channel is it? For example email, social, paid_social, cpc, qr, print.
- utm_campaign: Which promotion does the link belong to? For example fall_sale_2026 or webinar_october.
- utm_term: Which keyword or audience? Mainly for paid search outside Google Ads.
- utm_content: Which variant was clicked? For example button_top and link_bottom, or image_a and image_b.
Google Analytics 4 also knows utm_id for a campaign ID and a few newer fields such as utm_source_platform. For most small and midsize businesses, the five classic parameters are enough. What matters is not the number, but that utm_source, utm_medium and utm_campaign are always set and always filled according to the same rules.
How does GA4 turn UTM parameters into channels?
Google Analytics 4 sorts every visit into a default channel group, for example Organic Search, Paid Search, Email, Organic Social, Paid Social or Referral. For visits outside Google Ads, GA4 looks at utm_medium and utm_source for this classification. Google sets the rules, and they cannot be edited. If utm_medium contains the value email, the visit lands in the Email channel. If it contains cpc and the source is a search engine, it lands in Paid Search. For social networks, GA4 uses the medium to tell organic from paid visits.
| utm_medium | utm_source (example) | Channel in GA4 |
|---|---|---|
| newsletter | ||
| social | Organic Social | |
| paid_social | Paid Social | |
| cpc | bing | Paid Search |
| display | partner_site | Display |
| affiliate | partner_site | Affiliates |
| newsletter | newsletter | Unassigned |
| print or qr | flyer | Unassigned |
Most mistakes happen in the channel assignment. If you enter “Newsletter” as the medium instead of email, or “Facebook post” instead of social, you often get the Unassigned channel in GA4. The data is there, but it does not show up in any channel report where you would look for it. So stick to the terms Google expects for the default channel groups when it comes to the medium, and use utm_source and utm_campaign for the finer details. For channels Google does not know, such as printed flyers, you create your own channel group in GA4. The exact rules are in the Google Analytics Help article on the default channel group.
→ Cookie banner with Consent Mode v2: compliant, with no monthly license
Creating UTM parameters with a fixed naming list
The biggest lever for clean data is a naming convention that everyone follows. GA4 distinguishes between uppercase and lowercase. Newsletter, newsletter and NEWSLETTER appear as three separate rows in the report. With a small team of three people building links, dozens of variants of the same source pile up within a few months. In the standard reports, these variants can no longer be merged into one row later.
- Lowercase only, no umlauts, no spaces. Use an underscore instead of a space.
- A fixed list for utm_medium with at most eight to ten values, for example email, social, paid_social, cpc, display, affiliate, referral, print.
- A fixed list for utm_source, with new entries only after agreement.
- Campaign names with the year or month, so recurring promotions stay distinguishable.
- A shared spreadsheet in which every UTM link created is logged with its date and purpose.
To generate the links, a spreadsheet that assembles the values from dropdown lists is enough. Google also offers the free Campaign URL Builder. What matters is that nobody types values in by hand. For printed flyers or posters, you put the UTM link in a QR code so that nobody has to type it, and set the medium to qr or print, for example.
Which mistakes happen most often with UTM parameters?
The most common mistake with UTM parameters is putting them on internal links. If you link a banner on your own home page with ?utm_source=homepage, for example, you overwrite the visitor’s real origin. A user who came through Google Ads suddenly appears under an invented source, and the later inquiry is credited to the wrong campaign. For internal clicks, it is better to use a custom event in GA4, for example through Google Tag Manager.
The second typical UTM mistake concerns Google Ads. If auto-tagging is active, Google Ads appends the click ID gclid to every click. GA4 then pulls the campaign, ad group and keyword directly from the linked Google Ads account. If you also write manual UTM parameters into the ad URLs, you risk conflicting information. As a rule: use auto-tagging for Google Ads and UTM parameters for all other channels.
You can spot other mistakes in UTM links quickly if you open the Traffic acquisition report in GA4 and break it down by session source / medium. If you see values with uppercase letters, typos like emial or very long campaign names with spaces, the naming list is not in use. Another warning sign: redirects that cut off the part after the question mark. This happens easily with wrongly set up short links or redirect rules. So test every new UTM link yourself once and check in the GA4 real-time view that source and medium arrive.
→ Setting up Google Consent Mode v2 correctly: no warning in Tag Assistant
Keeping UTM data in forms and in the CRM
UTM parameters only appear in the first URL a visitor lands on. If they click on to the services page and then to the contact form, the parameters have disappeared from the address bar. GA4 did store the campaign, but the inquiry that reaches you by email or in the CRM says nothing about it. Especially for B2B service providers, where an inquiry only turns into a job weeks later, the link between campaign and revenue is then missing.
The solution: a small script reads the UTM values and click IDs such as gclid or fbclid on the first page view, stores them for the duration of the visit and writes them into hidden form fields on submit. That way, every inquiry shows whether it came from the newsletter, from LinkedIn or from a campaign in Google Ads. Whether consent is needed for this depends on how and where the values are stored. Clarify that with your privacy advisor.
Example from practice: a painting company with a newsletter and flyers
A painting company sends a newsletter to existing customers every month and hands out flyers in the neighborhood in spring. Until now, both channels appeared in GA4 as direct visits. After the switch, the newsletter link gets utm_source=newsletter, utm_medium=email and utm_campaign=spring_2026, and the QR code on the flyer gets utm_source=flyer, utm_medium=print and the same campaign. In addition, the values end up in hidden fields of the inquiry form. Because GA4 does not assign the medium print to any default channel, the company creates its own channel group with a Print channel. After eight weeks, the owner can see in GA4 and in every single inquiry which channel brings quote requests, and can plan the print run for fall accordingly.
Having your UTM parameters checked and set up
UTM parameters are quick to build, but they are only useful if the naming rules are followed, Google Ads runs through the gclid and the campaign data is passed all the way into the inquiry. Trackum sets this up in your site’s Google Tag Manager: the Campaign data in forms extra costs a one-time €50 excl. VAT and makes sure UTM parameters and click IDs are kept as visitors click on and appear in every inquiry. If you first want to know where your tracking has gaps today, the free Trackum check shows the findings in two minutes, with no sign-up.
Frequently asked questions
What are UTM parameters, in simple terms?
UTM parameters are additions at the end of a URL, for example ?utm_source=newsletter&utm_medium=email. They tell your analytics tool where a visitor comes from. The page itself does not change because of them.
Which UTM parameters are required?
Technically none is required, but you should always set utm_source, utm_medium and utm_campaign. If utm_medium is missing, Google Analytics 4 cannot assign the visit to a channel cleanly. utm_term and utm_content are optional.
Do I need UTM parameters for Google Ads?
Usually not. With auto-tagging turned on, Google Ads appends the click ID gclid, and Google Analytics 4 reads the campaign and ad group from it. Additional UTM values tend to lead to conflicting data.
Are UTM parameters a privacy problem?
The parameters themselves contain no personal data, as long as you do not put any in. Never put email addresses, names or customer numbers in a UTM link. Whether the analysis needs consent depends on the analytics tool, not on the link.
Sources
- Google Analytics Help: Default channel group support.google.com
- Google Analytics Help: Collect campaign data with custom URLs support.google.com
- Google: Campaign URL Builder ga-dev-tools.google
- Google Ads Help: About auto-tagging support.google.com
Read more
FeaturesCookie banner with Consent Mode v2: compliant, with no monthly license
Reject on the first layer, settings per purpose, Consent Mode v2 with every consent type and a record of each choice. No monthly license.
FeaturesSetting up Google Consent Mode v2 correctly: no warning in Tag Assistant
The most common warning in Tag Assistant says a tag read consent before a default was set. How to avoid it, and what else matters.
FeaturesMarketing dashboard with GA4 and Google Ads: every number on one page
Visitors, leads, orders, ad spend and ROAS per campaign on one page, compared with the previous period. One link, nothing to set up.
FeaturesRevenue from your CRM, shop and ERP in one dashboard: HubSpot, Shopify, Odoo and more
Google Analytics only sees what happens on the website. Orders by phone or email are missing. With a data connection, the real revenue from your system appears in the dashboard.
FeaturesWebsite leads with their source in your CRM: HubSpot, Pipedrive, Brevo, Salesforce or webhook
Where did the lead come from? The CRM handover writes source, campaign and click ID into the CRM with every inquiry, without a form plugin.
FeaturesOffline conversions: report sales from your CRM to Google Ads and Meta
Google Ads and Meta learn from what you report to them. If they only get form fills, they optimize for form fills. With offline conversions, they optimize for sales.