UTM Tag

A UTM tag is a snippet of text added to the end of a URL that identifies where website traffic comes from. UTM stands for Urchin Tracking Module, named after the analytics company Google acquired in April 2005. Marketers add UTM tags (a practice called UTM tagging) so that platforms like Google Analytics 4 can attribute every click to a specific source, channel, and campaign.
The 5 UTM Tags
There are five UTM tags. Three are required for accurate tracking. Two are optional and used for deeper segmentation.
- utm_source (required): the platform or site that sent the traffic, such as
facebook,newsletter, orgoogle. - utm_medium (required): the channel type, such as
email,social,cpc, orreferral. - utm_campaign (required): the name of the marketing campaign, such as
spring_sale_2026. - utm_term (optional): the paid keyword associated with the click. Used mostly in paid search.
- utm_content (optional): a label that distinguishes between similar links in the same campaign, such as
header_ctaorfooter_link.
A complete tagged URL looks like this:
https://linkutm.com/?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_content=header_cta
The first parameter starts with a ?. Each additional parameter is joined with &.
How UTM Tagging Works
UTM tagging works by appending key-value pairs to a destination URL. When a user clicks the tagged link, the parameters travel with the request. Google Analytics 4 reads the parameters from the URL and stores them in the source, medium, and campaign dimensions for that session.
A typical tagging workflow:
- Decide which campaign needs tracking.
- Pick consistent values for source, medium, and campaign.
- Append the UTM tags to the destination URL.
- Share the tagged link in your email, social post, or ad.
- Verify the data in GA4 under Reports > Acquisition > Traffic Acquisition.
A dedicated UTM builder generates properly formatted tagged URLs and prevents typos that fragment analytics data.
UTM Tagging Best Practices
UTM tagging works only when every link follows the same rules. Inconsistent tagging produces split or missing data in reports.
- Use lowercase only. GA4 treats
Facebookandfacebookas two different sources. - Replace spaces with underscores or hyphens. Use
spring_sale, notspring sale. - Keep names short and descriptive.
emailis better thanemail_marketing_blast_v2_final. - Always include source, medium, and campaign. Skipping any of the three breaks GA4 attribution.
- Document a naming convention. Share a single source of truth so every team member tags the same way.
- Reuse standard medium values. Stick to
email,social,cpc,display,referral, andaffiliate. Mixing custom values fragments reports. - Tag every clickable link in a campaign. Untagged links default to “Direct” or “(not set)” in GA4.
For teams running large campaigns, naming convention rules can enforce these standards at the moment a link is created.
UTM Tag vs UTM Parameter vs UTM Code
The three terms overlap and are often used interchangeably. The differences are subtle.
| Term | Refers To |
|---|---|
| UTM tag | The act of labeling a URL, often used as a synonym for parameter |
| UTM parameter | The individual key-value pair, like utm_source=facebook |
| UTM code | The full technical string appended to a URL |
| UTM tagging | The practice of adding UTM tags to URLs |
In day-to-day use, marketers say “tag this link” or “add UTMs” with the same meaning. Analytics documentation tends to prefer “parameter” for the technical reference.
Common UTM Tagging Mistakes
Inconsistent tagging is the leading cause of broken campaign data. Search Engine Journal reported in 2024 that 62% of GA4 source/medium issues trace back to broken or inconsistent campaign URLs.
- Mixing case.
utm_source=Newsletterandutm_source=newslettercreate duplicate rows in reports. - Using spaces.
utm_campaign=spring salebreaks the URL or shows the literal%20encoding. - Skipping required tags. A link with only
utm_campaignbut noutm_sourceandutm_mediumfalls into “(not set)”. - Tagging internal links. Adding UTMs to links between pages on the same site overwrites the original session source in GA4.
- Reusing old campaign names. Recycling a campaign name a year later mixes data from two unrelated efforts.
Frequently Asked Questions
What is a UTM tag in simple terms?
A UTM tag is a small piece of text added to the end of a website URL that tells analytics tools where a click came from. It identifies the source, medium, and campaign so marketers can see which channels drive traffic and conversions. UTM tags do not change where the link goes, only how the visit is recorded.
What does a UTM tag look like?
A UTM tag looks like a query string appended to a URL after a question mark. Example: https://example.com/?utm_source=email&utm_medium=newsletter&utm_campaign=launch. Each tag is a key-value pair, joined together with ampersands.
How do you add UTM tags to a link?
Build the tagged URL by appending ?utm_source=, then &utm_medium=, then &utm_campaign= to the destination URL. Fill in values that describe the channel and campaign. The fastest way is to use a UTM builder tool that handles formatting and prevents errors.
What are the best practices for UTM tagging?
Use lowercase only, separate words with underscores or hyphens, keep names short, and always include source, medium, and campaign. Document a naming convention and share it with the entire team. Tag every clickable link in a campaign, but never internal links between pages on the same site.
To start tagging campaign links the right way, use the free UTM builder at linkutm.