UTM Parameters: Track Your Links
By ToolzHive · · 3 min read
If your analytics shows a pile of traffic under "direct" or "referral" and you cannot tell which campaign earned it, UTM parameters are the fix. They are the little ?utm_source=... tags on the end of a link that tell your analytics exactly where a visitor came from.
What a UTM parameter is
A UTM parameter is just a tag added to a URL's query string. When someone clicks the link, their browser sends those tags along, and your analytics reads them to attribute the visit. The link still works exactly as before; the tags are extra information riding on the end.
They are called UTM after the old "Urchin Tracking Module", the tool that became Google Analytics — but every analytics platform understands them now.
The five parameters
There are five, and three are effectively required:
utm_source— where the traffic came from:newsletter,facebook,google. (Required.)utm_medium— the type of channel:email,social,cpc,referral. (Required.)utm_campaign— the specific campaign:spring_sale,launch_2026. (Required.)utm_term— optional, usually the paid keyword.utm_content— optional, to tell apart two links in the same message:header_buttonvsfooter_link.
A finished link looks like:
https://example.com/offer?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
Consistency is everything
The single biggest mistake is inconsistent naming. Analytics treats these as different sources: Facebook, facebook, FB, fb.com. Each new spelling fragments your report into near-duplicate rows that are a nightmare to reconcile.
Fix it with a convention and stick to it:
- Lowercase everything. UTM values are case-sensitive, so decide on lowercase and never deviate.
- Pick one word per source and document it — is it
newsletteroremail? Choose once. - Use underscores or hyphens, not spaces. A space becomes
%20and looks broken. - Keep a shared spreadsheet of your campaigns so everyone tags the same way.
Use them for outbound, not internal, links
UTMs belong on links pointing to your site from outside — your emails, social posts, ads, partner placements. Do not put them on links between pages of your own site. Internal UTMs overwrite the original source: a visitor who arrived from Google and then clicks an internally-tagged link gets re-attributed, and you lose the real origin. Internal link tracking is a different job with different tools.
Keep the links tidy
Tagged URLs get long and ugly, which matters when they are visible — in a printed flyer, a social bio, a QR code. Two tactics help:
- Shorten the final tagged URL so people see a clean link while analytics still receives the parameters after the redirect.
- For print and offline, pair the tagged link with a QR code so no one has to type the long version.
Build them the same way every time
Because consistency is the whole game, hand-typing UTM parameters is where errors creep in — a capital letter here, a stray space there, a forgotten medium. Building links from a small form that enforces your naming, parsing an existing URL to read back the parameters already on it, encoding a tagged link into a QR code for offline use, and shortening the result all run from your browser. Generate each campaign link from the same fields in the same style, and your analytics rewards you with clean, trustworthy attribution instead of a scatter of near-duplicates.