UTM link builder
Tag a URL so the click shows up in the right row of your analytics.
Existing parameters and the #fragment are kept.
Where the traffic comes from: google, facebook, newsletter.
How it gets here: cpc, email, social, referral.
Distinguishes two links in the same email or ad.
Ties the click to a row in GA4 cost data import.
Test it
Fill the form to build a link.
Tagged URL
Before you ship this
- Note: Start with the page the link should land on.
How to use it
- Paste the destination URL. Existing parameters and the #fragment are kept.
- Fill in source, medium and campaign — GA4 needs all three to file the session properly.
- Keep everything lowercase. GA4 treats Email and email as two separate rows.
- Copy the tagged URL, and test it once before it goes into a send.
Three tags do the attribution
Source and medium together decide which channel a session lands in; campaign groups the sessions. Term and content are for distinguishing links within a campaign, and most people never need them.
utm_id is the one worth knowing about: it ties a click back to a row in GA4 cost data import, which is how you get spend and revenue in the same report.
Never tag an internal link
A UTM on a link between two pages of your own site starts a new session and reattributes the visitor to the new source. The organic visit that led to the sale disappears and the credit goes to your own banner.
If you want to measure internal clicks, use an event, not a campaign tag.
Lowercase, hyphens, and a written convention
The parameters are case-sensitive, so one person typing Email while another types email halves every number in the report. Spaces survive encoding but read badly and break in some tools.
Agree lowercase with hyphens, write it down somewhere the whole team can see, and the tagging stays usable for years rather than months.
Do not hand-tag Google Ads
Google Ads auto-tagging appends a gclid that carries cost, keyword, match type and device into GA4. Adding your own UTMs on top overrides that richer data with five flat strings, and you lose the join between spend and conversions.
Leave auto-tagging on and tag nothing by hand there. Manual UTMs are for the channels that have no equivalent — email, newsletters, partners, QR codes, offline print.
UTM link builder FAQ
What is the difference between utm_source and utm_medium?
Source is where the traffic comes from (google, newsletter, linkedin). Medium is how it gets there (cpc, email, social). Source answers who sent them, medium answers what kind of link it was.
Do UTM parameters hurt SEO?
Not if the page is self-canonical, which it should be anyway. Google consolidates tagged variants onto the canonical. The real risk is tagging internal links, which restarts the session and destroys your attribution.
Should UTM parameters be lowercase?
Yes. They are case-sensitive in GA4, so Spring-Sale and spring-sale become two campaigns and your numbers split in half. Pick lowercase with hyphens and never deviate.
Which parameters are actually required?
Source is the minimum GA4 needs to attribute anything, but source, medium and campaign together are the practical requirement — without medium the traffic will not map to a channel, and without campaign you cannot separate one send from the next.
What is utm_id for?
A campaign identifier, used to join your analytics data to imported cost data so GA4 can report return on spend. It is only worth populating if you are actually importing costs; otherwise it is another field to keep consistent for no benefit.
Should I tag Google Ads links?
No. Auto-tagging adds a click identifier that carries far more detail than UTM parameters can, and manual tags can override it and break the integration. Leave auto-tagging on and tag everything else.
How should I tag Meta or LinkedIn ads?
Manually, and with the platform dynamic parameters where they exist so the ad and placement names fill themselves in. Hand-typing a campaign name into every ad is how one campaign ends up spelled three ways across a reporting period.
Do I need a written naming convention?
Yes, and it is the single highest-value thing in this whole subject. One document listing the allowed sources, the allowed mediums and the campaign naming pattern prevents the drift that makes historical data unusable. Convention first, tags second.
Do UTM tags survive being shared?
They travel with the link, which means a tagged URL pasted into a forum attributes that traffic to your email campaign forever. It is a known limitation rather than a fixable one; be suspicious of a campaign whose traffic continues long after the send.
Can parameters be stripped in transit?
Occasionally. Some link shorteners, some apps and some privacy tools remove or rewrite query parameters, and a few browsers now strip known tracking parameters by default. Test a real link on a phone before a large send rather than assuming it arrives intact.