What UTM parameters are and why analytics needs them

You will be able to read a tagged link and say what each parameter tells your analytics.

Farah runs a small studio in Geylang selling modest workwear online. Last month she announced a new range of work trousers three ways: a newsletter, an Instagram post, and cards with a QR code that she gave out at a weekend bazaar.

That week her sales rose. She went into GA4 hoping to find out which of the three had brought people in, and found most of the extra visits listed as "direct", the label GA4 uses for someone typing an address from memory. Those visitors had really come through her email, her Instagram bio and her QR code. None of her links carried anything saying where they had been shared, so GA4 had no way to know.

Labels on the end of a link

UTM parameters are short labels you attach to the end of a link. A person who clicks a tagged link carries the labels to your website, and GA4 reads them and records the visit to match. For the visitor, the only difference is a longer address in the browser bar.

For her next newsletter, Farah uses this link:

https://www.example.com/trousers?utm_source=newsletter&utm_medium=email&utm_campaign=2026-11-work-trousers

Each part after the question mark is a label. With or without them, the visitor lands on the same trousers page. What the labels change is GA4's note of where the visit started. Here, "2026-11-work-trousers" is the campaign value for the November work trousers launch.

The five parameters and what goes in each

You can use five UTM parameters. Put the first three on every link you tag.

utm_source records the exact place the click came from: a particular site, mailing list or physical object. Typical values are newsletter, instagram, facebook or bazaar-card.

utm_medium records the kind of channel, the broader bucket that source sits in, such as email, social, cpc (for paid search) or qr. GA4 relies on this value to put visits into its standard channel groups, which lesson 2.2 explains.

utm_campaign records which push the link is part of, for example a product launch. With it, you can pull up every visit for one campaign at once, whichever source they came through.

The remaining two are optional. utm_content separates links that share a campaign and source, like the image link and the button link in a single email, or two versions of one ad. Use it when that difference matters to you. utm_term was built for paid search keywords, and ad platforms usually fill it in now, so you can leave it alone. GA4 accepts a handful of other parameters as well, but a small business can manage with these five.

Tagged visits show up in the traffic acquisition report under the source and medium you chose, and a filter on campaign name brings a whole campaign together. When Farah opens that report next month, her newsletter clicks will appear with source "newsletter" and medium "email". A filter on the campaign name will show the full launch across all her channels.

Where direct traffic comes from

GA4 has two main ways to tell where someone came from: tags in the link, and the referrer. The referrer is the address of the page a person was looking at when they clicked. Clicks from a Google search or from another website normally include a referrer, and GA4 can name the source from it without any tags.

Plenty of clicks have no referrer. Links opened inside email apps, WhatsApp messages, some social apps and PDFs arrive without one, and so does a QR code scanned with a phone camera. A visit that arrives with no information of any kind gets filed as direct.

So direct traffic holds real typed visits, bookmarks, and every untagged click from an app, all mixed together. In a lot of small business accounts it is much larger than the number of people who actually type the address. Suppose a pleased customer sends Farah's product link to a WhatsApp group of colleagues. If the link has no tag, GA4 treats each of those visits like a visit from someone who knew her address by heart. When you need the source to make a decision, put a tag on the link.

Links that tag themselves and links you tag by hand

A few platforms handle tracking for you. Google Ads has a setting called auto-tagging, which attaches an identifier to every ad click so GA4 can tie the visit to its campaign, ad group and keyword. It works only when your Google Ads and GA4 accounts are linked. If you run Google Ads, make sure auto-tagging is switched on and the accounts are linked, and don't add your own tags as well.

Meta ads and TikTok ads both have a place in the ad setup for URL parameters. TikTok also has a feature called URL Auto-attach, which can add UTM parameters to your ad links automatically while you create the ad, so that field is not always left for you to fill in. Check TikTok Ads Manager's help pages to see what it adds for you.

All other links need tags you add yourself: emails, Instagram bio links, posts, WhatsApp messages, QR codes, partner websites, printed flyers and podcast show notes. Some email tools will offer to tag links for you. If yours does, look at the values it puts in and make sure they follow the naming rules you will set in lesson 2.2. A sensible working assumption is that any link you share outside an ad platform will be counted as direct unless you tag it, since most of them are.

The limits of tags

A tag labels one click and nothing more. If someone sees Farah's post, remembers her shop, and searches for it two days later, the tag on the post plays no part, and the visit is recorded as organic search. Tags also say nothing about who the visitor is. When someone declines analytics cookies, what GA4 gets depends on how consent mode is set up on your site. With some setups, cookieless pings are sent to GA4 for future measurement in place of a normal recorded visit. Google's Analytics help pages on consent mode explain how each setup behaves. Either way, no tag can bring back what the visitor declined. Module 5 comes back to these gaps.

Inside those limits, tags are the cheapest fix in the course: they cost nothing and each link takes seconds.

Before you set any rules, check where you stand today. Pick a few links you shared over the last month, and for each one work out what GA4 would have seen when someone clicked it: a tag, a referrer, or nothing, in which case the visit went down as direct.

Pick three links you shared recently in an email, post or ad. For each one, write down how it would show up in analytics without UTM tags.

Course

Junxiong-WFG Organisation is an authorised representative of AIA Financial Advisers Private Limited (Reg. No. 201715016G).