What UTM parameters are
A UTM parameter is a name-value pair added to a URL as a query string. UTM stands for Urchin Tracking Module, named after the analytics tool that introduced them. You add them after a? in the link, and separate multiple parameters with &.
utm_source— where the traffic came fromutm_medium— the type of channelutm_campaign— the specific campaignutm_content— which creative or link variantutm_term— the paid keyword
Why UTM parameters matter
Without UTM parameters, most analytics platforms can only tell you that a visitor arrived from a domain, for example “came from facebook.com.” They cannot tell you which ad, which audience, or which campaign drove that visit. UTM parameters are the base layer of digital marketing analytics. They are how a click becomes a measurable, attributable event. Once the tags are captured and stored, you can:- See which campaigns produce leads, signups, or sales
- Compare channels against each other on the same terms
- Trace a customer back to the first ad they clicked
- Calculate return on ad spend per campaign or creative
The standard parameters
Five parameters are recognized by nearly every analytics platform. Use these as your default.utm_source, utm_medium, and utm_campaign are the three you should set on every link. utm_content and utm_term are optional and used when you need to separate creatives or track keyword-level paid search.
ID versions of the parameters
Instead of writing readable names into your campaign and content parameters, you can use the platform’s own IDs.
Most ad platforms provide dynamic fields you can drop into a URL, such as
{{campaign.id}} and {{adset.id}} on Meta. The platform fills in the actual ID at the moment the ad serves, so the link carries the ID rather than a hand-written name.
Why use IDs over names
Two reasons: privacy and stability. Readable names leak strategy. Take the campaign nameMeta-Instagram-Awareness-CBO-TOFU and the content name 20260601-purchasedList-HSL. To anyone who inspects the link, and that includes the visitor, a competitor, or a browser extension, those names reveal the platform, the objective, the budget structure, the funnel stage, the send date, and the fact that the audience came from a purchased list. That is a lot to hand out in a URL. An ID like 120210000123456 reveals none of it.
Names change; IDs do not. A person can rename a campaign or ad set at any time, sometimes by accident. The moment a name changes, every historical report keyed on that name splits into two, and your data no longer stitches together cleanly. The platform ID stays fixed for the life of the campaign or ad set, so reporting stays consistent even when someone edits a label.
Why consistency matters
UTM values are just text. To an analytics platform,paid_search, Paid_Search, paidsearch, and ppc are four completely different mediums. Every variation creates a new row in your reports and fragments your data.
The value of UTM data comes almost entirely from consistency. Decide on a fixed vocabulary and use it every time:
- Pick one value per concept, for example
utm_mediumis alwayspaid_search, never a synonym - Use one case convention, usually all lowercase
- Use one separator, usually underscores or hyphens, not a mix
- Write the rules down and give people a builder or template instead of typing links by hand
Email instead of email is enough to break a channel report.
How UTMs move through the funnel
UTM parameters are not a single event. They travel with the visitor from the first click all the way into your customer records. The path looks like this:- Attached. You add the parameters to the link, whether it is an ad destination URL, an email link, a button, or a web link.
- Clicked and captured. When the visitor clicks, they land on your site carrying the parameters in the URL. Your site reads them and captures them, usually into a cookie or a hidden form field.
- Stored. When the visitor converts, for example by submitting a form, the captured values are written into fields on their record in your CRM, CDP, or analytics platform.
- Analyzed. With the values stored on the record, you can group, filter, and attribute revenue and conversions back to the exact source, medium, campaign, and creative.
When you do not need UTMs
You only benefit from UTM parameters when the destination can report on them. If you are sending someone to a place you do not control and cannot pull data from, the tags do nothing. For example, if you link someone to your Instagram profile, adding UTM parameters is pointless. Instagram will not hand you click-level data for visits to your own profile, so there is nothing to capture and nothing to analyze. Reserve UTM tagging for destinations you own or can measure, such as your website or landing pages.Custom UTM parameters
You are not limited to the five standard parameters. You can add your own, for examplelead_code or ref, to carry information the standard fields do not cover.
Use a custom parameter when you have a specific value you need to pass through the click and store on the record, such as an internal lead source code, a referral partner ID, or an offer code.
The risk with custom parameters
Custom parameters are less reliable than the standard five. Some browsers and privacy tools strip query parameters they do not recognize as standard. They may keep theutm_ parameters and remove your custom ones, which means the custom data silently disappears before your site ever sees it.
Cookie and attribution windows
When your site captures UTM parameters, it often stores them in a cookie with an expiry, for example 30, 60, or 90 days. That expiry is the window during which the click can still be credited to a conversion. If the visitor converts inside the window, the stored UTM values attach to their record and the conversion is attributed to that click. If the cookie expires before they convert, the values fall off, and the conversion is recorded with no source, or gets credited to whatever later touch is still in the cookie.Effect on first-touch attribution
This directly affects first-touch attribution, which credits the conversion to the earliest recorded click. Suppose a visitor first clicks a paid social ad, and your cookie window is 30 days. If they come back and convert on day 20, first-touch works: the original ad still lives in the cookie and gets the credit. If they convert on day 40, the first-touch cookie has already expired. The paid social ad that actually started the journey is now invisible, and the conversion is attributed to a later touch or to none at all. The practical consequences:- Long sales cycles lose early touches. If your buying cycle is longer than your cookie window, first-touch attribution will systematically undercount the channels that open relationships and overcount the ones that close them.
- Attribution windows shape the story. The same set of conversions can attribute very differently under a 30-day versus a 90-day window. Know your window before you read your reports.
- Cross-device and cookie clearing break the chain. Cookies are per-browser. If the visitor switches devices or clears cookies, the stored UTMs are gone regardless of the window length.
Related resources
Set your UTM taxonomy Define the fixed vocabulary forutm_source, utm_medium, and utm_campaign so everyone tags links the same way.