UTM Parameters: A Practical Guide to Tracking Every Campaign Link

By Saerly Team · SAER Technologies · · 7 min read

UTM parameters are small tags added to a URL so your analytics tool knows where a visit came from. Here is how to use all five, name them consistently and avoid the mistakes that break reports.


UTM parameters are tags you add to the end of a URL, such as ?utm_source=newsletter&utm_medium=email&utm_campaign=diwali_sale, so your analytics tool can tell exactly which campaign, channel and message sent a visitor to your site. There are five of them: source, medium, campaign, term and content. Use the first three on every campaign link, name them the same way every time, and your traffic reports stop being a guessing game.

Key takeaways

  • utm_source, utm_medium and utm_campaign are the three you should always set; utm_term and utm_content are optional.
  • UTM values are case sensitive in most analytics tools, so pick one style (lowercase with underscores is the safest) and stick to it.
  • Never put UTM tags on internal links within your own site; they overwrite the original source of the visit.
  • Long tagged URLs look messy, so shorten them before sharing in posts, messages and QR codes.

What the five UTM parameters mean

Each parameter answers one question about a visit. Together they form a simple hierarchy, from the broad channel down to the specific link that was clicked.

utm_source: who sent the visitor?

The source is the specific site, platform or list the traffic came from. Examples: google, facebook, instagram, newsletter, whatsapp, partner_blog. If you only remember one rule, it is this: the source is a place, not a type of marketing.

utm_medium: what kind of channel?

The medium is the category of marketing: email, cpc, social, paid_social, sms, qr, referral, affiliate. Analytics tools use the medium to group traffic into channels, so a consistent medium list matters more than almost anything else. In Google Analytics 4, for example, the default channel grouping relies heavily on source and medium values, and an unusual medium can push traffic into the "Unassigned" bucket.

utm_campaign: which campaign?

The campaign name ties together every link that belongs to the same promotion, launch or initiative: diwali_sale_2026, spring_webinar, new_menu_launch. Use the same campaign value across email, social and paid links so you can compare channels within one campaign.

utm_term: which keyword?

Originally built for paid search keywords, utm_term is optional. Many teams use it for paid search or to record an audience or targeting segment, such as lookalike_1pct. If you run Google Ads with auto-tagging, you usually do not need to set it by hand.

utm_content: which link or creative?

Also optional, utm_content separates links that share everything else. Use it for A/B tests or to tell apart two links in the same email: header_button vs footer_link, or video_ad vs carousel_ad.

A naming convention that keeps reports clean

Most messy UTM reports are not caused by missing tags but by inconsistent ones. Facebook, facebook, fb and facebook.com will appear as four different sources. A short written convention prevents this.

  1. Lowercase everything. Treat any uppercase letter as a mistake.
  2. Use underscores or hyphens, never spaces. Spaces become %20 or + in URLs and are easy to mistype. Pick underscores or hyphens and use only that one.
  3. Keep a fixed list of mediums. Write down eight to ten allowed values and do not invent new ones on the fly.
  4. Use a predictable campaign format. For example topic_offer_yyyymm, such as monsoon_freeship_202607. Dates in the name make old campaigns easy to filter.
  5. Avoid personal data. Never put email addresses, phone numbers or names in UTM values. They end up in analytics reports and may break platform policies and privacy law.
  6. Record every link. A shared spreadsheet with the final URL, date, owner and purpose is enough for most small teams.

UTM examples for common channels

Here is a starting set you can adapt. The values are suggestions; what matters is that your team uses the same ones every time.

Channelutm_sourceutm_mediumutm_campaignutm_content (optional)
Monthly email newsletternewsletteremailnov_newsletter_202611hero_button
Instagram bio linkinstagramsocialalways_on_biobio_link
Facebook paid adfacebookpaid_socialdiwali_sale_2026carousel_v2
WhatsApp broadcastwhatsappmessagingdiwali_sale_2026broadcast_1
Promotional SMSsmssmsdiwali_sale_2026reminder
QR code on a shop posterposterqrstore_launch_mumbaicounter_poster
Partner blog mentionpartner_namereferralguest_feature_202610author_bio

A full tagged URL for the WhatsApp row would look like this:

https://example.com/sale?utm_source=whatsapp&utm_medium=messaging&utm_campaign=diwali_sale_2026&utm_content=broadcast_1

You do not need to type these by hand. The free Saerly UTM builder assembles the URL from form fields, and the same fields are available when you create a short link.

Where UTM data shows up

When someone clicks a tagged link and lands on your site, your analytics script reads the parameters from the address bar. In GA4, UTM values appear as session source, session medium and session campaign (along with their "first user" versions for acquisition reports). You can use these dimensions in the Traffic acquisition report or in Explorations to compare campaigns side by side.

Other tools, such as email platforms, CRMs and ecommerce dashboards, can also capture UTM values, often by storing them on a lead or order. This is how you move from "this campaign got clicks" to "this campaign got sales".

Common UTM mistakes

Tagging internal links

Adding UTMs to a banner on your own homepage that points to another page on your own site starts a new session with the new source. The visitor who originally came from Google now looks like they came from "homepage_banner". Use event tracking for internal clicks instead.

Inconsistent capitalisation and spelling

Email, email and e-mail split one channel into three rows. This is the most common problem and the easiest to prevent with a convention and a builder tool.

Putting the campaign in the source

A source like diwali_instagram_story mixes three ideas. Keep source as the platform (instagram), medium as the channel type (social) and campaign as the promotion (diwali_sale_2026).

Breaking the URL

If the destination URL already contains a question mark, additional parameters must start with &, not a second ?. Also check that tags come before any # fragment, since parameters placed after a fragment are usually not sent to the server or read by analytics.

Tagging links that analytics cannot see

UTMs only work if the landing page runs your analytics script. If a link goes to a third-party marketplace or an app store, the tags may be ignored. In those cases, rely on the click analytics of your short link instead.

Redirects that strip parameters

Some sites redirect from http to https, or from a non-www address to www, and a badly configured redirect can drop the query string. Click your final link once and check the address bar on arrival.

Tagged URLs get long quickly. A 60-character product URL can easily pass 150 characters once you add four parameters. That is a problem in SMS, on printed material, in a QR code (longer data makes a denser, harder-to-scan code) and anywhere people might see or retype the link.

The fix is to build the full tagged URL and then shorten it. The short link redirects to the tagged URL, so your analytics still receives every parameter, and you get a clean link to share. You also gain a second layer of data: the short link records clicks even when the landing page analytics does not, which helps you spot gaps such as visitors who bounce before the page loads.

A practical workflow looks like this:

  1. Write the campaign values in your tracking sheet.
  2. Build the tagged URL with a UTM builder.
  3. Create a short link with a readable back-half, for example saerly.com/diwali-wa, using the URL shortener.
  4. Create one short link per channel, not one shared link, so each channel has its own click count.
  5. For print, generate a QR code from the short link so you can see scans separately from clicks.

With Saerly, the free plan includes the UTM fields during link creation, custom back-halves and click analytics that separate link clicks from QR scans. Read how link click analytics works to understand why short link numbers and GA4 numbers rarely match exactly, and see short links for SMS campaigns if you send text messages.

A quick checklist before you launch

  • Source, medium and campaign are filled in and lowercase.
  • The medium is on your approved list.
  • The campaign name matches the other channels in the same campaign.
  • No personal data appears in any value.
  • The final URL opens correctly and the parameters survive any redirects.
  • Each channel has its own short link, and the link is logged in your sheet.

UTM tagging is not glamorous, but ten minutes of discipline at the start of a campaign is what lets you answer the only question that matters at the end: which channel actually worked.

Frequently asked questions

Which UTM parameters are required?

No parameter is technically required, but utm_source, utm_medium and utm_campaign should be set on every campaign link. utm_term and utm_content are optional and used for keywords, audiences or telling apart links within the same campaign.

Are UTM parameters case sensitive?

Yes, in most analytics tools including GA4, so "Email" and "email" show as separate values. Using lowercase only is the simplest way to avoid split reports.

Do UTM parameters affect SEO?

UTM tags on links you share in campaigns do not help or hurt rankings. Avoid using them on internal links, and make sure your pages have a canonical tag so tagged versions of a URL are not treated as separate pages.

Will UTM tags still work if I shorten the link?

Yes. The short link redirects to the full tagged URL, so the parameters reach your landing page and your analytics tool reads them as normal.

Where do I see UTM data in Google Analytics 4?

UTM values appear as session source, session medium and session campaign in the Traffic acquisition report. You can also use them as dimensions in Explorations.

Try Saerly free

Shorten links, create QR codes and track every click. 100 free links a month — no credit card.

#utm#campaign tracking#google analytics#ga4#marketing analytics