UTM Parameters Explained — How to Track Where Your Traffic Comes From
You shared a link on Twitter, in a newsletter, and in an ad. All three brought visitors. But which source worked best? Without UTM parameters, you're guessing.
You shared a link to your website on Twitter, in an email newsletter, and in a Facebook ad. All three brought visitors. Google Analytics says you got 500 clicks. But which source brought the most? Which campaign was worth the money? Without UTM parameters, you're guessing.
What are UTM parameters?
UTM stands for Urchin Tracking Module (named after Urchin, the analytics tool Google acquired and turned into Google Analytics). UTM parameters are tags you add to the end of a URL so analytics tools can track exactly where each visitor came from.
A UTM-tagged URL looks like this:
https://yoursite.com/sale?utm_source=twitter&utm_medium=social&utm_campaign=spring_sale
When someone clicks this link, Google Analytics records that the visit came from Twitter, via social media, as part of your spring sale campaign.
The five UTM parameters
utm_source (required) — Where the traffic comes from. Examples: google, newsletter, twitter, facebook.
utm_medium (required) — The marketing medium. Examples: cpc, email, social, banner.
utm_campaign (required) — The specific campaign name. Examples: spring_sale, product_launch, weekly_digest.
utm_term (optional) — For paid search, tracks which keyword triggered the ad.
utm_content (optional) — Differentiates similar content within the same campaign. Useful for A/B testing — like "blue_button" vs "red_button."
Common mistakes to avoid
Inconsistent naming. "Facebook" and "facebook" and "fb" will show up as three different sources in your reports. Pick a convention and stick with it. Lowercase everything.
Using UTM tags on internal links. Never use UTM parameters for links within your own site. It will reset the user's session and make your attribution data useless.
Making URLs too long. Keep campaign names short but descriptive. Nobody wants to share a URL that's 300 characters long.
Building UTM links the easy way
Instead of manually typing out parameters and hoping you don't make a typo, use Toolozo's UTM Builder. Enter your URL and campaign details, and it generates the properly formatted link. Copy, paste, done.
Pair this with Toolozo's URL Shortener to turn that long UTM-tagged URL into something clean and shareable.
Frequently Asked Questions
What are the required UTM parameters?
utm_source, utm_medium, and utm_campaign are the three required parameters. utm_term and utm_content are optional.
Should I use UTM parameters on internal links?
No, never. Using UTM parameters on internal links resets the user's session in analytics and corrupts your attribution data.