UTM Builder: campaign URLs for GA4 with a saved naming convention
UTM Builder
Build clean, consistent UTM links for Google Analytics 4. Pick a platform preset or fill in source, medium and campaign. Your naming rules (lowercase, separator, your own sources and mediums) are saved in this browser, so every link follows the same convention. The tool also shows the GA4 channel the link will most likely count as.
Presets:
More GA4 parameters
Your campaign URL
Likely GA4 channel–
URL length–characters
My saved links
About UTM Builder
UTM Builder for Google Analytics 4 with a Saved Naming Convention
A UTM link is a normal web address with tags such as utm_source, utm_medium and utm_campaign added at the end, so Google Analytics 4 knows where each visit came from. This free UTM builder creates those links, keeps every link in the same naming convention and shows which GA4 channel the visit will most likely count as. Your rules and saved links stay in your browser.
UTM tags are simple, but they break easily. One person writes "Facebook", another "facebook" and a third "fb", and GA4 reports them as three different sources. A newsletter tagged with medium "newsletter" instead of "email" ends up in the Unassigned channel. This builder fixes both problems: it applies your naming rules to every link and checks the result against the GA4 channel rules before you share it.
How to build a UTM link
Pick a preset or start blank. Presets fill in a source and medium that GA4 understands: Google Ads (google / cpc), Microsoft Ads (bing / cpc), Facebook Ads and Instagram Ads (paid_social), LinkedIn Ads, TikTok Ads, Email newsletter (newsletter / email), Organic social post (facebook / social), QR code (qr / offline), SMS and Affiliate.
Enter the website URL. Paste the address of the landing page. If you leave out https://, the builder adds it. Other parameters already in the URL are kept, and old UTM tags in it are replaced by the new ones.
Fill in source, medium and campaign. These three are needed for GA4 to report the link correctly. The builder warns you if one is missing.
Add content and term if useful. Use utm_content to tell apart two ads or two links in the same email, and utm_term for a keyword.
Open More GA4 parameters if you need them. Here you can add utm_id, utm_source_platform, utm_creative_format and utm_marketing_tactic. Google recommends utm_id and utm_source_platform; the last two are accepted but, according to Google, not currently reported in GA4.
Set your naming convention once. Choose lowercase, removing accents and symbols, the separator for spaces, and your own lists of allowed sources and mediums. These settings are saved in your browser.
Copy or save the link. Press Copy URL, or Save to my list to keep it in your history. Download the history as a CSV for your team or your campaign sheet.
The campaign name "Spring Sale 2027" becomes spring_sale_2027 because lowercase and underscores are switched on. The channel shows Paid Social.
The UTM parameters explained
utm_source: where the visit comes from
The site, platform or list that sends the visitor: google, facebook, newsletter, partner-site. Use a name GA4 knows when one exists. GA4 decides the channel partly by matching the source against known search engines and social networks.
utm_medium: the type of traffic
The marketing channel type: cpc for paid search, paid_social for paid social ads, email, social, referral, affiliate, display. The medium is the most important tag for channel grouping, so stick to a short, fixed list.
utm_campaign: the campaign name
The name of the promotion or campaign, such as spring_sale_2027 or webinar_seo_june. Choose a pattern and keep it, for example year_month_topic, so campaigns sort well in reports.
utm_content and utm_term
utm_content tells apart links that share the same source, medium and campaign, for example two banner designs or two buttons in one email. utm_term is meant for paid search keywords; with Google Ads auto-tagging you usually do not need it.
The newer GA4 parameters
utm_id: a campaign ID. Use the same ID you use when you upload campaign or cost data into GA4, so the visits and the imported data match.
utm_source_platform: the platform that directs the traffic, for example a buying platform that sets budgets and targeting, such as Search Ads 360 or Display & Video 360.
utm_creative_format: the type of creative, such as display, native, video or search.
utm_marketing_tactic: the targeting, such as remarketing or prospecting.
Google's help page says utm_creative_format and utm_marketing_tactic are not currently reported in Google Analytics properties. Adding them does no harm, but do not expect to find them in your reports today.
Your naming convention, saved
The convention panel is what makes this builder different from a plain form. Every value you type goes through your rules before it enters the link:
Lowercase everything. GA4 is case-sensitive, so "Facebook" and "facebook" are two different sources. Lowercase keeps reports clean.
Remove accents and symbols. Turns "Promoción Otoño!" into "promocion otono", so links stay readable and do not break when copied.
Replace spaces with an underscore, a hyphen or %20. Underscores and hyphens are easier to read in reports than %20.
My sources and My mediums. List the values your team is allowed to use, separated by commas. With Warn me when a source or medium is not in my lists ticked, the builder flags any value outside your lists, so a typo like "facebok" is caught before it reaches GA4.
These settings are stored in your browser's local storage and are used again the next time you open the page on this device.
Likely GA4 channel
Next to the link, the builder shows the default channel group the visit will most likely land in, such as Paid Search, Paid Social, Organic Social, Email, Referral, Affiliates, Display or Unassigned. It uses a simplified version of the GA4 default channel group rules:
A paid medium (one that contains "cp", such as cpc, or is ppc or retargeting, or starts with paid) with a search engine source counts as Paid Search; with a social network source as Paid Social; with a video site as Paid Video. Any other paid source falls into Paid Other, and the builder suggests a common source name.
Medium email, or source email, counts as Email.
Medium social, or a social network as source without a paid medium, counts as Organic Social.
Medium display, banner or cpm counts as Display.
Medium affiliate counts as Affiliates, medium referral as Referral.
Source or medium sms counts as SMS, medium audio as Audio, and a medium that ends in push or contains mobile or notification as Mobile Push Notifications.
A video site as source, or a medium that contains video, counts as Organic Video; a search engine as source, or medium organic, as Organic Search. A campaign name that contains cross-network gives Cross-network.
Anything GA4 has no rule for is Unassigned, and the builder tells you how to fix it.
The real GA4 rules have more detail. Campaign names that contain "shop" or "shopping" go to Paid Shopping or Organic Shopping, GA4 also counts the mediums app and link as Referral, and its lists of search, social and video sites are much longer than the builder's. So treat the result as a strong hint, not a final answer. The channel names stay in English, because that is how GA4 reports them in many accounts.
One preset needs a note. The QR code preset fills in qr / offline, and GA4 has no rule for the medium offline, so the builder shows Unassigned. That is fine if you look at these visits by source and medium, or if you add your own channel group for offline traffic in the GA4 admin. If you would rather not see Unassigned at all, you need such a custom channel group, because no default channel fits printed material.
Checks before you share a link
Missing source, medium or campaign: GA4 needs all three.
Not a full address: the website URL must contain a real domain, such as example.com/page.
Value not in your lists: catches typos and unofficial names.
Uppercase letters: a reminder that GA4 treats them as different values.
Very long links: links over 2,000 characters can be cut by some platforms.
Google Ads with google / cpc: a tip that auto-tagging (gclid) already sends this data, so manual tags are optional there.
A link to this website: if the URL points to the site you are on, the builder reminds you not to tag internal links.
A typo in the source, the medium newsletter and a missing campaign: three warnings and an Unassigned channel before the link is ever shared.
Common UTM mistakes
UTM tags on internal links. Never tag links from one page of your site to another. Each click starts a new session and overwrites the real source of the visit.
Mixing names. "Email", "e-mail" and "newsletter" as medium split one channel into three rows. Decide once and save it in the convention.
Personal data in UTM values. Do not put email addresses or names in a UTM. Analytics terms do not allow personal data in URLs.
Tagging Google Ads by hand and turning off auto-tagging. Auto-tagging gives GA4 more detail than manual tags, such as the ad group and the real search query. Keep it on. If a click has both a gclid and UTM tags, GA4 uses the gclid data for source, medium and campaign.
Redirects that drop the tags. If your landing page redirects, for example from http to https or to a page without a trailing slash, make sure the redirect keeps the query string. Test the final address with our redirect checker.
Forgetting offline and QR traffic. A QR code on a flyer without UTM tags shows up as Direct. Build the tagged link here, then create the code with our QR code generator.
Example: one campaign, three channels
Say you promote a spring sale on Facebook ads, in your newsletter and on a printed flyer. With lowercase and underscores saved in your convention, the three links could use: facebook / paid_social / spring_sale_2027, newsletter / email / spring_sale_2027 and qr / offline / spring_sale_2027. In GA4 the first two land in Paid Social and Email, and all three share one campaign name, so you can compare them side by side in the campaign report. Add utm_content values such as video_a and carousel_b to the Facebook link to see which ad brought more sales.
My saved links
Every link you save goes to the top of a list on the page, which keeps your last 50 links. You can copy any of them again, remove one with the × button, download the full list as a CSV with the URL and every UTM parameter in its own column, or clear the list. The list is stored in your browser only, so download the CSV if you want to share it or keep it safe.
FAQ
Which UTM parameters are required?
GA4 needs utm_source, utm_medium and utm_campaign to report a link correctly. utm_content, utm_term and the newer GA4 parameters are optional.
Are UTM parameters case-sensitive?
Yes. GA4 reports "Facebook" and "facebook" as two sources. Use lowercase everywhere; the builder can do this for you.
Do I need UTM tags for Google Ads?
Usually not. Google Ads auto-tagging adds a gclid to each click, and GA4 uses it to get the campaign, ad group and keyword. When a click has both, GA4 uses the gclid. Use UTM tags for other platforms.
What medium should I use for paid social ads?
Use a medium that GA4 sees as paid, such as paid_social or cpc, together with the network's name as source, such as facebook or linkedin. Then the visits count as Paid Social.
Why do my visits show as Unassigned in GA4?
Usually because the medium is not one GA4 has a rule for, for example "newsletter" or "post". Use standard values like email, social, referral or cpc.
Can I write UTM values in my own language?
You can, but letters outside A to Z become long codes such as %D0%B0 in the link. Remove accents and symbols turns é into e, keeps Cyrillic and Arabic letters, but drops the vowel signs of Hindi words. Short English words in lowercase are the safest choice.
Where are my convention and saved links stored?
In your browser's local storage on this device. Nothing is sent to our server.