URL tracking: how to use UTM parameters correctly in Google Ads and Google Analytics 4

UTM parameters are what make precise tracking and honest analysis of your online marketing campaigns possible. In this article we show you what UTM parameters are, how they are used in Google Ads and how you read them in Google Analytics 4 (GA4). By the end you will be able to analyse your campaigns properly and make targeted improvements instead of guessing which channel deserves the credit.
Why we are the experts? With the first marketing subscription built for small and medium sized businesses and startups, we have been looking after companies across the German speaking market for more than five years.
Important: auto tagging is currently the standard way to track Google Ads campaigns. In some cases it is still worth adding manual UTM tags on top, for example so that you can capture the source inside your lead and contact forms. In principle you do not need to add UTMs to your ad URLs in Google Ads at all. You can handle it automatically with URL suffixes instead (we used tracking templates for this in the past, but that solution stopped working back in 2018). If this short version already feels complicated, do not worry: the rest of the article takes the whole process apart step by step.
URL tracking: what are UTM parameters?
UTM parameters are small tags you append to the URLs of your campaigns in order to improve tracking. They let you understand exactly how people arrive on your website and which campaigns are performing best. These parameters are essential if you want detailed insight into your marketing rather than a vague sense that something is working.
UTM stands for "Urchin Tracking Module", a tool originally developed by Urchin before Google bought it and folded it into Google Analytics. With these parameters you can trace, for example, whether a visitor arrived through a Google Ads ad or through some other campaign entirely.
The mechanism itself is simple, which is part of the appeal. Nothing has to be installed, nothing has to be configured on the server, and no developer needs to be involved. You add text to the end of a link, and the analytics tool on the receiving side reads it. That simplicity is also the risk: because anyone can write anything into a UTM tag, the quality of your reporting depends entirely on the discipline of the people building the links.
Why do UTM parameters matter for Google Ads?
Google Ads is a powerful tool, but without the right tracking in place it is hard to work out how effective your ads genuinely are. When you use UTM parameters with your Google Ads traffic you can see exactly which ad, which keyword and which medium led to a visit or a conversion. That in turn lets you optimise deliberately and put your budget where it earns its keep.
There is a second advantage. The data from Google Ads flows straight into Google Analytics 4, which gives you one consolidated view of the metrics that matter and lets you evaluate campaigns properly rather than in isolation.
How do I build UTM parameters correctly?
Creating UTM parameters is straightforward, although doing it by hand can become time consuming. Fortunately there are tools such as Google's Campaign URL Builder, which takes the work off your hands. Whenever you tag a URL, make sure the formatting is correct, otherwise the data arriving in Google Analytics will be wrong in ways that are hard to spot later.
- utm_source: names the source of the traffic, for example "google" or "newsletter".
- utm_medium: the medium, for example "cpc" for cost per click or "email".
- utm_campaign: the name of the campaign, for example "summer_sale".
- utm_term: the keyword, when the traffic comes from paid search.
- utm_content: used to tell different ads within the same campaign apart.
Which parameters are there?
There are five main parameters available to you:
- utm_source (source): shows where the traffic came from.
- utm_medium (medium): names the medium that was used, for example "cpc" for paid advertising.
- utm_campaign (campaign): the specific name of the campaign.
- utm_term (term): use this parameter for keywords and keyword tracking.
- utm_content (content): distinguishes between different ads or different links, for example "banner" or "textlink".
Together these parameters let you build comprehensive reports and understand which elements of a campaign are actually pulling their weight.
A practical note before you start: agree a naming convention with your team and write it down somewhere everyone can find it. Which values are allowed for utm_medium, how campaign names are constructed, whether you use underscores or hyphens. Ten minutes spent on that document saves hours of reconciliation once three people have been building links for six months.
Would you rather have it done for you? Everything we write about here, we deliver for our clients. Your own marketing team from 490 euros a month, cancellable monthly. Get in touch, no strings attached.
How do I add UTM parameters in Google Ads?
To get UTM parameters into Google Ads you can either work manually or use the platform's automatic tagging. With the manual method you write the parameters straight into the destination URLs of your ads, for example: https://www.yoursite.com/?utm_source=google&utm_medium=cpc&utm_campaign=summer_sale.
Using automatic tagging makes the whole thing considerably easier. Google Ads appends the "gclid" parameter (the Google click identifier), which Google Analytics can read on its own. That is particularly useful when you have a lot of campaigns running in parallel and no appetite for maintaining hundreds of hand written URLs.
If you do decide you need manual tags as well, add them once as a URL suffix at account level rather than pasting them into every individual ad. Combined with ValueTrack parameters such as {campaignid}, that gives you the same detail with a fraction of the maintenance, and it will not break the next time someone edits an ad.
How do I use UTM parameters in GA4?
Google Analytics 4 is the current version of Google Analytics and brings a lot of new functionality with it. To use UTM parameters in GA4 you simply have to build them into your URLs correctly. GA4 recognises the parameters automatically and surfaces them in the reports without any further setup.
In GA4 you will find the UTM parameters under "Acquisition" in the campaigns report. There you can see precisely which campaigns, sources and media brought the most traffic and the most conversions, which makes it far easier to decide where your marketing strategy should go next.
Two GA4 details are worth knowing. First, the parameters are read on the landing page, so a redirect that strips the query string will lose them; check any short links, QR codes or link shorteners you use before you trust the numbers. Second, GA4 stores source and medium at session level, which is why a visitor who arrives through your newsletter and returns two days later through a Google search is counted under two different sources. Neither is a bug, but both catch people out the first time they try to reconcile a report with what they thought happened.
How are UTM parameters structured?
A UTM parameter consists of a variable name and a value joined by an equals sign, for example: utm_source=google. Individual parameters are separated by an ampersand. A complete tagged URL therefore looks something like this: https://www.yoursite.com/?utm_source=google&utm_medium=cpc&utm_campaign=summer_sale.
Keep the parameters in the order utm_source, utm_medium, utm_campaign, utm_term and utm_content. That ensures the data is captured correctly in Google Analytics and makes your links far easier to read when you have to check one by eye.
Which tools help me create UTM parameters?
There are several tools that make building UTM parameters easier:
- Google's Campaign URL Builder: helps you construct the right parameters and add them to your URLs.
- Google Tag Manager: lets you add more advanced tracking and custom parameters.
- UTM.io: another useful tool for creating and managing UTM parameters at scale.
These tools come into their own when you are running a lot of different campaigns and want to keep an overview rather than a spreadsheet nobody trusts.
A shared spreadsheet is perfectly acceptable for a small team, as long as every finished link is recorded in it with the date and the person who built it. The tool matters less than the habit. What you are trying to avoid is the situation where a campaign report shows six sources that are really two, and nobody can remember which links went where.
Can I use UTM parameters in Matomo too?
Yes, UTM parameters work in Matomo as well. Matomo, formerly known as Piwik, is an open source alternative to Google Analytics. UTM parameters behave in much the same way there: you can use the same parameters and you get comparable reports.
Matomo also offers detailed insight into your campaigns and plenty of room to analyse the data in depth. That is particularly useful if you are looking for a privacy friendly alternative to Google Analytics, which is a real consideration for a lot of businesses in Europe.
Common mistakes with UTM parameters and how to avoid them
Mistake 1: inconsistent naming
A very common mistake is naming parameters inconsistently. Always write them the same way, for example utm_source=google, and never a mixture of utm_source=Google and utm_source=GOOGLE. Analytics tools treat those as separate sources, and your report quietly splits one channel into three.
Mistake 2: missing or wrong parameters
The second mistake is leaving out important parameters or filling them with the wrong values. Always check that every relevant parameter is present and correct before you put the URLs into a live campaign. Without source, medium and campaign, the visit ends up in the "direct" bucket, where it tells you nothing at all.
Mistake 3: never testing the URLs
Before you use tagged URLs in a campaign, test them. Open the link yourself and check in the GA4 realtime report that the data arrives the way you expect it to in Google Analytics or Matomo. Two minutes of testing is cheaper than a month of unusable reporting.
To sum up: UTM parameters are a powerful way to analyse and improve your online marketing campaigns. Used properly, they give you valuable insight into your Google and Facebook advertising and let you sharpen your strategy deliberately rather than by instinct.
The important things to remember about UTM
- UTM parameters are essential for tracking and analysing your campaigns.
- They help you understand how efficient your Google Ads really are.
- Use tools such as Google's Campaign URL Builder to create UTM parameters easily.
- Pay attention to consistent naming and check your URLs before you use them.
- GA4 recognises these parameters automatically and gives you detailed reports.
- Matomo supports UTM parameters too and offers a privacy friendly alternative to Google Analytics.
With this knowledge you are well equipped to optimise your campaigns from data and improve them for the long term. If you would like a second pair of eyes on your measurement setup, our performance marketing team does exactly this for clients every week.
