Data & Tracking
UTM parameters for B2B: how to stop campaigns from vanishing into 'direct'
Copy for AI
UTM parameters are link labels that tell Google Analytics where a visitor came from.
You add them after a question mark in the URL.
Your analytics then files the visit under the right source, medium and campaign.
The verdict: tag every link you place yourself with the same fixed UTM parameters, spelled the same way everywhere. Skip that, and your campaign traffic lands in “direct” and your channel report steers you wrong.
A wrong UTM is worse than no UTM: it gives you false confidence in a wrong number.
We’d rather steer by customers and revenue than by vanity numbers.
To do that, you need to know which channel delivers those customers. That starts with correct tagging.
What are UTM parameters and why do you need them?
A UTM parameter is a key and value you hang after the question mark in a URL.
For example: ?utm_source=linkedin&utm_medium=cpc.
When someone clicks that link, Google Analytics 4 reads those values and knows precisely where the visitor came from.
Without labels, the tool has to guess. When it can’t, it pushes the visit into “direct”.
Our UTM wiki entry has the one-line definition if you need to share it with a colleague.
The five classic UTM parameters
There are five parameters you’ll use in almost every B2B setup:
- utm_source: the source, such as
linkedin,newsletterorgoogle - utm_medium: the channel type, such as
cpc,emailorsocial - utm_campaign: the campaign name, such as
webinar-q2 - utm_term: the search term, mainly for paid search
- utm_content: the variant, such as
button-topversusbutton-bottom
Google’s own help page on collecting campaign data with custom URLs now lists nine parameters.
The extra ones are utm_id, utm_source_platform, utm_creative_format and utm_marketing_tactic. Google notes the last two aren’t currently reported in GA4.
Our advice: stick to the classic five unless you import cost data and need utm_id.
Which ones do the real work?
The first three are the workhorses: you need source, medium and campaign in almost every B2B context.
Google says the same: always use those three when you tag a URL.
You add term and content only where you really want to split, such as A/B variants of an email.
The risk isn’t too few parameters. It’s inconsistent use, as our explanation of conversion tracking shows.
Rule of thumb: three parameters, used the same way every time.
What happens if you don’t tag your campaigns?
Then your work disappears into “direct”.
An untagged newsletter click, a link in an email signature, a paid post without parameters: Google Analytics can’t work out where they came from.
So it books the visit as direct traffic.
How GA4 decides what counts as direct
GA4 sorts every session into a default channel group. Its channel group rules define Direct as a session with source “(direct)” and medium “(none)” or “(not set)”.
In other words, Direct means GA4 found no campaign label and no referrer.
Here’s how the same click lands, with and without a tag:
The result: your “direct” bucket swells with visitors who actually came from a campaign.
Why that leads to wrong decisions
It isn’t a cosmetic problem: it changes what you decide.
For example, say your email campaign converts well.
Because you didn’t tag the links, that revenue shows up as “direct” in your report.
You conclude email doesn’t work and dial it back. Your best channel grinds to a halt.
Tagging every campaign with the same UTM parameters prevents exactly that.
Every tagged link lands in the right channel, and your report tells the truth.
Why B2B feels this harder
For B2B this counts double: your sales cycles are long and your volumes are lower than a web shop’s.
So every misattributed visit weighs heavier in your cost per acquisition.
If you aren’t sure which channel brings in your leads, you’re optimizing in the dark. Our guide to attribution over a long sales cycle shows how that gap grows over months.
Want this data structurally in order? See our data analytics service.
How do you set up a consistent UTM convention?
With one agreement: choose fixed spellings and never deviate from them.
Good UTM tracking codes revolve entirely around that consistency.
Why spelling matters
UTM parameters are case-sensitive. Google’s help says it plainly: utm_source=google is different from utm_source=Google.
So LinkedIn, linkedin and Linkedin count as three different sources.
A five-rule convention for a small B2B team
A workable convention 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 decides which default channel your traffic falls into. - Record the convention in one shared document or a UTM builder with dropdowns, so nobody types 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 do you build a tagged URL, step by step?
Google’s help on campaign URLs describes the format. In four steps:
- Start with the landing page URL, for example
https://example.com/webinar/. - Add a question mark, which separates the page from the parameters.
- Add each parameter as a pair with an equal sign, joined by
&. - Click the finished link once and check that the page still loads.
The result: https://example.com/webinar/?utm_source=linkedin&utm_medium=cpc&utm_campaign=webinar-q2.
Google says the order of the pairs doesn’t matter. Your spelling does.
Watch out: if the URL already has a ?, add your pairs with & instead of a second question mark.
What a convention looks like in practice
Here’s one way to fill the three workhorses per channel:
| Channel | utm_source | utm_medium | utm_campaign |
|---|---|---|---|
| LinkedIn sponsored post | linkedin | cpc | webinar-q2 |
| Monthly newsletter | newsletter | email | 2026-10-newsletter |
| Organic LinkedIn post | linkedin | social | webinar-q2 |
| Partner mailing | partner-name | email | webinar-q2 |
Example convention, not a standard. Pick your own values, then never change them.
Watch out: don’t tag Google Ads links by hand when auto-tagging is on. Google Ads passes its own click ID, and our guide on linking GA4 to Google Ads covers that setup.
How do UTM values reach your CRM?
GA4 sees the campaign, but your sales team works in the CRM. So pass the values on.
The usual way is hidden form fields:
- Read the UTM values from the landing page URL
- Store them for the rest of the visit
- Send them along with the contact form
The lead then arrives in your CRM with its source and campaign attached. Our guide to lead source tracking in your CRM walks through it.
That’s what lets you compare channels on deals, not on visits.
How you then present these numbers clearly is in our guide to a good marketing dashboard.
Why are referral paths your necessary back-up?
Because UTM only works if you place the link.
Others don’t tag for you.
A partner refers to you, a journalist mentions you, someone shares you in a community: no utm_source comes along. You didn’t set that link.
What GA4 sees without your tags
That’s where referral paths come in.
Google Analytics also records the referring website, separate from your UTM tags.
So you still see that traffic came from partnerblog.be or a trade forum, even when the link wasn’t tagged.
Here’s a source we never tagged ourselves, showing up by name in our own GA4:
GA4 Traffic acquisition in our own property, session source filtered on “chatgpt”, last 90 days, October 2026.
That’s the safety net at work: 58 sessions we’d otherwise never have attributed. Our guide on tracking ChatGPT traffic in GA4 explains that report.
UTM and referrals work together
Referral paths aren’t a replacement for UTM. They’re a necessary supplement:
- UTM covers everything you have in your own hands
- Referral paths capture what falls outside your control
- Your CRM asks the lead where they heard of you
That third layer matters in B2B. Our piece on self-reported attribution shows how a single form field fills the gaps.
A weekly routine
In practice you use them together.
Tag fanatically what you place yourself.
Check your referral report weekly to see which unexpected sources bring traffic and leads.
The GA4 acquisition report is the place to look.
Watch out: not every referral is real. Spam referrers inflate the list, as our guide to referral spam in Google Analytics explains.
That combination shows where growth really comes from.
How do you check that your tagging is correct?
By testing before you go live, then auditing periodically.
The most common mistakes are silent ones.
Your report fills up with numbers; they’re just wrong.
Four checks to run
Run through these checks regularly:
- Click your own tagged link and check the real-time view for the right source, medium and campaign.
- Filter your sources report for duplicates. Both
linkedinandLinkedIn? You have a convention problem. - Look at your “direct” share. A suspiciously high share usually means 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.
The GA4 real-time report shows a test click within seconds, so the first check takes a minute.
Where tags hide
Google also notes that UTM values don’t show in the “Page path + query string” dimension. They sit in “Page location” instead.
So if you’re hunting a tagged URL in a page report, look there.
Why the audit is worth it
Whoever skips these checks builds reports on sand.
A nice dashboard on wrong data is more dangerous than no dashboard, because it looks reliable.
You can find more on the basics in what is tracking.
For a full outside check of GA4, Tag Manager and your conversions, there’s our tracking audit.
Rule of thumb: test every new link before it goes out.
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 aren’t 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’d better avoid them. 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’s exactly why referral paths are your back-up.
Do you want to finally get your tracking right?
UTM parameters look like a detail, but they decide whether your whole channel report can be trusted.
One consistent convention, tagged campaigns and referral paths as a safety net: that’s how you see which channel delivers real customers.
We’re a small team that moves fast. We help you set up your data so decisions rest on facts, not noise.
Contact us and we’ll start by checking how much of your “direct” traffic is really untagged campaigns.
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.