utm_content vs utm_term: what each one is for
By Devendra Variya, co-founder of Virling. Published 2026-11-24.
utm_content says which link or ad was clicked. utm_term says which paid search keyword the ad was bought on. Use utm_content to tell apart links that share a source, medium and campaign, such as two buttons in one email or two versions of an ad. Use utm_term only on search ads, where the ad platform can fill it in. Both are optional: if a campaign has one link and no keyword, leave both out.
utm_content and utm_term side by side
| utm_content | utm_term | |
|---|---|---|
| Question it answers | Which link, button or ad? | Which paid keyword? |
| Where it belongs | Any link with a sibling in the same campaign | Search ads |
| Who fills it in | Usually you, or the ad platform with an ad ID | Usually the ad platform |
| Example value | header-button | invoicing software |
| In Virling | Stored with the pageview, no report row | The Keyword tab, with visitors and revenue |
This page is only about these two. For the tags that come before them, see which UTM parameters to use to trace revenue, and utm_source vs utm_medium for the two that set the source and channel. For utm_id and the tags added since, see utm_id and the newer UTM parameters. Extra tags do not hurt search rankings when the page has a clean canonical; see whether UTM parameters affect SEO.
Ads: the keyword in one, the creative in the other
A search ad is the one place where both tags have a job. In Google Ads, put this in the final URL suffix:
utm_source=google&utm_medium=cpc&utm_campaign=brand-search&utm_term={keyword}&utm_content={creative}
Google replaces {keyword} with the keyword from your account that matched the search, and {creative} with the ID of the ad. It is the keyword you bid on, not the exact words the person typed. When an ad matches without keywords, as in Performance Max or Dynamic Search Ads, {keyword} is blank; Google lists this under ValueTrack parameters. Type the braces straight into the ad platform, because a URL builder may encode them. The rest of the setup is in Google Ads revenue tracking.
A social ad has no search keyword, so leave utm_term out and use utm_content for the creative:
utm_source=linkedin&utm_medium=paidsocial&utm_campaign=spring-launch&utm_content=video-demo utm_source=linkedin&utm_medium=paidsocial&utm_campaign=spring-launch&utm_content=customer-story
Email: the position of the link
One email often links to the same page several times. Source, medium and campaign are identical, so utm_content is what separates the links. There is no keyword, so there is no utm_term.
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=issue-42&utm_content=header-button https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=issue-42&utm_content=footer-link
Social: the place on the profile or the version of the post
Use utm_content when the same campaign is linked from more than one spot on one platform, such as a post and its first comment. Hashtags and topics are not keywords: keep them out of utm_term.
https://example.com/?utm_source=linkedin&utm_medium=social&utm_campaign=spring-launch&utm_content=post https://example.com/?utm_source=linkedin&utm_medium=social&utm_campaign=spring-launch&utm_content=first-comment
When to leave them out
- The campaign has one link. There is nothing to tell apart, so
utm_contentadds nothing. - The link is not a search ad. Leave
utm_termout of email, social, partner and podcast links, so your keyword report holds only keywords. - You would repeat another tag.
utm_content=newsletternext toutm_source=newslettersays the same thing twice. - The value would identify a person. Never put an email address, name or customer ID in either tag. URLs end up in logs, browser history and shared links.
- The link goes between your own pages. Do not use any UTM tag there. To compare two buttons on your own site, send a goal for each instead.
Naming rules for both
- Lowercase, with hyphens.
header-button, notHeader Button. Keywords that the ad platform fills in keep their spaces, and that is fine. - Content names a thing you can point at. A position (
footer-link), a format (video-demo) or a message (save-time).v2means nothing three months later. - Reuse the same short list. If one email says
header-button, the next should not saytop-cta. - One idea per value. Choose position or message for a campaign, and do not mix them.
- Let the platform fill in the keyword. Typing keywords by hand into
utm_termgoes wrong as soon as an ad group has two.
Keep the list next to your sources and mediums in the UTM naming template, make typed links with the UTM builder, which has a field for each tag, and paste finished links into the UTM checker to catch capitals, spaces, empty values and duplicates.
Where Virling stores and shows each one
The Virling script sends the landing URL, and utm_content and utm_term are read from its query string and stored with the pageview. Each value is trimmed and cut to 200 characters. Neither one decides the channel.
- utm_term is the Keyword tab of the Channels card, with visitors, revenue and revenue per visitor for each value. Click a keyword to filter the whole dashboard by it. The value comes from the first page of the visit. Visits without the tag share one row, No search term. The same rows are the
keyworddimension of the read API:GET /api/v1/sites/{domain}/breakdown/keyword. - utm_content is stored, but it has no dashboard tab and no API dimension. On a self-hosted server you can read it from a copy of the DuckDB file.
So if you want revenue for each link, put the difference in utm_campaign, such as issue-42-header and issue-42-footer, and each gets its own row in the Campaign tab. The other way is a tracked link per place, which gets a campaign of its own.
What the Keyword tab tells you
These numbers are made up to show the reading:
| Keyword | Visitors | Revenue | Revenue per visitor |
|---|---|---|---|
| invoice template | 400 | $116 | $0.29 |
| invoicing software | 90 | $245 | $2.72 |
In this example the first keyword brings more than four times the visitors, and the second brings more than nine times the revenue per visitor. Clicks alone would point you to the wrong one. To see this with your own payments, connect your payment provider and link checkout to visits.
Frequently asked questions
What is the difference between utm_content and utm_term?
utm_content says which link, button or ad was clicked when several share the same source, medium and campaign. utm_term says which paid search keyword triggered the ad. Use utm_content on any kind of link and utm_term only on search ads.
Are utm_content and utm_term required?
No. Both are optional. A link with utm_source, utm_medium and utm_campaign is complete, and you add utm_content or utm_term only when you want to tell links or keywords apart.
Can I use both on the same link?
Yes. A search ad is the usual case: utm_term carries the keyword and utm_content carries the ad, so you can tell two ads for the same keyword apart.
Is utm_term the search query a visitor typed?
Not when the ad platform fills it in with Google's {keyword}. That is the keyword from your account that matched the search, which can differ from the words typed. It comes back blank when an ad matches without keywords, as in Performance Max or Dynamic Search Ads.
Should I put an A/B test variant in utm_content?
Yes, if the two links share a campaign and you only need to tell them apart. If you want a separate row with its own visitors and revenue in Virling, put the variant in utm_campaign, because utm_content is stored but is not a report row.
Do utm_content and utm_term change the channel in Virling?
No. The channel comes from utm_medium, the referrer and utm_source or ref. utm_term fills the Keyword tab, and utm_content is stored with the pageview.
See the revenue behind every keyword and campaign
Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.