Click Tracking Guide logoClick Tracking Guide

UTM Parameters: The Complete Guide (With Naming Templates)

Everything you need to tag your links consistently, plus copy-ready templates for Meta and Google Ads.

By Click Tracking Guide Editorial Team · Updated October 6, 2026
Disclosure: Click Tracking Guide is reader-supported. If you buy or start a plan through some of our links, including ClickMagick and Hyros, we may earn a commission at no extra cost to you. Our content is based on published documentation, pricing and policies plus independent research. Learn more.

What UTM Parameters Are

UTM parameters are short tags you add to the end of a link so your analytics and tracking tools know exactly where a click came from. When someone clicks the link, the tags travel with them to your site:

https://yoursite.com/offer?utm_source=facebook&utm_medium=paid_social&utm_campaign=spring_launch&utm_content=video_a

Without UTMs, a visit from your Facebook ad, your newsletter and a YouTube description might all look like generic "social" or "direct" traffic. With them, every click is labeled.

The Five Standard UTM Parameters

ParameterAnswersExampleRequired?
utm_sourceWho sent the traffic?facebook, google, newsletter, vendor_nameYes
utm_mediumWhat type of traffic?paid_social, cpc, email, solo_adYes
utm_campaignWhich campaign?spring_launch, webinar_octYes
utm_termWhich keyword or ad set?click_tracking_software, lookalike_1pctOptional
utm_contentWhich ad or link variation?video_a, banner_blue, header_linkOptional

Google Analytics 4 also recognizes a few newer parameters, including utm_id (a campaign ID), utm_source_platform, utm_creative_format and utm_marketing_tactic. Most advertisers don't need them, but utm_id is handy if you import cost data.

A Naming Convention That Scales

The most common UTM problem isn't missing tags; it's inconsistent ones. "Facebook", "facebook" and "fb" become three separate sources in your reports. Set rules once and write them down:

Channelutm_sourceutm_medium
Meta adsfacebookpaid_social
Google Search adsgooglecpc
YouTube adsyoutubepaid_video
TikTok adstiktokpaid_social
Your newsletternewsletteremail
Solo advendor_namesolo_ad
YouTube description (organic)youtubeorganic_video

Template: Facebook and Instagram Ads

Meta supports dynamic URL parameters that fill in automatically for each ad. Add this to the URL parameters field of your ad:

utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_term={{adset.name}}&utm_content={{ad.name}}

Meta also offers {{campaign.id}}, {{adset.id}}, {{ad.id}}, {{placement}} and {{site_source_name}}. IDs are more reliable than names if you rename ads later. Consider passing IDs in a separate parameter your tracker reads.

Template: Google Ads

Google Ads auto-tagging adds a gclid to every click for Google Analytics. To make campaign details readable by other tools too, add a final URL suffix (at account, campaign or ad group level) using ValueTrack parameters:

utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_term={keyword}&utm_content={creative}

Note Google uses single braces, Meta double braces. Mixing them up is a common mistake.

Template: Email and Solo Ads

?utm_source=newsletter&utm_medium=email&utm_campaign=2026_10_webinar&utm_content=main_button

For solo ads, put the vendor's name in utm_source and send the vendor a tracking link rather than a raw URL, so you can also filter bot clicks. See our solo ads tracking guide.

Common UTM Mistakes

MistakeWhat happensFix
UTMs on internal linksOverwrites the visitor's real source; inflates sessionsOnly tag links that point to your site from elsewhere
Inconsistent capitalizationOne channel split into several rowsLowercase everything
Redirects that drop parametersUTMs vanish before the page loadsTest the final URL after every redirect
Wrong brace styleLiteral text like {{campaign.name}} in reportsDouble braces on Meta, single on Google
No documented rulesEvery team member invents their own namesKeep a shared naming sheet

From UTMs to Sales

UTMs tell you where visits come from. To see which sources make money, you need a tool that connects the tagged click to the sale, including sales that happen days later, on another device or on a checkout on another domain. GA4 does this partially. Independent trackers like ClickMagick read your UTMs and attribute leads and revenue to every source, campaign and ad, with a UTM Performance report built in.

Next, read our marketing attribution guide or set up tracking with our ClickMagick tutorial. More guides are on the Click Tracking Guide homepage.

Frequently Asked Questions

What are UTM parameters?

UTM parameters are tags added to the end of a URL, such as utm_source=facebook, that tell analytics and tracking tools where a click came from.

Which UTM parameters are required?

Google Analytics treats utm_source, utm_medium and utm_campaign as the core three. utm_term and utm_content are optional but useful for keywords and ad variations.

Are UTM parameters case-sensitive?

Yes. Facebook and facebook are recorded as different sources in most tools, so pick a rule (usually all lowercase) and stick to it.

Do UTM parameters affect SEO?

Not if you use them on external links (ads, emails, social posts). Don't add UTMs to your own internal links; it can overwrite the original source of the visit and create duplicate URLs.

Do I need UTMs for Google Ads?

Google Ads auto-tagging (the gclid parameter) handles Google Analytics. Adding UTMs as well helps other tools, such as independent trackers and your CRM, read the campaign details.

Turn Your UTMs Into Revenue Reports

ClickMagick reads your UTM parameters and ties every tagged click to the leads and sales it produced. Read our review or try it free for 14 days.

Read Our ClickMagick Review

Click to Start Trial