Blog / Tools & automation /

UTM tags done properly

The report says “direct” sent a big burst of visits. But you know the newsletter and a partner post went out that week. Direct? Really?

If the links weren’t tagged consistently, analytics can’t tell you where those visits came from. UTM parameters put labels on campaign links so analytics platforms can group the traffic properly.

The tags are simple. The discipline is the hard part. Agree a small naming convention, use it every single time, test the destination and never put personal information in a URL. UTMs describe how someone arrived. They don’t prove a campaign caused a sale or lead.

The fields to understand

The common parameters are utm_source, utm_medium and utm_campaign. Source names the platform or sender, such as a newsletter provider. Medium is the channel category, like email or paid social. Campaign names the initiative. Optional fields such as utm_content can tell versions of a link apart, and utm_term is often used for paid search keywords.

Keep each field consistent with how your analytics platform classifies traffic. Tag one email Email, another email and a third newsletter, and your reports split what you meant as one source. Decide on lower-case, how to handle spaces and how campaign dates or product names appear. A spreadsheet or shared link builder helps, but somebody still has to maintain the rules. I always go lower-case, no spaces.

Build a naming convention before launch

Write down a few examples for the campaigns you actually run. A hypothetical autumn launch might use one consistent source for the email platform, email as the medium and a short campaign identifier. Make names descriptive enough to recognise later, but not so long that people invent their own abbreviations.

Don’t change the convention halfway through a campaign. To compare two creative versions, use utm_content with clear labels. Don’t use one parameter for several different ideas. The naming scheme should be readable by whoever reviews the data, not just whoever created it.

Where to use them—and where not to

UTMs belong on external campaign links: a newsletter, a paid ad, a partner placement, a social campaign. They generally don’t belong on links between pages of your own site. Tagging internal links can overwrite or fragment the original attribution, so the visitor appears to arrive from your own site again. Use event tracking or page-path analysis for internal journeys.

Take extra care with links to third-party sites. Once a tagged URL is shared, its values can show up in browser history, server logs, screenshots and analytics systems. Never put a name, email address, phone number, account identifier or other personal information in a UTM value. Keep campaign labels broad and non-sensitive.

Test the full journey

Before you send a link out, click it. Does it land on the right page? Do the parameters survive any redirects? Does the destination work on mobile? Confirm analytics records the visit as expected. In GA4, check traffic acquisition and the campaign dimensions once data has processed. Real-time views are fine for a quick test but don’t replace the final report.

If the destination redirects through a shortener, a consent layer or a tracking service, test that whole route. A broken redirect, or a platform that strips query strings, removes your labels. Keep the final URLs in your campaign record, so someone can investigate later without rebuilding them from a post.

Read the numbers with care

Tagged sessions aren’t people, leads or revenue. Consent choices, browser settings, attribution rules and cross-device behaviour all affect what analytics can report. GA4 can also disagree with a platform’s own dashboard, because each measures and attributes activity differently. Use UTMs to improve consistency, then connect the data to confirmed key events and business records where you can.

Prevent attribution mistakes before they spread

I keep the link register small enough that people will actually use it. Include the final destination, the tagged URL, who created it and which campaign it belongs to. For a recurring newsletter, record the stable source and medium once, then use a campaign value that tells each send apart. Don’t let the campaign field become a free-for-all where one colleague uses the product name, another the month and another the subject line.

For paid search, understand how the ad platform and GA4 each label clicks. Auto-tagging and manual UTMs can interact, and the final report may not match the spreadsheet unless you’ve tested the setup. Don’t manually tag links the platform already tags, unless the analytics owner has agreed a method. When a campaign spans several channels, keep a shared campaign identifier and use source and medium to tell placements apart. That makes comparison possible without pretending every platform attributes the same way.

UTM parameters are part of the URL, so check how they behave when someone copies, shares or bookmarks the page. Campaign URLs get long. A reputable short link can help in a printed QR code or social post, but it adds another service and another point of failure. Test the link from the real placement, and make sure the final destination still carries the values reporting needs.

Don’t put sensitive campaign names that reveal confidential plans in a URL. Anyone who receives or inspects it can see it. Use a neutral label that helps the analytics team and is safe to share publicly. If a parameter could expose a customer or partner relationship, pick a less revealing value and check with the data owner.

Before your next campaign goes out, check its links against your naming convention. Which field is most likely to drift between people?