Read the guide
Choose UTM values GA4 understands, build tagged links one at a time or as a list, and check each URL's parameters and encoding.
Build campaign URLs with UTM parameters so Google Analytics shows where every visit came from. The UTM builder encodes values correctly, warns about common mistakes, and can tag a whole list of links at once.
Where the traffic comes from.
The marketing channel.
The promotion or campaign.
Paid search keyword.
Tells two links in the same ad apart.
Needed for GA4 cost data imports.
The link is built with the browser's URL and URLSearchParams objects, so every value is percent-encoded correctly. Spaces become %20, and characters such as & or # inside a value can't break the link. What each parameter means:
utm_source: who sends the traffic (google, newsletter, facebook).utm_medium: the channel (cpc, email, social, referral).utm_campaign: the campaign or promotion name.utm_term: the paid search keyword.utm_content: tells apart two links or ads in the same campaign.utm_id: a campaign ID, used to join cost data imported into GA4.Existing query parameters are kept unless you untick Keep the URL's existing query parameters, and a #fragment stays at the end where it belongs.
https://example.com/sale with source newsletter, medium email, campaign spring_sale → https://example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale.example.com/page?ref=x#top with the Google Ads preset and campaign brand → https://example.com/page?ref=x&utm_source=google&utm_medium=cpc&utm_campaign=brand#top.Spring Sale gets two warnings: capital letters and a space. spring_sale avoids both.| Channel | utm_source | utm_medium |
|---|---|---|
| Google Ads | cpc | |
| Microsoft Ads | bing | cpc |
| Facebook ads | paid_social | |
| Instagram ads | paid_social | |
| LinkedIn post | social | |
| Email newsletter | newsletter | |
| Partner site | partner-name | referral |
| Printed flyer (QR code) | flyer |
GA4 sorts traffic into default channel groups by these values. "cpc", "email", and "paid_social" land in Paid Search, Email, and Paid Social.
Read the guide
Choose UTM values GA4 understands, build tagged links one at a time or as a list, and check each URL's parameters and encoding.
Tags added to the end of a URL, such as ?utm_source=newsletter&utm_medium=email. Analytics tools read them to report which campaign, source, and channel brought each visitor.
utm_source, utm_medium, and utm_campaign. Google Analytics can attribute a visit without the others, but not without these three.
Yes. GA4 is case-sensitive, so mixed case splits one source into several rows. Use lowercase and underscores or hyphens instead of spaces.
Not if your pages have a canonical tag pointing to the clean URL, which tells search engines to ignore the tagged copies. Don't use UTM tags in internal links or sitemaps.
In Meta Ads Manager, open the ad and paste the tags into the URL parameters field, without the question mark. Use utm_source=facebook and utm_medium=paid_social, and you can use dynamic values such as {{campaign.name}} so each ad fills in its own campaign name.
In Reports, open Acquisition and then Traffic acquisition, and switch the table dimension to Session campaign or Session source / medium. New tags usually appear within a day.
Often used together with UTM Builder.
Creates QR codes for links, Wi-Fi, contacts, and more, as PNG or SVG.
Breaks a URL into its parts and lets you edit query parameters.
Percent-encodes and decodes text for URLs.