UTM parameters are simple: five or six tags added to a link so your analytics can tell where a visit came from. The hard part is not adding them, it is adding them the same way every time. One person writes Facebook, another writes fb, an agency writes meta-ads, and six months later your campaign report is split across a dozen rows nobody can reconcile. A UTM naming convention fixes that. This guide gives you a practical system you can copy for Google Ads, Meta Ads, LinkedIn, email and offline campaigns, plus the rules that keep GA4 reports clean.
Why UTM Naming Conventions Matter
GA4 does not guess what you meant. It records exactly what is in the link, and it is case-sensitive. That has three consequences:
- Split data.
utm_source=facebookandutm_source=Facebookare two separate sources. Your totals are only correct if someone remembers to add them together. - Wrong channels. GA4 decides whether a visit is Paid Search, Paid Social, Email or something else largely from the source and medium. A medium it does not recognise can push visits into the Unassigned channel.
- No history fix. GA4 does not rewrite past data when you correct a link. You can group messy values afterwards with custom channel groups or filters, but the cleanest fix is to get the names right before the campaign launches.
The Five Golden Rules
- Lowercase everything. No exceptions, including brand and product names.
- No spaces. Use underscores between words (
spring_sale). Spaces turn into%20or+and make links harder to read and share. Pick underscores or hyphens and use the same one everywhere. - Use the same name for the same thing. Keep one list of approved sources and mediums and do not invent new ones on the fly.
- Match your ad platform names. Use the same campaign name in the link as in Google Ads or Meta Ads Manager, so you can join cost and conversion data without a lookup table.
- Never include personal data. No email addresses, names, phone numbers or customer IDs. Sending personally identifiable information to Google Analytics breaks its terms.
What Each Parameter Should Contain
utm_source: who sent the visit
The platform or publisher: google, bing, facebook, instagram, linkedin, youtube, newsletter, or a partner’s domain such as partnerblog.com. Use the platform name, not the product name, so google rather than google_ads. GA4 compares the source against its lists of known search engines and social networks when it assigns channels, and plain platform names match those lists.
utm_medium: what kind of traffic it is
This is the field that most often breaks channel reporting. Stick to a short list that matches GA4’s default channel definitions:
| Traffic type | Recommended medium | Default GA4 channel |
|---|---|---|
| Paid search ads | cpc | Paid Search (when the source is a search engine) |
| Paid social ads | paid_social | Paid Social (when the source is a social network) |
| Organic social posts | social | Organic Social |
| Email campaigns | ||
| Display banners | display | Display |
| Affiliates | affiliate | Affiliates |
| Links in partner content | referral | Referral |
The paid channels in GA4 look for a medium that contains “cp”, or is “ppc”, “retargeting” or starts with “paid”, which is why cpc and paid_social both work. Google updates the channel definitions from time to time, so check the current list in the GA4 help centre if you are planning a new medium.
utm_campaign: which campaign
This is where a naming pattern pays off. A good campaign name is readable by a person and sortable by a spreadsheet. A pattern that works for most businesses is:
objective_offer_audience_market_yyyymm
For example: leads_free-audit_smb_uk_202611 or sales_winter-collection_retarget_us_202612. Separate the parts with underscores and use hyphens inside a part, so the name can be split into columns later. You do not need every part on every campaign, but keep the order fixed.
utm_id: the campaign ID
GA4 uses utm_id to match uploaded cost and campaign data to your sessions. Use the ID from the ad platform where you can, or your own internal code for email and offline campaigns.
utm_term: keyword or audience
Originally for paid search keywords. For social ads, many teams use it for the audience or ad set name. Be consistent about which.
utm_content: which ad or link
Use it to tell apart creatives, A/B variants or the position of a link in an email: video_a, carousel_b, header_button, footer_link.
Platform-by-Platform Setup
Google Ads
Keep auto-tagging on. With a linked GA4 property, Google Ads clicks are attributed automatically through the gclid, including campaign and keyword, and GA4 is designed to use that data for Google Ads clicks. UTM tags are optional here. Add them if your CRM, form tool or another analytics platform needs them.
The cleanest way is the Final URL suffix at account or campaign level, using ValueTrack parameters that Google fills in at click time:
utm_source=google&utm_medium=cpc&utm_campaign=leads_free-audit_uk_202611&utm_id={campaignid}&utm_term={keyword}&utm_content={creative}
Write the campaign name by hand, because Google Ads does not have a ValueTrack parameter for the campaign name. Ad copy and landing pages matter more for performance than tracking does, so see our guides on Google Ads Quality Score and RSA character limits once tracking is set up.
Meta Ads (Facebook and Instagram)
Meta does not auto-tag for GA4, so UTMs are essential. Add them in the URL parameters field of each ad, using Meta’s dynamic parameters so you do not have to type names twice:
utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_id={{campaign.id}}&utm_term={{adset.name}}&utm_content={{ad.name}}
Dynamic parameters copy your names from Ads Manager exactly as written, so the naming rules apply to the campaign, ad set and ad names in Ads Manager too. If those names contain capitals and spaces, so will your GA4 data. Some teams use {{site_source_name}} to separate Facebook, Instagram and other placements; if you do, check how its values appear in GA4 before relying on them.
LinkedIn and other ad platforms
Use utm_source=linkedin&utm_medium=paid_social and set the campaign name to match the platform. Apply the same pattern to Microsoft Ads (bing / cpc, or rely on its own auto-tagging), TikTok, Pinterest and X.
Use utm_medium=email and a consistent source, such as newsletter for your main list or crm for automated flows. Many email platforms can add UTM tags automatically; check their default values and change them to match your convention, because the defaults often use capitals or the email subject line.
Offline, QR codes and partners
For print, events and packaging, use a short redirect URL on your own domain that forwards to the tagged link, so the printed URL stays short. Use utm_medium=offline or qr, and accept that GA4 will treat these as Unassigned unless you add a custom channel for them. For partner articles and sponsorships, ask the partner to use your tagged link and set utm_medium=referral or sponsorship.
Build a Simple UTM Tracking Sheet
A shared spreadsheet is the easiest way to enforce a convention, even for a team of one. Create these columns:
- Date created and owner
- Landing page URL
- utm_source, utm_medium, utm_campaign, utm_id, utm_term, utm_content
- Final tagged URL
- Where it was used (ad, email, post, print)
Add a second tab with the approved values for source and medium, and use data validation so people pick from the list instead of typing. Then build links with a tool that cleans formatting automatically. Our free UTM Builder lowercases values, replaces spaces, keeps ad platform placeholders intact, and outputs the Final URL suffix for Google Ads and the URL parameters for Meta.
Audit Your UTM Data Every Month
- In GA4, open Reports > Acquisition > Traffic acquisition and switch the dimension to Session source / medium.
- Look for near-duplicates: different capitalisation, plural forms, or old names.
- Switch to Session default channel group and check the Unassigned row. Add Session source / medium as a secondary dimension to see which links caused it.
- Fix the source of the problem: the ad, the email template or the partner link. Then note the change in your tracking sheet.
- If old data needs grouping for a report, create a custom channel group rather than trying to fix it by hand each month.
Mistakes to Avoid
- Tagging internal links. A UTM link from your home page to your pricing page starts a new session and replaces the real source. Never use UTMs on your own site. That includes banners, menus and pop-ups.
- Turning off Google Ads auto-tagging because you added UTMs. You lose detailed Google Ads data in GA4. Keep both.
- Putting the campaign in the source.
utm_source=black_fridaytells you nothing about where the visit came from. Source is the sender; campaign is the reason. - Different conventions per agency. Give every agency and freelancer the same naming sheet before they launch anything.
- Tagged links in your sitemap or canonical tags. Search engines should only see clean URLs. Your pages’ canonical tags should point to the URL without parameters.
- Sharing tagged links on social without a preview. Tagged links still pull your Open Graph tags; check that the title, description and image look right with the Open Graph Meta Tag Generator.
A Copy-Ready Convention
| Parameter | Rule | Example |
|---|---|---|
| utm_source | Platform or sender, from the approved list | google, facebook, linkedin, newsletter |
| utm_medium | Traffic type that maps to a GA4 channel | cpc, paid_social, social, email |
| utm_campaign | objective_offer_audience_market_yyyymm | leads_free-audit_smb_uk_202611 |
| utm_id | Ad platform campaign ID or internal code | {campaignid}, {{campaign.id}}, em-0142 |
| utm_term | Keyword (search) or audience (social) | {keyword}, lookalike_purchasers |
| utm_content | Creative, variant or link position | video_a, header_button |
Clean UTM data also makes it easier to measure newer channels. Once paid and email traffic are labelled correctly, AI assistant referrals stand out clearly; our guide on how to track AI traffic in GA4 shows how to give them their own channel. If you want help with tracking or campaign setup, get in touch or request a free SEO audit.
Frequently asked questions
Should UTM parameters be lowercase?
Yes. GA4 is case-sensitive, so facebook and Facebook are reported as different sources. Using lowercase for every value is the simplest way to keep reports clean.
Should I use underscores or hyphens in UTM parameters?
Either works. What matters is using the same separator everywhere. A common approach is underscores between parts of a campaign name and hyphens inside a part, so names can be split into columns later.
What is the best utm_medium for paid social?
paid_social is a good choice. GA4 classifies a visit as Paid Social when the source is a known social network and the medium matches its paid pattern, which includes values starting with paid and values containing cp, such as cpc.
Do I need UTM parameters for Google Ads?
Not if auto-tagging is on and Google Ads is linked to GA4, because the gclid carries campaign and keyword data. Add UTMs through the Final URL suffix only if other tools such as your CRM need them, and keep auto-tagging on.
Can I fix old UTM data in GA4?
GA4 does not rewrite data that has already been collected. You can group inconsistent values in reports with a custom channel group or filters, but the lasting fix is to correct the links going forward.
