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 with which you mark the source, the medium and the campaign a visitor comes from. A UTM link looks like this, for example: example.co.uk/offer?utm_source=newsletter&utm_medium=email&utm_campaign=autumn_sale. Google Analytics 4 (GA4) reads these values on page view and assigns the visit, and all later enquiries 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 achieved 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 a question of its own.
- utm_source: who is sending 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 activity does the link belong to? For example autumn_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 additionally knows utm_id for a campaign ID, as well as some newer fields such as utm_source_platform. For most small and medium-sized 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 in by 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 and paid visits apart.
| 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 channel Unassigned in GA4. The data is there, but it does not show up in any channel report where you would look for it. So for the medium, stick to the terms Google expects for the default channel groups, and use utm_source and utm_campaign for the finer detail. For channels Google does not know, such as printed flyers, you create a custom 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 licence
Creating UTM parameters with a fixed naming list
The biggest lever for clean data is a naming convention that everyone follows. GA4 distinguishes between upper and lower case. 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 arise within a few months. In the standard reports, these variants can no longer be merged into one row later.
- Lower case only, no special characters, 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, to which new entries are added only by agreement.
- Campaign names with the year or month, so that recurring activities stay distinguishable.
- A shared spreadsheet in which every UTM link created is entered with its date and purpose.
To create the links, a spreadsheet that assembles the values from drop-down lists is enough. Google also offers the free Campaign URL Builder. What matters is that nobody types values freely by hand. For printed flyers or posters, you put the UTM link into a QR code so that nobody has to type it in, and set the medium to qr or print, for example.
Which mistakes with UTM parameters are the most common?
The most common mistake with UTM parameters is putting them on internal links. If you link a banner on your own homepage with ?utm_source=homepage, for instance, you overwrite the visitor’s real source. A user who came through Google Ads suddenly appears under an invented source, and the later enquiry 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. When auto-tagging is active, Google Ads appends the click ID gclid to every click. GA4 then takes the campaign, ad group and keyword directly from the linked account in Google Ads. 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 further mistakes in UTM links quickly if you open the Traffic acquisition report in GA4 and break it down by session source/medium. If values with capital letters, typos such as emial, or very long campaign names with spaces appear there, 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 realtime view that the 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 appear only in the first URL a visitor lands on. If they click on to the services page and then to the contact form, they have vanished from the address bar. GA4 has stored the campaign, but the enquiry that reaches you by email or in the CRM says nothing about it. Especially with B2B service providers, where an enquiry only turns into an order 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 submission. That way every enquiry 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 this with your data protection adviser.
Example from practice: a decorating firm with a newsletter and a flyer
A painting and decorating firm sends a newsletter to existing customers every month and hands out flyers in the neighbourhood in spring. Until now, both channels appeared in GA4 as direct visits. After the changeover, 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 enquiry form. Because GA4 does not assign the medium print to any default channel, the firm creates its own channel group with the channel Print. After eight weeks, the owner sees in GA4 and in every individual enquiry which channel brings quote requests, and can plan the autumn print run accordingly.
Having UTM parameters checked and set up
UTM parameters are quickly built, but only useful if the naming rules are followed, Google Ads runs on the gclid and the campaign data is passed all the way into the enquiry. Trackum sets this up in your site’s Google Tag Manager: the extra Campaign data in forms costs €50 once, excl. VAT, and makes sure UTM parameters and click IDs are kept as visitors click on and appear in every enquiry. 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 as a result.
Which UTM parameters are mandatory?
Technically none is mandatory, but you should always set utm_source, utm_medium and utm_campaign. If utm_medium is missing, Google Analytics 4 cannot assign the visit cleanly to a channel. utm_term and utm_content are optional.
Do I need UTM parameters for Google Ads?
Usually not. With auto-tagging switched 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 data protection 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 into a UTM link. Whether the evaluation 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: Auto-tagging support.google.com
Read more
FeaturesCookie banner with Consent Mode v2: compliant, with no monthly licence
Reject on the first layer, settings per purpose, Consent Mode v2 with every consent type and a record of each choice. No monthly licence.
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 enquiry, 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 optimise for form fills. With offline conversions, they optimise for sales.