UTM Builder
Build UTM links and see which Google Analytics channel each visit will be counted in before the link goes live. This free UTM builder works like a campaign URL builder that also checks your tags against Google’s channel rules, one link or a whole spreadsheet at a time. It runs in your browser, so nothing you type is sent to us.
- Free, no signup
- Runs in your browser
- Google’s rules checked November 25, 2026
Start from a common campaign
The page the link should open.
Where the link appears: facebook, google, newsletter.
The kind of placement: social, email, cpc, sms.
The promotion or reason for the link.
An ID from your ad platform or campaign plan.
The paid search keyword, when there is one.
Which ad, button or link this is, to tell links in one campaign apart.
The platform that manages the campaign.
Google accepts this tag but does not report it yet.
Google accepts this tag but does not report it yet.
Make every value lowercase
GA4 reports Facebook and facebook as two different sources.
GA4 will count this visit asExample
Organic Social
Fill in the form to see your own link.
Why
“facebook” is on Google’s list of social sites.
The medium is “social”, a value Google’s rule for Organic Social names.
Google’s rule · Rule 10 of 19 in Google’s order
Your tagged link
Google’s channel rules, in the order GA4 applies them
The table below quotes Google’s definitions for manually tagged traffic word for word. The builder runs these rules against your link; nothing else decides the prediction.
| Order | Channel | Google’s definition |
|---|---|---|
| 1 | Direct | Source exactly matches "(direct)"ANDMedium is one of ("(not set)", "(none)") |
| 2 | Cross-network | Campaign Name contains "cross-network"Cross-network includes Demand Gen, Performance Max and Smart Shopping. |
| 3 | Paid Shopping | Source matches a list of shopping sitesORCampaign Name matches regex ^(.*(([^a-df-z]|^)shop|shopping).*)$ANDMedium matches regex ^(.*cp.*|ppc|retargeting|paid.*)$ |
| 4 | Paid Search | Source matches a list of search sitesANDMedium matches regex ^(.*cp.*|ppc|retargeting|paid.*)$ |
| 5 | Paid Social | Source matches a regex list of social sitesANDMedium matches regex ^(.*cp.*|ppc|retargeting|paid.*)$ |
| 6 | Paid Video | Source matches a list of video sitesANDMedium matches regex ^(.*cp.*|ppc|retargeting|paid.*)$ |
| 7 | Display | Medium is one of (“display”, “banner”, “expandable”, “interstitial”, “cpm”) |
| 8 | Paid Other | Medium matches regex ^(.*cp.*|ppc|retargeting|paid.*)$ |
| 9 | Organic Shopping | Source matches a list of shopping sitesORCampaign name matches regex ^(.*(([^a-df-z]|^)shop|shopping).*)$ |
| 10 | Organic Social | Source matches a regex list of social sitesORMedium is one of (“social”, “social-network”, “social-media”, “sm”, “social network”, “social media”) |
| 11 | Organic Video | Source matches a list of video sitesORMedium matches regex ^(.*video.*)$ |
| 12 | Organic Search | Source matches a list of search sites listed under "SOURCE_CATEGORY_SEARCH"ORMedium exactly matches organic |
| 13 | AI Assistant | The medium exactly matches “ai-assistant”.The medium is set to “ai-assistant” and the campaign is set to “(ai-assistant)” if the referrer matches a list of AI Assistants. |
| 14 | Referral | Medium is one of ("referral", "app", or "link") |
| 15 | Source = email|e-mail|e_mail|e mailORMedium = email|e-mail|e_mail|e mail | |
| 16 | Affiliates | Medium = affiliate |
| 17 | Audio | Medium exactly matches audio |
| 18 | SMS | Source exactly matches smsORMedium exactly matches sms |
| 19 | Mobile Push Notifications | Medium ends with "push"ORMedium contains "mobile" or "notification"ORSource exactly matches "firebase" |
Rules last checked against Google’s documentation on November 25, 2026.
Source lists come from the spreadsheet Google links from that page, a file last modified on February 9, 2023.
Google prints the Paid Shopping rule without brackets. The builder reads it as a shopping source or a shopping campaign name, together with a paid medium. Where the other reading gives a different answer, the result says so.
Google can change these rules at any time. When it does, we update the builder and the date above.
Sources
What UTM parameters are
UTM parameters are short tags added to the end of a link that tell Google Analytics where a visit came from. A tagged link looks like this: yourwebsite.com/spring-offer?utm_source=facebook&utm_medium=social&utm_campaign=spring-sale. The page is the same for the visitor; GA4 reads the tags and files the visit under Facebook, social and your spring sale.
UTM stands for Urchin Tracking Module, after Urchin, the analytics software Google bought and turned into Google Analytics. The first tag follows a question mark and each one after it follows an ampersand. When the address already has its own query, such as ?ref=card, the tags join it with an ampersand instead, and the builder handles that for you.
How to build a UTM link
A tagged link takes about a minute here, and the channel check happens as you type.
- Paste the page the link should open, or start from a common campaign such as a Facebook post, a newsletter or a flyer.
- Fill in the source (where the link appears), the medium (the kind of placement) and the campaign name (the reason for the link).
- Read the channel the builder predicts. If it is not the one you meant, apply the suggested fix or pick the channel you want.
- Copy the link. For a whole campaign, switch to many links and load a spreadsheet saved as CSV, then download every link tagged and checked.
UTM source and medium examples
These are the values the presets above use, with the channel Google’s rules put each one in. Copy the pattern, keep the spelling identical every time, and your reports stay in one row per placement.
| Placement | utm_source | utm_medium | GA4 channel |
|---|---|---|---|
| Google Business Profile | organic | Organic Search | |
| Profile appointment link | organic | Organic Search | |
| Facebook post | social | Organic Social | |
| Instagram post or bio | social | Organic Social | |
| Facebook and Instagram ads | paid_social | Paid Social | |
| Google Ads backup tags | cpc | Paid Search | |
| YouTube description | youtube | video | Organic Video |
| TikTok post | tiktok | social | Organic Social |
| LinkedIn post | social | Organic Social | |
| Nextdoor post | nextdoor | social | Organic Social |
| Nextdoor ad | nextdoor | paid_social | Paid Other |
| Yelp profile | yelp | social | Organic Social |
| Email newsletter | newsletter | ||
| Text message | text | sms | SMS |
| Flyer or QR code | flyer | Unassigned |
How GA4 decides which channel a visit belongs to
GA4 reads three of your tags to file a visit: the source, the medium and the campaign name. It checks them against the rules Google publishes for the default channel group, and the visit goes to the first channel whose rule it matches. The other tags (ID, term, content and the rest) appear in reports but do not move a visit between channels.
The order matters. Google lists its shopping, search, social and video rules before email, SMS and referral, so in that order a link with source facebook and medium email is counted as Organic Social, not Email. The builder applies the rules in the order Google lists them and tells you when an earlier rule takes a link away from the channel its medium points to.
Google says it applies the first matching channel in custom channel groups. Its page on the default group lists the rules in order without saying so, and the builder assumes the same behaviour. The full rule list, with the date we last checked it, sits below the builder.
UTM naming conventions that keep reports clean
A report can only group what was spelled the same way. Pick one spelling for every source and medium, write it down where your team can see it, and reuse it on every link.
- Use lowercase everywhere. GA4 reports Facebook and facebook as two sources.
- Use hyphens instead of spaces: spring-sale, not spring sale, which becomes spring+sale in the link.
- Name the campaign for the offer and the season, such as spring-sale or grand-opening, so next year’s report still makes sense.
- Use utm_content to tell apart two links in the same campaign, such as header-button and footer-link.
- Keep UTM tags off links between pages of your own site. They are for links people find somewhere else, and an internal tag can take credit for a visit that started elsewhere.
Where to see UTM data in GA4
Open Reports, then Acquisition, then Traffic acquisition. The table starts by channel group, which matches what this builder predicts when your property uses Google’s default group. Switch the first column to session source / medium to see each tag pair, or to session campaign to compare promotions.
To test a link before it goes out, click it from a phone that has not visited the site lately and check the Realtime report for its source and medium. For utm_term and utm_content, add the session manual term or session manual ad content dimension to the table, or build an exploration. Our GA4 setup series covers getting the collection itself right.
Print and QR codes have no channel of their own
GA4’s default channels have no place for a flyer, a yard sign, a vehicle wrap or a business card. Tag those links with a medium such as print and the visits land in Unassigned. They are not lost: GA4 still records the source, medium and campaign, so a report filtered to medium print shows every printed piece side by side.
If you want Print as a channel in your reports, add it to a custom channel group in GA4 with the rule medium exactly matches print, and place it above the channels that could claim it first. GA4 lets you use a custom group as the primary channel group for your property. The default group stays as Google defines it.
Tagging a print piece as referral to avoid Unassigned mixes your flyers into traffic from other websites, which is harder to untangle later.
Google Ads and Meta links
Keep auto-tagging on in Google Ads. When a click carries both the Google Ads click ID and UTM tags, GA4 uses the auto-tagged values for source, medium and channel, and keeps your term and content tags. Google recommends adding the three main UTM tags as well, because GA4 falls back to them when the click ID cannot be used.
Meta lets an ad’s URL parameters carry placeholders such as {{campaign.name}}, {{campaign.id}} and {{ad.name}}, which Meta fills in for each ad. The name placeholders take the name the ad had when it was first published, so a later rename will not show up in GA4. Choose campaign names you can live with before the ads go out.
Click IDs such as gclid and fbclid are added by the ad platform when someone clicks. A copied one does not belong in a link you publish, so the builder removes any it finds in the address you paste.
What each tag records
Google asks for the first three on every tagged link. It accepts the last two but does not report them yet.
| Tag | What it records | Affects the channel |
|---|---|---|
| utm_source | Where the link appears: facebook, google, newsletter | Yes |
| utm_medium | The kind of placement: social, email, cpc, sms | Yes |
| utm_campaign | The promotion or reason for the link | Only “shop” and “cross-network” |
| utm_id | A campaign ID from your ad platform or plan | No |
| utm_term | The paid search keyword | No |
| utm_content | Which ad, button or link this is | No |
| utm_source_platform | The platform that manages the campaign | No |
| utm_creative_format | The ad format | No, and not reported yet |
| utm_marketing_tactic | The targeting tactic | No, and not reported yet |
How this builder works
Everything happens in your browser. The address, the tags and any spreadsheet you load stay on your device; the page sends none of them to Machina.
Spaces in a value become a plus sign, the same encoding Google’s own campaign URL builder uses. Query parameters already on your address are kept exactly as you typed them, old UTM tags are replaced, and click IDs are removed. Lowercase is on by default because GA4 reports Facebook and facebook as two different sources.
The prediction covers manually tagged links and GA4’s default channel group. It cannot see a custom channel group you have built, and Google Ads clicks with auto-tagging follow Google’s own rules for ad network and campaign type.
Google’s own Campaign URL Builder covers the same tags. This UTM generator adds the channel prediction, the fixes, bulk CSV and presets for the campaigns local businesses run.
Questions about this tool
Why is some of my traffic Unassigned in GA4?
Unassigned means none of Google’s channel rules matched the visit. One cause you control is a medium no rule names, such as print, qr, offline or newsletter-email. Change the medium to one the rules name, or add a custom channel group that gives those visits a home.
Are UTM tags case sensitive in GA4?
The channel rules are not, so Facebook and facebook land in the same channel. Reports are: GA4 lists them as two different sources, which splits your numbers. Keep every value lowercase.
Should I add UTM tags to Google Ads links?
Keep auto-tagging on, and add source, medium and campaign as well. When both are present, GA4 uses the auto-tagged values; when the click ID cannot be used, it falls back to your UTM tags.
Which UTM tags are required?
Google asks you to always use utm_source, utm_medium and utm_campaign. The source and medium decide the channel in almost every case, and the campaign name keeps one promotion apart from the next.
Do UTM parameters affect SEO?
Not on links you share elsewhere, which is what they are for. A tagged address is a second address for the same page, so keep UTM tags out of your sitemap and off links between your own pages, and keep a canonical tag on the page so search engines index the clean address.
Does the order of UTM tags matter?
No. GA4 reads each tag by its name, so utm_medium before utm_source works the same. The builder always writes source, medium and campaign first, which keeps links easy to compare by eye.
Can I use the same UTM link in more than one place?
You can, but every visit then counts under the same source, medium and campaign. Give each placement its own utm_content, such as instagram-bio and instagram-story, and you can tell which one people clicked.
Should I use UTM tags in email?
Yes. Use utm_medium=email and a source that names the list or the platform, and GA4 counts the visit as Email. If your email platform adds its own tags, check its settings first so two sets of tags do not compete on one link.
Keep reading
Go deeper
Know which campaign brought the customer
Tagged links are where tracking starts. Our Growth team connects each campaign to the inquiries and sales it produced, then shows where the next dollar should go. Tell us which number you trust least and which decision depends on it.
What our Growth team takes on
- Marketing Analytics & ReportingTracking, dashboards and attribution you can act on.
- Conversion Rate OptimizationMore enquiries and sales from the traffic you already have.
- Fractional CMOA senior marketing leader on your team, without the full-time hire.
- Marketing ConsultationSenior guidance on your plan, your budget and your channels.
- Growth DiagnosisA free written analysis that names what is holding growth back.
Prefer to talk? Call (831) 230-7787
Let’s scale your business
Tell us which service you need and the main challenge you want to solve.

