GA4

    UTM Naming Convention: One Sheet for Google, Meta, LinkedIn, TikTok and ChatGPT Ads

    Qudees Kiani, founder · · 8 min read

    Short answer

    A UTM naming convention is a fixed list of values for utm_source, utm_medium and utm_campaign that everyone uses on every link. GA4 assigns channels by matching those values against set rules, so write them in lowercase, use a medium GA4 recognises such as cpc, paid_social or email, and let each ad platform fill in campaign names automatically.

    Cover: Bad UTMs hide your ads in “Unassigned”.

    GA4 doesn't know which of your visits came from paid social. It reads the tags on the link and applies a rule. Get one word wrong and the visit is filed somewhere else. In a store we audited, 19,867 sessions from Meta ads were split between two channels because of a word in the campaign name, and 32 sessions arrived with the source set to the literal text {{site_source_name}}. Nothing was broken. The links were just written differently by different people. This guide gives you one convention for every platform, and a sheet to copy.

    What UTM parameters are

    UTM parameters are tags added to the end of a link. When someone clicks, GA4 reads them and records where the visit came from. Google's rule is short: "you should always use utm_source, utm_medium, and utm_campaign."

    ParameterWhat it saysExampleUse it
    utm_sourceWho sent the visitfacebook, linkedin, newsletterAlways
    utm_mediumWhat kind of traffic it iscpc, paid_social, emailAlways
    utm_campaignWhich campaignbf26_prospecting_usAlways
    utm_idThe campaign's ID120212345678Recommended
    utm_source_platformThe buying platformmeta, linkedinRecommended
    utm_contentWhich ad or linkvideo_a_15sWhen you test creatives
    utm_termKeyword or audiencelookalike_1pctOptional

    Two more exist, utm_creative_format and utm_marketing_tactic, but Google says they aren't currently reported in Analytics properties, so skip them.

    How GA4 turns UTMs into channels

    GA4's default channel group is a list of rules. Each visit is checked against them, and the medium does most of the work.

    GA4 channelWhat the link needs
    Paid SearchA search engine as source, and a medium matching cp, ppc, retargeting or starting with paid
    Paid SocialA social site as source, and the same kind of paid medium
    Paid ShoppingA shopping site as source, or a campaign name containing shop or shopping, plus a paid medium
    Organic SocialA social site as source, or a medium of social, social-network, social-media or sm
    EmailSource or medium is email, e-mail, e_mail or e mail
    DisplayMedium is display, banner, expandable, interstitial or cpm
    Paid OtherA paid medium that fits none of the above
    AI AssistantMedium is exactly ai-assistant, or the referrer is a known AI assistant
    UnassignedNo rule matches

    Google's wording for the last one: "Unassigned is the value Analytics uses when there are no other channel rules that match the event data." A medium of partner, promo or Paid Social with a space and capitals where you meant paid_social can all end up there or in the wrong channel. Our post on Direct and Unassigned traffic covers the other causes.

    Diagram showing three links from the same Facebook campaign with different medium values: paid_social lands in Paid Social, social lands in Organic Social and partner lands in Unassigned(opens the full-size image in a new tab)
    DiagramSame ad, three ways to tag it, three different channels in GA4. The medium decides.

    Case counts

    Google says "Parameter values are case sensitive". Facebook and facebook are two sources in your reports, and Email and email are two mediums. Write everything in lowercase, with underscores and no spaces.

    The convention

    Four rules cover almost every problem we see:

    1. Lowercase only. No spaces. Underscores between words.
    2. Source is the place. The site or tool the click came from: facebook, linkedin, klaviyo.
    3. Medium comes from a short fixed list. Choose values GA4's rules recognise, and never invent a new one for one campaign.
    4. Campaign names follow one pattern. For example period, goal, market: bf26_prospecting_us. Where the platform can insert the name for you, let it.
    Platformutm_sourceutm_mediumutm_campaignLands in
    Google AdsLeave auto-tagging onLeave auto-tagging onLeave auto-tagging onPaid Search, Paid Shopping, Cross-network and others
    Meta adsfacebook or instagram, or {{site_source_name}}paid_social{{campaign.name}}Paid Social
    LinkedIn adslinkedinpaid_socialDynamic campaign namePaid Social
    TikTok adstiktokpaid_social__CAMPAIGN_NAME__Paid Social
    Microsoft AdvertisingbingcpcCampaign namePaid Search
    ChatGPT adschatgptcpcCampaign nameCheck after the first clicks
    EmailThe tool or list, such as klaviyoemailSend nameEmail
    Organic social postsfacebook, linkedin and so onsocialPost or themeOrganic Social

    The same table, with one row per platform and columns for content and term, is in the UTM naming sheet. Copy it, add your campaigns and share it with everyone who builds links.

    Platform by platform

    Don't hand-tag Google Ads. Auto-tagging adds a click ID that carries far more detail than UTMs can, and Google says that when both are present, "the source, medium, and other traffic-classification dimensions use the auto-tagged values." Check that "Tag the URL that people click through from my ad" is ticked in your Google Ads account settings.

    Meta

    Meta fills in values for you through dynamic parameters. The documented ones include {{campaign.name}}, {{adset.name}}, {{ad.name}}, {{campaign.id}}, {{placement}} and {{site_source_name}}, which returns fb, ig, msg, an or th. A common setup is utm_source=facebook, utm_medium=paid_social, utm_campaign={{campaign.name}}, utm_content={{ad.name}}, utm_id={{campaign.id}}.

    Two things to know. Name-based parameters keep the name the campaign had when it was first published, so renaming a campaign later doesn't change its links. And Meta notes that source and medium "may be automatically added to your ad traffic" as Facebook or Instagram and paid. Set your own so the values are the ones in your sheet.

    LinkedIn and TikTok

    LinkedIn's dynamic UTM tracking can insert the account, campaign group, campaign and creative names and IDs. TikTok supports macros in the URL: __CAMPAIGN_NAME__, __AID_NAME__ for the ad group, __CID_NAME__ for the creative and __PLACEMENT__. In both, type the source and medium yourself and let the platform fill in the rest.

    ChatGPT ads

    OpenAI's docs describe a click identifier, oppref, but don't mention UTM tags being added for you. Add them to your landing page URLs yourself. GA4's AI Assistant channel is built for unpaid visits from tools such as ChatGPT, so decide where you want paid clicks to sit: a paid medium such as cpc keeps them out of that channel. Look at where the first sessions land and adjust once. Setup of the pixel itself is in our guide to ChatGPT ads conversion tracking.

    What bad UTMs looked like in one store

    A European online store we audited ran Meta ads through October 2026. In GA4's Traffic acquisition report for 1 to 30 October, we found the same advertising under three different labels.

    Session source / mediumSessionsWhat happened
    facebook / cpc19,867Split between Paid Social and Paid Shopping, because some campaign names contained the word shopping
    fb / Facebook_Mobile_Feed990A placement name used as the medium, in capitals, which no paid rule matches
    {{site_source_name}} / {{placement}}32Meta's placeholders arrived as plain text, unfilled
    Table of three source and medium labels for the same Meta advertising in GA4: facebook / cpc with 19,867 sessions split across two channels, fb / Facebook_Mobile_Feed with 990 sessions, and unfilled placeholders with 32 sessions(opens the full-size image in a new tab)
    Real dataOne ad platform, three labels. The sessions with unfilled placeholders included a purchase that no Meta report in GA4 would show. Store name removed.

    None of these is a tracking failure. Every session was recorded. But anyone asking GA4 "what did paid social bring in?" got an answer that left part of it out. The 32 placeholder sessions included one purchase.

    How to roll it out

    1. Export what you have. In GA4, open Reports > Acquisition > Traffic acquisition, switch the dimension to Session source / medium and export the last 90 days.
    2. List the variants. Sort by source. Mark every case of the same thing written two ways, and every medium outside your list.
    3. Agree the sheet. Fill in the naming sheet for your platforms and campaigns. One owner approves new values.
    4. Set tags at the highest level. In Meta, LinkedIn and TikTok, use the platform's URL parameter or tracking fields with dynamic values, so nobody types a campaign name by hand.
    5. Fix live ads first. Update running campaigns. History in GA4 won't change, so note the date you switched.
    6. Check a week later. Run the same export. New rows should only use values from the sheet.

    Myth

    UTMs are just for reporting, so small inconsistencies don't matter.

    Reality

    GA4's channels, its attribution and any audience built on traffic source all read those values. A medium GA4 doesn't recognise moves real ad traffic into Unassigned or an organic channel, and the paid channel looks worse than it is.

    Quick check

    Quick check

    • Every link uses utm_source, utm_medium and utm_campaign.
    • All values are lowercase, with no spaces.
    • Your mediums come from one short list that GA4's channel rules recognise.
    • Google Ads uses auto-tagging, not hand-written UTMs.
    • Meta, LinkedIn and TikTok fill in campaign names with dynamic values.
    • No source or medium in GA4 contains curly brackets.
    • Unassigned is under 5% of sessions.

    Ask yourself

    If you added up every row in GA4 that is really Meta ads, how many rows would that be?

    The free GA4 Auditor reads your traffic sources for you: the share of sessions and revenue in Unassigned, mediums GA4 doesn't recognise, and the same source written in two cases. Audit my GA4

    Frequently asked questions

    What is a UTM naming convention?

    It's an agreed set of values for your UTM parameters, written down and used by everyone who creates links. It fixes which sources and mediums exist, how campaign names are built, and that everything is lowercase, so the same traffic always appears under one label in GA4.

    Are UTM parameters case sensitive?

    Yes. Google states that parameter values are case sensitive, so Facebook and facebook are recorded as two sources. Use lowercase everywhere.

    What utm_medium should I use for paid social?

    Use paid_social or cpc. GA4 puts a visit in Paid Social when the source is a social site and the medium matches cp, ppc, retargeting or starts with paid. A medium of social on its own is treated as Organic Social.

    Should I add UTMs to Google Ads?

    No, keep auto-tagging on. When a click has both auto-tagging and UTM tags, GA4 uses the auto-tagged values for source, medium and the other traffic dimensions. Auto-tagging also carries Google Ads details that UTMs can't.

    Why is my traffic Unassigned in GA4?

    Unassigned means no channel rule matched. With tagged links, the usual cause is a medium GA4 doesn't recognise, such as partner or promo, or a missing medium. Fix the tag and new visits are filed correctly. Past data stays as it was.

    Which UTM parameters are required?

    Google says you should always use utm_source, utm_medium and utm_campaign. It strongly recommends utm_id and utm_source_platform as well. Missing values show as (not set) in reports.

    How do I track ChatGPT ads in GA4?

    Add UTM tags to your landing page URLs yourself, for example utm_source=chatgpt and a paid medium such as cpc. OpenAI's click identifier, oppref, is for its own conversion tracking and isn't read by GA4.

    Sources

    Published

    Share
    Qudees Kiani, founder of Swishiy

    Qudees Kiani

    Founder of Swishiy. Five years of marketing measurement work across Google Ads, Meta and GA4, for ecommerce and lead-gen businesses.

    Book a 30-minute call

    Is your Google Ads data telling the truth?

    The free auditor checks tracking, brand vs non-brand and wasted spend. Automated, Google Ads only, 60 seconds.

    Run the free audit