Machina

Machina — Marketing that moves numbers.

Reach out today

Industries

One growth engine.

Design, advertising, development, and marketing built for the sectors driving what comes next — AI, fintech, health tech, and beyond.

All industries

Machina — Marketing that moves numbers.

Reach out today

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.

Build a tagged link
  • Free, no signup
  • Runs in your browser
  • Google’s rules checked November 25, 2026

Runs in your browser. Nothing you type or upload is sent to us.

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.

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
Source matches a regex list of social sitesORMedium is one of (“social”, “social-network”, “social-media”, “sm”, “social network”, “social media”)

Your tagged link

https://yourwebsite.com/spring-offer?utm_source=facebook&utm_medium=social&utm_campaign=spring-sale

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.

Google’s channel rules, in the order GA4 applies them
OrderChannelGoogle’s definition
1DirectSource exactly matches "(direct)"ANDMedium is one of ("(not set)", "(none)")
2Cross-networkCampaign Name contains "cross-network"Cross-network includes Demand Gen, Performance Max and Smart Shopping.
3Paid ShoppingSource matches a list of shopping sitesORCampaign Name matches regex ^(.*(([^a-df-z]|^)shop|shopping).*)$ANDMedium matches regex ^(.*cp.*|ppc|retargeting|paid.*)$
4Paid SearchSource matches a list of search sitesANDMedium matches regex ^(.*cp.*|ppc|retargeting|paid.*)$
5Paid SocialSource matches a regex list of social sitesANDMedium matches regex ^(.*cp.*|ppc|retargeting|paid.*)$
6Paid VideoSource matches a list of video sitesANDMedium matches regex ^(.*cp.*|ppc|retargeting|paid.*)$
7DisplayMedium is one of (“display”, “banner”, “expandable”, “interstitial”, “cpm”)
8Paid OtherMedium matches regex ^(.*cp.*|ppc|retargeting|paid.*)$
9Organic ShoppingSource matches a list of shopping sitesORCampaign name matches regex ^(.*(([^a-df-z]|^)shop|shopping).*)$
10Organic SocialSource matches a regex list of social sitesORMedium is one of (“social”, “social-network”, “social-media”, “sm”, “social network”, “social media”)
11Organic VideoSource matches a list of video sitesORMedium matches regex ^(.*video.*)$
12Organic SearchSource matches a list of search sites listed under "SOURCE_CATEGORY_SEARCH"ORMedium exactly matches organic
13AI AssistantThe 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.
14ReferralMedium is one of ("referral", "app", or "link")
15EmailSource = email|e-mail|e_mail|e mailORMedium = email|e-mail|e_mail|e mail
16AffiliatesMedium = affiliate
17AudioMedium exactly matches audio
18SMSSource exactly matches smsORMedium exactly matches sms
19Mobile Push NotificationsMedium 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.

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.

UTM source and medium examples
Placementutm_sourceutm_mediumGA4 channel
Google Business ProfilegoogleorganicOrganic Search
Profile appointment linkgoogleorganicOrganic Search
Facebook postfacebooksocialOrganic Social
Instagram post or bioinstagramsocialOrganic Social
Facebook and Instagram adsfacebookpaid_socialPaid Social
Google Ads backup tagsgooglecpcPaid Search
YouTube descriptionyoutubevideoOrganic Video
TikTok posttiktoksocialOrganic Social
LinkedIn postlinkedinsocialOrganic Social
Nextdoor postnextdoorsocialOrganic Social
Nextdoor adnextdoorpaid_socialPaid Other
Yelp profileyelpsocialOrganic Social
Email newsletternewsletteremailEmail
Text messagetextsmsSMS
Flyer or QR codeflyerprintUnassigned

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.

Tags that land in the wrong channel

Each of these follows from the rules as Google writes them. The full rule text is in the table below the builder.

  • utm_medium=print, qr, offline or flyer matches no rule, so the visit lands in Unassigned.
  • A campaign name with “shop” or “shopping” in it, such as shop-local, sends the link to a Shopping channel whatever the medium says. Words like barbershop and workshop do not trigger it.
  • utm_source=meta is not on Google’s lists. A paid Meta ad tagged that way lands in Paid Other. Use facebook or instagram.
  • A Facebook ad tagged with medium social_paid or ad is counted as Organic Social, because neither value matches Google’s paid pattern. Use paid_social or cpc.
  • Any medium containing “mobile” or “notification”, or ending in “push”, is counted as Mobile Push Notifications. mobile-ad is an easy one to miss.
  • Nextdoor is not on Google’s social list, so a Nextdoor ad with a paid medium lands in Paid Other. Yelp is on the list, so every Yelp link counts as Organic Social unless its medium is paid.

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.

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.

What each tag records
TagWhat it recordsAffects the channel
utm_sourceWhere the link appears: facebook, google, newsletterYes
utm_mediumThe kind of placement: social, email, cpc, smsYes
utm_campaignThe promotion or reason for the linkOnly “shop” and “cross-network”
utm_idA campaign ID from your ad platform or planNo
utm_termThe paid search keywordNo
utm_contentWhich ad, button or link this isNo
utm_source_platformThe platform that manages the campaignNo
utm_creative_formatThe ad formatNo, and not reported yet
utm_marketing_tacticThe targeting tacticNo, 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.

Know which campaign brought the customer

Let’s scale your business

Tell us which service you need and the main challenge you want to solve.

We use cookies and analytics to understand how visitors use our site and improve your experience. Privacy Policy · Do Not Sell or Share My Personal Information