UTM parameters

UTM parameters are five optional tags you add to the end of a link: utm_source, utm_medium, utm_campaign, utm_term and utm_content. When someone clicks the link, your analytics reads them and credits the visit to that campaign instead of a generic referrer. Source, medium and campaign are the three you should always set.

By the Onfus teamUpdated 17 November 2026

UTM parameters

Definition
Five tags added to a link's query string so analytics can tell which campaign, channel and ad sent a visit.

What are the 5 UTM parameters?

utm_source names who sent the traffic (newsletter, google, x). utm_medium names the channel type (email, cpc, social). utm_campaign names the campaign (black-friday-2026). utm_term records a paid search keyword, and utm_content tells apart two links in the same campaign, such as two buttons in one email.

utm_source
AnswersWho sent the visit?
Examplenewsletter
utm_medium
AnswersWhat kind of channel?
Exampleemail
utm_campaign
AnswersWhich campaign?
Examplelaunch-week
utm_term
AnswersWhich paid keyword?
Exampleweb-analytics
utm_content
AnswersWhich link or ad variant?
Exampleheader-button

The five UTM parameters

Questions about utm parameters.

What does a UTM link look like?

https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=launch-week. The part after ? is the query string; each parameter is a name=value pair joined with &.

What are the rules for naming UTM values?

Values are case-sensitive in most tools, so Newsletter and newsletter become two sources. Use lowercase, use hyphens instead of spaces, and keep one shared list of sources and mediums so every link in a team uses the same words. Never put UTM tags on internal links within your own site.

How does Onfus handle it?

Onfus reads all five UTM parameters from the landing URL and shows them in the Sources report. If utm_source is missing it falls back to a ref parameter, so ?ref=producthunt also works. Revenue attribution keeps the UTM values of a customer's first visit, so you can see revenue by campaign.

Free UTM builder

Are UTM parameters case-sensitive?

Usually yes. Keep everything lowercase so one source isn't split into several rows.

Do UTM parameters affect SEO?

They create extra URLs for the same page. Keep UTMs off internal links and use a canonical URL on each page so search engines index the clean version.

Which UTM parameters are required?

None are required by the browser, but analytics tools need utm_source to attribute a visit. Set source, medium and campaign on every tagged link.

Know what to fix by tomorrow.

Paste one line and start tracking in a minute. See where visitors drop off and what to fix. Free for 14 days, no cookie banner.