Analytics

A Rough Guide to: UTMs and GA4 Attribution

From Chaos to Clear Channels

TL;DR:

One of the biggest issues I come across when auditing and configuring Google Analytics and advertising tracking is attribution. Traffic ends up in the wrong channels, campaign names are inconsistent, and far too much gets lumped into Direct or Unassigned. UTM parameters won’t fix every attribution problem, but they give you more control over how GA4 identifies your marketing traffic. Even when platforms generate tracking links automatically, it’s worth checking the source and medium values, understanding how GA4 classifies them, and correcting them where necessary. This guide explains what UTMs are, how to use them properly and which values work best for different campaign types.

What are UTM parameters?

UTM parameters are small pieces of information added to the end of a URL to help analytics platforms identify where website traffic has come from.

They give GA4 some additional information about the link that was clicked.

For example, you might have a page at:

https://example.com/sale

If you’re promoting that page in an email newsletter, you could use:

https://example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=summer_sale

The destination is exactly the same. The difference is that GA4 now knows the source is newsletter, the medium is email, and the campaign is summer_sale.

Without that information, GA4 has to rely on whatever other traffic-source information is available, which isn’t always sufficient to correctly identify the visit.

How UTMs help with attribution

Attribution is about understanding which marketing activity contributed to visits, enquiries, sales and other outcomes.

They might click a Facebook advert, open an email newsletter, follow a link in an SMS message, scan a QR code or click through from a partner’s website.

Not all of those interactions provide reliable referral information to GA4.

An email client, for example, might not provide enough information to identify where the visitor came from. A QR code doesn’t inherently tell GA4 that someone scanned a printed flyer.

Without campaign tagging, those visits can end up attributed to Direct or another channel that doesn’t accurately describe what brought the visitor to the site.

UTMs let you explicitly identify that activity, making it easier to determine which campaigns are generating useful traffic and which are producing enquiries, sales or whatever else you’re measuring.

But doesn’t everything get tagged automatically?

Some platforms automatically tag their links, and Google Ads is probably the best example.

With Google Ads auto-tagging enabled, Google adds a click identifier to the landing page URL. GA4 can then use that identifier, along with the Google Ads integration, to obtain information about the advertising interaction.

In most cases, that’s preferable to relying on manual UTM tagging for Google Ads because it provides more information than UTMs alone.

Other advertising and marketing platforms can also populate tracking parameters automatically, often through URL templates, dynamic values or campaign settings.

Reviewing campaign attribution is something I do as part of my website tracking audits, and you’d be surprised how often automatically generated tracking links are using inconsistent or poorly configured UTM values.

Sometimes the source and medium don’t follow the conventions being used elsewhere. Sometimes the campaign name isn’t particularly useful, or different platforms and teams are tagging essentially the same activity in completely different ways.

So I’d generally use auto-tagging where it’s supported and working properly, but I wouldn’t assume that the resulting data is accurate without checking the URLs themselves.

There’s also an important distinction with Google Ads.

GA4 will normally prioritise its auto-tagged information over manual UTMs. You can’t simply add a different utm_source or utm_medium and expect it to override valid Google Ads attribution.

Manual UTM values can sometimes act as fallback information when click identifiers can’t be used as intended, but that needs to be handled carefully.

With platforms that use configurable URL templates, however, you can often control the UTM values being generated.

I’m not suggesting you replace automated tagging with manual tagging. I’d just recommend understanding what a good campaign URL looks like, checking what your platforms are producing and amending the configuration where necessary.

Understanding the five main UTM parameters

There are five standard UTM parameters you’ll come across most often.

Three form the basis of most campaign links, while the other two allow you to add more detail when it’s useful.

utm_source – where the traffic came from

The source identifies the platform, website, publisher or other source sending the traffic.

For example:

  • google
  • facebook
  • linkedin
  • newsletter
  • partner_name

The important thing is that the value means something and that you use it consistently.

If half your LinkedIn links use linkedin and the other half use linked_in, you’ve created two different source values for effectively the same thing.

GA4 isn’t going to tidy that up for you.

utm_medium – what type of traffic it is

The medium describes the marketing channel or mechanism used to bring someone to your website.

Common examples include:

  • email
  • social
  • paid_social
  • cpc
  • affiliate
  • sms

This is one of the more important values to get right because GA4 uses source and medium information to classify traffic into its default channel groups.

You can technically call your medium whatever you like, but that doesn’t mean GA4 will understand what you intended.

For example, paid_social is a useful value for paid social campaigns. Something you’ve invented, such as social_advertising_campaign, might make perfect sense internally but not match the GA4 channel rules you’re expecting it to.

I’d recommend using values that are both descriptive and compatible with the way GA4 classifies traffic.

utm_campaign – which campaign the traffic belongs to

The campaign parameter identifies the particular marketing initiative.

For example:

  • 2026_11_black_friday
  • q4_product_launch
  • summer_sale
  • holiday_promo

This is one area where I’d put a bit more thought in than simply copying whatever campaign name happens to exist in an advertising platform.

A campaign name should still make sense when you come back to it six months later.

It should also be consistent across the different channels supporting the same campaign.

If you’re promoting a product launch through email, paid social and organic social, using the same campaign value makes it much easier to analyse all of that activity together.

utm_term – additional keyword information

The term parameter was originally associated with paid search keywords.

For example:

utm_term=running_shoes

It can still be useful when you want to capture additional keyword or targeting information.

However, advertising platform integrations can already provide much of this detail, so manually adding it isn’t always necessary.

I’d only use it if it gives you information you’re actually likely to analyse later.

utm_content – distinguishing different links or creatives

The content parameter is useful when you have multiple links pointing to the same destination as part of the same campaign.

For example:

  • header_cta
  • footer_link
  • carousel_v2
  • blue_button

Imagine you’re sending an email newsletter containing two links to the same product page.

Both links could use the same source, medium and campaign name, but have different content values. That gives you a way to distinguish between the two links when you’re analysing the campaign.

Again, you don’t need to fill every available UTM field simply because it’s there.

You may also come across other UTM parameters, including utm_id and utm_source_platform.

These provide additional campaign identifiers and platform information and can be useful in more advanced measurement setups, but the five above are the ones I’d concentrate on understanding first.

UTM source and medium best practices for GA4

You can create a perfectly valid tracking URL and still have the traffic appear in the wrong GA4 channel, or in Unassigned.

For example, you might assume paid social traffic needs a medium of paid_social, but GA4 can also recognise values such as cpc, ppc and paid, provided the source matches a recognised social platform.

The table below shows some common campaign types, the GA4 channels you’d generally expect them to appear under and the UTM medium values that can produce those classifications.

Campaign typeGA4 channelutm_medium options
Email newsletterEmailemail, e-mail, e_mail, e mail
Organic social postOrganic Socialsocial, social-network, social-media, sm, social network, social media
Paid social advertPaid Socialpaid_social, cpc, ppc, paid, retargeting
Paid search advertPaid Searchcpc, ppc, paid_search, paid, retargeting
Affiliate promotionAffiliatesaffiliate
SMS promotionSMSsms
Display advertisingDisplaydisplay, banner, expandable, interstitial, cpm
Organic searchOrganic Searchorganic
Website referralReferralreferral, app, link
Organic videoOrganic Videovideo, organic_video
Paid video advertisingPaid Videopaid_video, cpc, ppc, paid
Audio advertisingAudioaudio
Mobile push notificationMobile Push Notificationspush, mobile_push, notification
QR code on printed materialUnassigned (unless another rule matches)qr, offline

The bold values are my preferred naming conventions, not necessarily the only values GA4 accepts.

There are a few things to be aware of here.

First, not every channel is determined by utm_medium alone.

Paid Search, Paid Social and Paid Video also depend on GA4 recognising the source as a search engine, social platform or video site.

So utm_medium=cpc doesn’t automatically mean Paid Search. If the source is Facebook, for example, GA4 can classify that visit as Paid Social.

Some other channels can also be identified from the source, so the table above is intended as a practical guide rather than a complete breakdown of every GA4 classification rule.

Several paid-channel values are also recognised through matching patterns rather than a single fixed list. A medium beginning with paid, for example, can match GA4’s paid-medium rules.

These are also the default rules for manually tagged traffic. Advertising integrations and auto-tagging can influence how GA4 classifies visits.

Google maintains the full definitions in its GA4 default channel grouping documentation.

Why I’d stick to one convention

You’ll notice that several different medium values can result in the same GA4 channel.

That’s useful, particularly when you’re working with multiple advertising platforms that don’t all use identical tracking conventions.

But I still wouldn’t deliberately use lots of different variations.

If one person uses social, another uses social-media and someone else uses sm, GA4 may successfully group all three under Organic Social.

However, you’ll still have three different medium values when you start looking at source/medium reports, which makes analysis more complicated than it needs to be.

My preference is to agree on a sensible set of values, keep them simple, use lowercase and make sure they work with GA4’s channel definitions.

What about QR codes and offline campaigns?

QR codes are a useful example of the difference between creating a valid UTM link and creating one that fits into GA4’s default channel groups.

You might use:

utm_source=flyer&utm_medium=qr

for a QR code printed on a flyer.

There’s nothing technically wrong with that, and it gives you useful information about where the traffic came from.

But qr isn’t a recognised medium in GA4’s default channel definitions, so that traffic will generally appear as Unassigned if no other channel rule matches.

Changing it to offline doesn’t automatically solve the problem either.

If you’re regularly tracking QR codes, printed materials or other offline marketing, I’d consider creating a custom channel group in GA4 so the traffic can be classified properly.

What I wouldn’t do is call it email, referral or something else simply because that happens to fit into an existing channel.

You want the reporting to describe what actually happened, not just look tidy.

Keeping your UTM naming consistent

One of the easiest ways to make UTM reporting unnecessarily difficult is to let everyone come up with their own naming conventions.

You might end up with:

  • facebook
  • Facebook
  • fb
  • facebook_ads

Or:

  • paid_social
  • paidsocial
  • social_paid
  • social-ads

Some of these may still end up in the same default GA4 channel, but that doesn’t mean you’ll have consistent values in your reports.

GA4’s default channel-grouping rules are case-insensitive, but the individual campaign values you’re analysing can still become fragmented by different spelling, naming or capitalisation.

This can also become an issue when building custom reports in Looker Studio. Inconsistent naming often means having to create additional filters and calculated fields to group data that should have been grouped together in the first place.

I tend to recommend a few fairly simple rules:

  • Use lowercase values wherever possible.
  • Use consistent source names for each platform.
  • Choose mediums that align with GA4’s channel definitions.
  • Agree a campaign naming convention before campaigns go live.
  • Use the same campaign name across channels when they’re part of the same initiative.
  • Avoid spaces in values, using underscores or hyphens consistently instead.
  • Only add term and content parameters when they provide useful additional information.

A simple naming convention that everyone actually follows is far more useful than an elaborate one that nobody does, particularly when you’ve got several people creating campaign links across different platforms.

How to check whether your UTM tracking is working

It’s worth reviewing your campaign tracking periodically, especially when you’re relying on other platforms to generate the links automatically.

Start with the URL

Before worrying about GA4, look at the tracking link itself.

  • Can you identify the source, medium and campaign?
  • Do those values make sense?
  • Are they consistent with your existing conventions?
  • Does the medium accurately describe the type of marketing activity?

For example, if you see:

utm_source=facebook&utm_medium=cpc

that might be perfectly fine.

GA4 can recognise that as Paid Social because Facebook is a recognised social source and cpc matches a paid-traffic rule.

But if you’re using paid_social everywhere else, I’d still want to know why this campaign is different.

It might not break the channel reporting, but it’s another variation you’ll have to deal with later.

Then check what GA4 is reporting

In GA4, go to:

Reports > Acquisition > Traffic acquisition

Useful dimensions include:

  • Session source / medium
  • Session campaign
  • Session default channel group

These let you see both the campaign information GA4 collected and the channel it assigned the session to.

If a campaign appears somewhere unexpected, have a look at the source and medium values before assuming GA4 has got it wrong.

Sometimes the issue is simply an unrecognised medium or an inconsistent naming convention. Other times, something else has happened during the tracking process.

Check what happens between the click and the page

A tracking URL can be perfectly formatted and still fail to provide useful campaign information.

A redirect might remove the UTM parameters before the visitor reaches the final page, or an advertising platform might modify the URL.

There could also be issues with how your analytics tags have been configured in Google Tag Manager, when they’re firing and how they interact with your cookie consent platform.

All of this can affect whether the visit and its associated campaign information are recorded.

If you’re testing a new campaign link, make sure the parameters survive the journey to the destination page and that GA4 is able to collect the resulting visit.

Don’t expect everything to appear instantly in standard GA4 reports either. Data processing can take time.

Don’t use UTMs on internal links

UTM parameters are intended for identifying incoming campaign traffic, not for tracking navigation between pages of your own website.

If you want to track clicks on internal banners, buttons or promotional links, I’d recommend configuring events in GA4 via Google Tag Manager instead.

Adding UTMs to internal links can interfere with the attribution you’re trying to improve in the first place.

I’ve seen this done.  It’s not pretty.

Pro tip – always check your campaign URLs for redirects

Make sure you’re using the correct destination URL when creating your UTM links.

You might be using an old URL that redirects to a newer page, or something as simple as including or omitting a trailing slash could trigger a redirect.

Depending on how the redirect has been configured, the UTM parameters may be stripped from the URL in the process, resulting in the campaign attribution being lost.

I’d always recommend testing your finished campaign links before using them. Check that you land on the intended page and that all of the UTM parameters remain intact in the browser’s address bar.

It only takes a few seconds and could save you a lot of time trying to work out why your campaign traffic isn’t being reported correctly in GA4.

Creating your own UTM links

Once you understand the parameters and how GA4 uses them, creating a tracking link is fairly straightforward.

You can build them manually, but there’s not much advantage in doing that when a builder can handle the formatting for you.

I’ve created a UTM Link Builder that lets you enter a destination URL, choose your source, medium and campaign name, and generate the finished tracking link.

It also includes presets for common campaign types, along with optional term and content fields.

It’s useful for email campaigns, social posts, partner promotions, QR codes and other marketing activity where you want control over the campaign tagging.

It’s also handy if you’re reviewing automatically generated links, find that the naming is inconsistent and want to create a cleaner alternative where manual tagging is appropriate.

Reviewing your existing campaign tracking

UTM parameters won’t fix every attribution problem in GA4. They won’t solve issues with consent, broken tracking implementations, cross-domain tracking or all of the quirks that come with GA4 itself.

But reviewing how your campaigns are tagged is a relatively straightforward exercise and something I’d recommend doing periodically.

Check the URLs being generated by your marketing platforms, make sure everyone involved in creating campaign links is working to the same naming conventions, and review how that traffic is actually being reported in GA4.

If you’re struggling to make sense of your campaign data or suspect something isn’t quite right with your attribution, I also provide ad hoc analytics and tracking support. You don’t necessarily need a full tracking audit to investigate and fix a specific issue.

There’s not much point spending money on a marketing campaign if your analytics can’t reliably tell you where the visitors came from.




About The Author

I'm Dave Ashworth, a freelance SEO and website optimisation consultant with a background in development and a focus on fixing what's broken, improving what's working, and helping businesses grow through clear, practical SEO.

I combine hands-on technical know-how with years of experience in analytics, content strategy and platform optimisation. Whether it's an audit, a migration, or ongoing performance support, my work's about making websites stronger, faster, and easier to understand for - users, search engines and AI platforms.

When I'm not writing guides or sharing insights, I'm working directly with clients to solve problems, track results, and keep their sites moving in the right direction.

Dave Ashworth

get in touch

If you need some expert website optimisation and configuration, want to find out more, or even just have a question, fill in the form below as I will always be happy to help