How to build UTM links that keep GA4 reports clean
UTM parameters are short tags added to the end of a URL that tell Google Analytics 4 (and most other analytics tools) exactly where a visit came from. Paste your landing page above, set utm_source, utm_medium, and utm_campaign, and copy the finished link into your ad, email, or post. Everything runs in your browser - the URLs you tag are never sent to a server.
The three parameters answer three different questions. Source is the site or platform the click came from (google, facebook, newsletter). Mediumis the channel type (cpc, email, social, video) - GA4's default channel grouping is built from it, so a wrong medium can file paid traffic under "Unassigned." Campaign names the specific push (spring_sale, launch_week) so you can compare efforts against each other. The optional term and content tags track the paid keyword and the creative variant - useful for A/B testing two buttons in the same email.
The mistake that ruins most UTM reporting isn't missing tags - it's inconsistent ones. GA4 treats values literally, so "Email", "email", and "e-mail" show up as three different mediums and split your numbers across rows. Pick lowercase, underscore-separated names once and reuse them everywhere; the builder above warns you about spaces, mixed casing, and double-tagged URLs as you type. Two more rules worth keeping: never tag internal links between pages of your own site (it overwrites the visitor's real source mid-session), and keep the final URL under about 2,000 characters so nothing truncates it.
Once your link is tagged, put it to work: turn it into a scannable code with the free QR code generator for print and packaging, and give the shared link a proper preview card with the OG image generator. If you schedule recurring campaign jobs, the cron expression generator helps you get the timing right.
Last updated July 2026.