UTM parameters: a practical guide with naming rules
UTM parameters are tags you add to the end of a link, like ?utm_source=newsletter&utm_medium=email, so your analytics can tell which campaign sent a visitor. They only work if every link is tagged the same way, so the real job is picking a naming convention and sticking to it.
Updated · 5 min read
Why UTM parameters matter
Analytics tools learn where a visitor came from in two ways: the referrer (the page that linked to you, as reported by the browser) and the URL itself. Referrers are often missing. Email apps, messaging apps, PDFs, QR codes and many mobile apps send none, so those visits look like direct traffic.
UTM parameters fix that by putting the source in the link. When someone clicks https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=nov-launch, the landing URL itself says where they came from, whatever the browser reports.
The five UTM parameters
| Parameter | Answers | Example values |
|---|---|---|
utm_source | Who sent the visitor? The site, newsletter or publisher. | newsletter, linkedin, producthunt, partner-acme |
utm_medium | What kind of channel? The marketing medium. | email, social, cpc, referral, qr |
utm_campaign | Which campaign or promotion? | nov-launch, black-friday-2026, webinar-q4 |
utm_term | Which paid keyword? Mostly for search ads. | cookieless-analytics |
utm_content | Which link or creative? Tells apart links in the same campaign. | header-button, footer-link, video-ad-a |
Google's documentation describes the same five parameters and recommends always setting utm_source, utm_medium and utm_campaign. Google Analytics also reads a few extra ones (utm_id, utm_source_platform and others) that most small teams don't need and that Linqry doesn't report.
A naming convention that keeps reports clean
UTM values are case-sensitive in most tools, including Google Analytics and Linqry. Newsletter, newsletter and news-letter become three rows that you then have to add up by hand. These rules prevent that:
- Lowercase everything. No exceptions, including brand names:
linkedin, notLinkedIn. - Use hyphens, not spaces. Spaces turn into
%20or+and break copy-paste. Pick hyphens or underscores and use only one. - Source is the specific sender, medium is the type.
utm_source=linkedin&utm_medium=social, never the reverse. - Keep a short, fixed list of mediums. For example:
email,social,cpc,referral,qr,affiliate. Add a new one only on purpose. - Make campaign names readable a year from now.
black-friday-2026beatsbf26. - Use content to tell links apart, not new campaigns: one campaign, with
utm_content=header-buttonandutm_content=footer-link.
Write the convention in a shared doc or spreadsheet, and build links with a tool rather than by hand. The free UTM builder assembles the URL for you and can tidy values to lowercase with hyphens.
A consistency table to copy
| Channel | utm_source | utm_medium | utm_campaign example |
|---|---|---|---|
| Your newsletter | newsletter | email | nov-launch |
| LinkedIn post (organic) | linkedin | social | nov-launch |
| X / Twitter post | x | social | nov-launch |
| Google Ads | google | cpc | brand-search |
| Product Hunt launch | producthunt | referral | ph-launch-2026 |
| Partner or affiliate | partner-acme | affiliate | q4-partners |
| Printed flyer (QR code) | flyer | qr | meetup-nov |
Build and test a tagged link
- Start from the exact landing page
Use the page you want people to land on, with
https://and without existing tracking parameters. Send campaign traffic to the most relevant page, not always the home page. - Add the three core parameters
Fill in source, medium and campaign from your convention, and content when one campaign has several links. If the URL already has a
?, add the UTMs with&instead.https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=nov-launch&utm_content=header-button
- Click it before you send it
Open the link in a private window and check that the parameters are still in the address bar after any redirects. Then open Realtime in Linqry to see your visit arrive within seconds, and open it from the Users page to confirm the UTM values were recorded as you intended.
- Log it
Add the link to your campaign sheet with the date and where it was posted. When a strange value shows up in reports later, the log tells you where it came from.
Common UTM mistakes
- Tagging internal links. Never add UTMs to links between your own pages. They make your own navigation look like campaign traffic and can replace the visit's real source in reports, Linqry's included.
- Mixed case and synonyms.
Email,e-mailandnewsletteras mediums for the same thing split one channel into three. - Leaving out the medium. Without
utm_medium, tools can't group the visit into a channel, so it falls into referral or direct. - Personal data in UTMs. Never put an email address or customer ID in a UTM value. URLs end up in logs, browser history and analytics reports.
- Redirects that drop the query string. Some link shorteners, consent tools or server redirects strip parameters. Click your tagged link and check the address bar on arrival.
Where Linqry shows UTM data
Linqry reads all five parameters from the landing URL automatically; there's nothing to configure. The visit's source is carried to every later page view and event of that visit, so a signup three pages after landing is still credited to the campaign. Here's where to look:
- Dashboard sources card: tabs for Channel, Referrer, UTM Source and UTM Campaign, with visitors for each.
- Channels: a visit counts as Paid when
utm_mediumiscpcor starts withpaid, Email when the medium isemail(or the source contains 'mail'), and Social when the medium issocialor the referrer is a known social network. That's another reason to keep mediums consistent. - Filters: filter the whole dashboard, including goals and funnels, by UTM source, alongside country, device, browser, OS and referrer.
- Revenue: the Insights page ranks UTM sources by revenue, so you can see which campaigns brought paying customers, not just clicks. See revenue attribution.
- Visitor timelines: each visit on the Users page shows its UTM source, medium and campaign. Term and content are stored with each event but no report shows them yet.
Linqry stores values exactly as they arrive, so Newsletter and newsletter appear as separate UTM source rows. The channel grouping ignores case, but the tables don't, which is the practical reason for the lowercase rule.
Campaign short links and QR codes
Long tagged URLs are ugly in a tweet and impossible to type from a poster. Linqry's Campaigns page lets you create a campaign with its UTM values once, then add short links to it. Each short link redirects to your destination and appends the campaign's UTM parameters (any already on the destination URL are kept), so every link in a campaign is tagged identically.
Each short link has a QR code you can download as SVG or PNG for print, slides or packaging, and Linqry counts clicks per link with a breakdown by country, device and referrer. Clicks from known bots, link-preview fetchers and HEAD requests are not counted, but expect clicks to run a little higher than the visits they produce: a visit only counts once the page loads with the tracker. The visits themselves show up in the dashboard under the campaign's UTM values like any other tagged traffic.
For a launch, create one link per channel (newsletter, LinkedIn, Product Hunt, community posts) under one campaign. The product launch guide shows the full setup.
UTMs and revenue from your backend
UTM parameters live on the landing URL, so they're gone by the time a customer pays next week. To credit that payment to the campaign, store the landing URL at signup and pass it with the revenue event your server sends. The server-side revenue guide walks through it.
Frequently asked questions
Which UTM parameters are required?
Technically none, but Google's guidance is to always use utm_source, utm_medium and utm_campaign, and that's a good rule for any tool. utm_term is mainly for paid search keywords and utm_content for telling apart links in the same campaign.
Are UTM parameters case-sensitive?
Yes, in most analytics tools. Google's documentation says utm_source=google and utm_source=Google are different values, and Linqry's UTM tables also keep them apart. Use lowercase for everything.
How do I track QR code scans?
Point the QR code at a tagged URL, for example with utm_medium=qr and the place it's printed as utm_source. In Linqry, create a short link under a campaign and download its QR code: scans are counted as clicks on the link, and the visits show up under the campaign's UTM values.
Should I use UTM parameters on social media posts?
Yes for links you post yourself, because many social apps open links in an in-app browser that may not send a referrer. Use the network as utm_source and social as utm_medium.
Sources
- Google Analytics Help: URL builders, collect campaign data with custom URLs (checked Nov 9, 2026)
Related
Paste a page URL, fill in source, medium and campaign, and copy a correctly encoded campaign link. The builder runs in your browser, keeps any query parameters and #fragment the URL already has, and warns you about values that would split your reports.
Tags added to a link's query string, such as utm_source and utm_campaign, that tell an analytics tool where a visit came from.
To measure a product launch, decide before launch day which numbers count as success, give every channel its own tagged link, and watch signups by source in real time while it happens. Afterwards, compare the launch window with a normal week so you know what the launch actually changed.
Attach revenue to events from the browser or your backend and see revenue and conversion by referrer, UTM source and country, plus revenue by device, OS and browser.
Linqry lets an agency run analytics for every client from one login, with read-only dashboards that clients open without an account and roles for everyone who needs more. Each client site is billed separately at $5 a month, so the cost follows your client list.
See your own funnels and revenue by channel
No card required · 30-day trial · No cookies