Backround image

What is the utm_medium query parameter?

The utm_medium parameter classifies the type of marketing channel that drove a visitor to your site. It answers the question: how did the user get here? Common values include cpc (cost-per-click), email, social, organic, and referral.

Explore Further

How does utm_medium work?

While utm_source tells you where traffic originates, utm_medium tells you how it arrived. For instance, traffic from Google could come via paid search (utm_medium=cpc), organic results, or a display ad — the medium distinguishes between these.

https://yourwebsite.com/?utm_source=google&utm_medium=cpc

Common utm_medium values

Consistency matters — using "email" in one campaign and "Email" in another creates separate entries in your analytics. Define a naming convention and stick with it.

How is utm_medium different from other UTM parameters?

Each UTM tag captures a different dimension of your campaign:

Think of it this way: utm_source is the who, utm_medium is the how, and utm_campaign is the what.

utm_medium and TTFB considerations

Since utm_medium is almost always used alongside utm_source and utm_campaign, URLs with UTM parameters tend to have high variation. If your caching layer (WordPress, Cloudflare, or another CDN) uses the full URL as the cache key, every unique UTM combination generates a cache miss — degrading TTFB for campaign visitors specifically.

Test your site's performance with utm_medium

Use the tool below to measure how the utm_medium parameter affects your website's TTFB.

Url to be checked

Paste your url with http(s)://

Reset
Site url
Runs for each url
Url parameters

created by

Mateusz Zadorożny

Founder of Shift64 — high-performance infrastructure for WooCommerce stores that have outgrown their hosting.