What each UTM parameter means
- utm_source: the site, app or list that sent the visit, such as google, tiktok or newsletter.
- utm_medium: the kind of link, such as cpc, paid_social, email or referral. Analytics uses it to sort visits into channels.
- utm_campaign: the promotion, such as spring-sale-2027.
- utm_id: an optional campaign ID, useful when you import cost data into Google Analytics 4.
- utm_term: the paid search keyword.
- utm_content: tells apart two links in the same campaign, such as header-button and footer-link, or two versions of an ad.
Only source and medium are required here, but a link without a campaign name is hard to find in reports later, so fill that in too.
Choosing a medium that GA4 puts in the right channel
Google Analytics 4 does not read your medium as free text: it matches it against rules to decide the default channel. A few values that land where you expect:
- cpc or ppc with a search engine as the source: Paid Search.
- paid_social (or anything starting with paid) with a social network as the source: Paid Social. Plain social gives Organic Social.
- email: Email. sms: SMS. display or banner: Display. affiliate: Affiliates.
Made-up mediums such as qr, print or offline end up as Unassigned. That is fine if you look them up by campaign, but if you want a QR channel in your reports, create a custom channel group in GA4 that matches utm_medium = qr.
Naming rules that keep reports clean
UTM values are case-sensitive, so Facebook, facebook and FB show up as three different sources. Pick lowercase, use hyphens or underscores instead of spaces, and write the names down in a shared sheet so everyone on the team tags links the same way. The builder warns you when a value has capitals or spaces.
Do not add UTM parameters to links between pages of your own site. A visitor who came from Google and then clicks an internal link tagged with utm_source=homepage would have their original source replaced, and the Google visit would never get credit.
Dynamic UTM parameters for Facebook, Instagram and TikTok ads
Ad platforms can fill in campaign and ad names for you with placeholders. Meta (Facebook and Instagram) uses {{campaign.name}}, {{adset.name}}, {{ad.name}} and {{site_source_name}}; TikTok uses __CAMPAIGN_NAME__, __AID_NAME__ and __CID_NAME__.
Type these placeholders straight into the platform’s own “URL parameters” field rather than into this builder. A web address cannot contain raw curly braces, so the builder encodes them as %7B and %7D, and the ad platform would then no longer recognise the placeholder.
Google Ads and short links
Google Ads and Microsoft Advertising both tag clicks automatically (with gclid and msclkid). For Google Ads linked to GA4, leave auto-tagging on and skip manual UTMs, which only add a second set of labels to the same click.
Tagged links get long. Shortening one keeps the parameters, because the short link simply redirects to the full address. Test a tagged link once before a campaign goes out: open it, then check the realtime report in your analytics to confirm the source and medium arrived.