What UTM parameters do
UTM parameters are tags on the end of a link that tell your analytics where a visit came from. When someone clicks https://example.com/?utm_source=producthunt&utm_medium=referral&utm_campaign=launch, Google Analytics 4 records the session under that source, medium and campaign instead of guessing from the referrer, which many apps strip.
The five parameters
- utm_source (required): the specific site or sender.
producthunt,x,newsletter. - utm_medium: the type of channel.
social,email,referral,cpc. GA4 uses this to sort traffic into channels like Organic Social or Email. - utm_campaign: the push. Use the same value on every channel for one launch so you can compare them.
- utm_content: tells apart two links in the same place, such as
header_linkandfooter_link. - utm_term: the paid keyword. Rarely needed outside search ads.
Naming that keeps reports clean
- Lowercase everything. GA4 treats
Newsletterandnewsletteras two sources. This tool lowercases by default. - No spaces. Use underscores or hyphens. Spaces become
+or%20and split your data. - Write it down. Keep one list of sources and mediums and reuse it.
- Never tag internal links. A UTM link from your own homepage starts a new session and overwrites the real source.
How it shows in GA4
Open Reports, Acquisition, Traffic acquisition and set the dimension to Session source / medium or Session campaign. The tool shows the channel group GA4 is likely to assign, based on Google's default rules: social sources land in Organic Social, email in Email, referral in Referral. A medium GA4 does not recognise ends up in Unassigned, which is the most common tagging mistake.
Launch week
Tag every link you post on launch day: your launch post, the maker comment, the newsletter, each social post. Then you can see which channel sent visitors who stayed, not just who sent the most clicks.