UTM generator
Build campaign URLs with utm_source, utm_medium, utm_campaign, utm_term, and utm_content. Presets for the major ad platforms, one-click copy, and clean, consistent values that work in GA4 and every analytics tool that reads UTM parameters.
The page the ad or link should land on
Where the traffic comes from: google, facebook, newsletter
The channel: cpc, paid_social, email, display
The promotion or initiative: spring_launch, q4_retargeting
Optional. Paid keyword or audience
Optional. The specific ad, creative, or link
Values are case-sensitive in most analytics tools, so Facebook and facebook would show up as two sources. Both options are on by default to keep reports clean.
https://www.example.com/pricing?utm_source=google&utm_medium=cpc&utm_campaign=spring_launch
- utm_source
- utm_medium
- cpc
- utm_campaign
- spring_launch
What each parameter is for.
UTM parameters are tags appended to a URL's query string. Analytics tools read them on landing to credit the visit to a source, medium, and campaign. Three are treated as required, two add optional detail.
Where the traffic comes from
The referrer or platform: google, facebook, linkedin, newsletter.
The marketing channel
cpc, paid_social, email, display, affiliate. GA4 uses it to assign the default channel group.
The campaign or promotion
A name you would recognize in a report: spring_launch, q4_retargeting.
The keyword or audience
Paid search keywords, or an audience name on social.
The specific ad or link
Distinguish creatives, placements, or two links in the same email.
Parameter values are case-sensitive in most analytics tools, so facebook and Facebook become two different sources. The generator lowercases values by default for that reason.
Tagged URLs for common channels.
Parameter values that keep reports clean, by channel. Consistency matters more than the exact words: pick a convention and apply it everywhere.
| Channel | utm_source | utm_medium | utm_campaign | utm_content |
|---|---|---|---|---|
| Google Ads | cpc | brand_search | headline_a | |
| Meta Ads | paid_social | spring_launch | video_15s | |
| LinkedIn Ads | paid_social | abm_enterprise | carousel | |
| Newsletter | newsletter | weekly_digest | hero_link | |
| Partner co-marketing | partner_name | referral | co_marketing_q3 | footer_cta |
What UTMs tell you, and what they don't.
UTMs only survive the first click
A UTM credits the session it lands in. When the visitor copies the link, shares it in Slack, switches from an app browser to Safari, or comes back three days later from a bookmark, the parameters are gone and the return visit looks like direct traffic. UTMs tell you where a session started, not where a customer came from.
They don't connect to revenue on their own
Analytics tools show sessions and on-site conversions by campaign; they don't see the deal that closed in your CRM six weeks later. Cometly's pixel captures UTMs and click IDs on the first visit and attribution stitches them to the pipeline and revenue each campaign produced.
Auto-tagging and UTMs work together
Google, Meta, and Microsoft add their own click IDs (gclid, fbclid, msclkid) to ad URLs. Keep those on: they power conversion matching inside each platform. Add UTMs as well so tools that don't read click IDs still know the source, medium, and campaign.
Browsers increasingly strip parameters and cookies. See how server-side tracking keeps attribution intact.
Other calculators marketers reach for.
- CPM Impression CalculatorSolve for impressions, ad spend, or CPM from any two of the three.
- CTR CalculatorSolve for click-through rate, clicks, or impressions from any two of the three.
- LTV CalculatorCustomer lifetime value from revenue, margin, and churn, plus LTV:CAC and payback.
- Conversion Rate CalculatorSolve for conversion rate, conversions, or the visitors a goal needs.
- CPC CalculatorSolve for cost per click, clicks, or ad spend from any two of the three.
- CPV CalculatorCost per view for YouTube, TikTok, and Meta video, with what counts as a view.
- CPA CalculatorCost per acquisition or cost per lead, conversions, or the spend a target needs.
- ROAS CalculatorReturn on ad spend as a multiple and a percentage, with ACoS alongside.
- Break-Even ROAS CalculatorThe ROAS where ads stop losing money, from margin or from price and costs.
UTM questions, answered.
What the parameters are, which ones you need, naming rules, and where UTMs stop being useful.
Talk to salesWhat is a UTM parameter?
Which UTM parameters are required?
What is the difference between utm_source and utm_medium?
Do UTM parameters affect SEO?
Should UTM values be lowercase?
Can I use UTMs on internal links?
Do UTM parameters work with GA4?
How do I see UTM data in my CRM?
UTMs tell you the click.
Cometly tells you the revenue.
Cometly reads your UTMs and click IDs, follows the visitor through sign-up and sales, and reports which campaigns produced pipeline and revenue.