Data & Tracking
UTM parameters for B2B: how to stop campaigns from vanishing into 'direct'
Copy for AI
UTM parameters are small pieces of text you attach to a link so Google Analytics knows exactly which campaign a visitor came from. The short version: tag every link you place yourself in an email, ad or social post with five fixed parameters, and keep that naming identical everywhere. If you do not, your traffic lands in ‘direct’ and your channel report steers you the wrong way. In this article we show how to set that up consistently for B2B, and why referral paths are your back-up for everything you could not tag yourself.
We would rather steer by customers and revenue than by vanity numbers. But for that you need to know which channel delivers those customers, and that starts with correct tagging. A wrong UTM is worse than no UTM, because it gives you false confidence in a wrong number.
What are UTM parameters and why do you need them?
A UTM parameter is a piece you hang after the question mark in a URL, for example ?utm_source=linkedin&utm_medium=cpc. When someone clicks that link, Google Analytics reads those parameters and the system knows precisely where the visitor came from. Without those labels the tool has to guess itself, and when it cannot guess, it pushes the visit into ‘direct traffic’.
There are five UTM parameters you can use. According to Google Analytics 4 it works like this:
- utm_source: the source, for example
linkedin,newsletterorgoogle. - utm_medium: the channel type, for example
cpc,emailorsocial. - utm_campaign: the campaign name, for example
webinar-q2. - utm_term: the search term (mainly for paid search).
- utm_content: to distinguish variants, for example
button-topversusbutton-bottom.
The first three are the workhorses. You need source, medium and campaign in almost every B2B context. You use term and content where you really want to split, such as with A/B variants or ad groups. The risk lies not in too few parameters, but in inconsistent use. You can read more about this in our explanation of conversion tracking.
What happens if you do not tag your campaigns?
Then your work disappears into ‘direct’. An untagged newsletter click, a link in a signature, a paid post without parameters: Google Analytics cannot determine the origin and books the visit as direct traffic. The result is that your ‘direct’ bucket swells with visitors who actually came from a campaign.
That is not a cosmetic problem. It leads to wrong decisions. Suppose your email campaign converts well, but because you did not tag the links, that revenue looks like ‘direct’ in your report. You conclude that email does not work, dial it back, and your best channel grinds to a halt. Automating your campaign tracking with the five UTM parameters prevents exactly that: every tagged link lands in the right channel, and your report tells the truth.
For B2B this counts double. Your sales cycles are long and your volumes are lower than at a web shop, so every misattributed visit weighs heavier in your cost per acquisition. If you are not sure which channel brings in your leads, you are optimizing in the dark. If you want to know how to get this data structurally in order, take a look at our data analytics service.
How do you set up a consistent UTM convention?
With one agreement: choose fixed spellings and never deviate from them. Setting up good UTM tracking codes revolves entirely around that consistency. UTM parameters are case-sensitive, so LinkedIn, linkedin and Linkedin are counted by Google Analytics as three different sources. That fragments your report without you noticing.
A workable convention for a small B2B team looks like this:
- Everything in lowercase. No capitals, ever.
- Join words with a hyphen, for example
webinar-data-2026, not with spaces or underscores. - Limit your sources to a fixed list, for example
linkedin,google,newsletter,partner. No synonyms. - Standardize your mediums, for example
cpc,email,social,referral. This determines which default channel your traffic falls into. - Record the convention in one shared document or a UTM builder with dropdowns, so nobody has to type by hand.
That last point is where it usually goes wrong. As long as colleagues type parameters by hand, typos creep in. A simple spreadsheet or build tool with fixed pick lists takes the guesswork out. How you then present these numbers clearly is something you can read in our explanation of a good marketing dashboard.
Why are referral paths your necessary back-up?
Because UTM only works if you place the link. Others do not tag for you. If a partner refers to you, a journalist mentions you or someone shares you in a community, no utm_source comes along. You did not set that link, after all.
That is where referral paths come in. Google Analytics also registers the referring website, the so-called referral path, separate from your UTM tags. That way you still see that traffic came from partnerblog.be or a trade forum, even without the link being tagged. Referral paths are therefore not a replacement for UTM, but a necessary supplement: UTM covers everything you have in your own hands, referral paths capture what falls outside your control.
In practice you use them together. You tag fanatically what you place yourself, and you check your referral report weekly to see which unexpected sources bring in traffic and leads. That combination gives you an honest picture of where your growth comes from, instead of an inflated ‘direct’ figure that says nothing.
How do you check that your tagging is correct?
By testing before you go live and then auditing periodically. The most common mistakes are silent mistakes: your report simply fills up with numbers, only they are wrong.
Run through these checks regularly:
- Click your own tagged link and check in the real-time view whether the correct source, medium and campaign come in.
- Filter your sources report for duplicates. If you see both
linkedinandLinkedIn, you have a convention problem. - Look at your ‘direct’ share. A suspiciously high percentage of direct traffic is usually a sign of missing tags, not brand awareness.
- Never tag internal links. A UTM on a link within your own site resets the session and pollutes your data.
Whoever skips these checks builds reports on sand. And a nice dashboard on wrong data is more dangerous than no dashboard at all, because it looks reliable. You can find more on the basics in what is tracking.
Frequently asked questions about UTM parameters
How many of the five UTM parameters do I really need to use?
In most B2B cases, utm_source, utm_medium and utm_campaign are enough. You add utm_term and utm_content when you want to measure paid search terms or variants separately. More important than the number is that you fill them in consistently.
May I put UTM parameters on links within my own website? No. A UTM on an internal link starts a new session and breaks your referral data. Use UTM only on links that lead from outside to your site.
Why is so much of my traffic under ‘direct’? Usually because campaigns are not tagged. Untagged emails, ads and shared links land in ‘direct’. Tag everything you place yourself, and use referral paths for the rest.
Are UTM parameters bad for SEO? For your own internal navigation you had better avoid them, but on external campaign links to your site they pose no SEO problem. They only affect your analytics, not your ranking.
What if a partner shares my link without UTM? Then you fall back on Google Analytics’ referral report. You still see the referring site there, even without tags. That is exactly why referral paths form your back-up.
Do you want to finally get your tracking right?
UTM parameters look like a detail, but they determine whether your entire channel report can be trusted. One consistent convention, tagged campaigns and referral paths as a safety net: that is how you finally know which channel delivers real customers instead of steering by an inflated ‘direct’ figure. We are a small team that moves fast and helps you set up your data so you base decisions on facts, not on noise.
Free website scan
Enter your website and get an automatic scan within minutes, with concrete technical and SEO improvements. No sales pitch.
We only use your details for your scan. No spam, unsubscribe anytime.