Skip to content
Guide · Campaigns & UTMs

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

ParameterAnswersExample values
utm_sourceWho sent the visitor? The site, newsletter or publisher.newsletter, linkedin, producthunt, partner-acme
utm_mediumWhat kind of channel? The marketing medium.email, social, cpc, referral, qr
utm_campaignWhich campaign or promotion?nov-launch, black-friday-2026, webinar-q4
utm_termWhich paid keyword? Mostly for search ads.cookieless-analytics
utm_contentWhich 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:

  1. Lowercase everything. No exceptions, including brand names: linkedin, not LinkedIn.
  2. Use hyphens, not spaces. Spaces turn into %20 or + and break copy-paste. Pick hyphens or underscores and use only one.
  3. Source is the specific sender, medium is the type. utm_source=linkedin&utm_medium=social, never the reverse.
  4. Keep a short, fixed list of mediums. For example: email, social, cpc, referral, qr, affiliate. Add a new one only on purpose.
  5. Make campaign names readable a year from now. black-friday-2026 beats bf26.
  6. Use content to tell links apart, not new campaigns: one campaign, with utm_content=header-button and utm_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

One campaign value shared across channels lets you compare them side by side.
Channelutm_sourceutm_mediumutm_campaign example
Your newsletternewsletteremailnov-launch
LinkedIn post (organic)linkedinsocialnov-launch
X / Twitter postxsocialnov-launch
Google Adsgooglecpcbrand-search
Product Hunt launchproducthuntreferralph-launch-2026
Partner or affiliatepartner-acmeaffiliateq4-partners
Printed flyer (QR code)flyerqrmeetup-nov
  1. 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.

  2. 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
  3. 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.

  4. 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-mail and newsletter as 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_medium is cpc or starts with paid, Email when the medium is email (or the source contains 'mail'), and Social when the medium is social or 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.

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

  1. Google Analytics Help: URL builders, collect campaign data with custom URLs (checked Nov 9, 2026)

See your own funnels and revenue by channel

No card required · 30-day trial · No cookies