What are UTM parameters? A guide to tagging campaign links correctly

5 Oktyabr 2026·Updated: ·⏱ ≈11 min·👁 92 views

What are UTM parameters? A guide to tagging campaign links correctly
Contents

You’re running ten campaigns: an email newsletter, Instagram posts, Facebook ads and influencer partnerships. Yet your analytics only say “traffic came from social media”. You know people are clicking your links, but not which post, ad or email is driving results. UTM parameters solve this problem: they add a short label to each link to show which campaign it belongs to, allowing your analytics platform to identify where each visit came from.

This guide explains what UTM parameters are, what each of the five core parameters does, and how to use naming conventions to keep your data tidy. It also covers how they work with GA4 channel groups, Google’s Campaign URL Builder and the most common mistakes. An overview of channel metrics digital marketing channel metrics article.

What are UTM parameters

UTM parameters are tracking codes added to the end of a link. They tell your analytics platform which campaign a visit came from. The abbreviation Urchin Tracking Module means Urchin Tracking Module: Urchin was a web analytics company acquired by Google in 2005, and Google Analytics was built on its technology.

A link tagged with UTM parameters looks like this:

https://saytim.az/kurs?utm_source=instagram&utm_medium=social&utm_campaign=oktyabr_endirim

The structure is simple:

  • first comes the usual page address;
  • then a question mark (?) marks the start of the parameters;
  • each parameter name=value is in the form;
  • parameters are separated by & .

The order of the parameters does not affect tracking, but using the same order across your team helps reduce errors. If a link already contains a ? question mark (for example, saytim.az/mehsul?id=25), add UTM parameters & with saytim.az/mehsul?id=25&utm_source=....

UTM parameters usually make no difference to the user: the page opens as usual, while analytics simply records where the visit came from. Your website needs GA4 or another analytics platform to track UTM parameters; that platform reads them and includes them in reports.

The five core parameters

utm_source: which platform sent the visit?

The source shows exactly where the traffic came from: a platform, website or referral source. Examples: facebook, instagram, google, linkedin, newsletter, tiktok, partner_site.

For email campaigns, you can also distinguish the source by the type of send: newsletter (regular newsletter), welcome_series (automated welcome series), product_announcement (product announcement). The key is to use the same name for similar campaigns.

utm_medium: what type of marketing was it?

The medium shows the type of channel used to deliver the message and groups campaigns into broad categories. Common values include:

  • email: email campaigns;
  • social: organic social media posts;
  • cpc: pay-per-click advertising;
  • paid_social: paid social media advertising;
  • display: banner and other display ads;
  • referral: referrals from partner websites;
  • sms: SMS campaigns.

This parameter is key to channel grouping in GA4, so we explain it in a separate section below.

utm_campaign: which campaign?

The campaign name identifies a specific marketing initiative and is the most important parameter strategically. A good name should describe the campaign and follow a consistent convention, so it is still clear months later:

  • By date or season: black_friday_2026, october_newsletter, summer_collection.
  • By objective: ebook_lead_generation, trial_signup, brand_video.
  • By product: new_plan_announcement, premium_upgrade.

promo1 or test Names like these mean nothing three months later.

utm_term: which keyword or segment?

This parameter was originally created to track keywords in search advertising: utm_term=online_course. It can also serve broader purposes, such as identifying an audience segment (small_business, student) or a message variant (discount_message, benefit_message).

utm_content: which link or creative?

This distinguishes multiple links or creatives within the same campaign:

  • In email: header_button, text_link, footer_link.
  • On social media: post, story, bio_link, reels.
  • In ads: video_a, video_b, carousel.

For example, the button above in the newsletter, or the link in the text, brings more visits utm_content to compare whether the button at the top of a newsletter or a link in the body brings in more visits. It also helps you compare variants in A/B tests.

Additional GA4 parameters

In addition to the five classic parameters, GA4 documents utm_id (campaign ID), utm_source_platform, utm_creative_format and utm_marketing_tactic as well, though Google says the last two are not shown in reports. utm_id is used to match campaigns when importing cost data into GA4. For small and medium-sized teams, the five core parameters are usually enough.

UTM naming conventions: the key to clean data

The biggest challenge with UTM parameters is inconsistent naming. GA4 treats upper and lower case as different values: Facebook, facebook and fb appear as three separate sources, splitting the data across separate rows. To avoid this:

  1. Always use lower case.
  2. Avoid spaces. Join words with an underscore (_) or a hyphen (-), and choose one convention to use consistently.
  3. Avoid special characters from the Azerbaijani alphabet. ə, ş, ç Characters such as this are encoded in links (%C9%99) and can make the URL harder to read. discount, page ASCII spellings such as these are easier to work with.
  4. Keep a list of approved values. Record the allowed values for each source and medium in one table.
  5. Include the date in the campaign name. summer_discount_2026 This makes it easier to compare with the same campaign next year.
  6. Encode special characters in values. A space %20, & and %26 are encoded as follows. Encoding errors are common when writing links manually, so it is more reliable to use link-building tools.

If several people on your team create links, make a simple shared table with the campaign name, source, medium, content, completed link and date. This reduces errors and makes reports easier to read later.

Compatibility with GA4 channel groups

GA4 automatically groups traffic into categories such as Organic Search, Paid Search, Organic Social, Paid Social, Email, Display and Referral according to its “Default channel group” rules. For manually tagged traffic, the grouping is based mainly on the values of utm_source and utm_medium . If a value does not match GA4’s rules, traffic may appear in the wrong group or under “Unassigned”.

Practical tips:

  • Email use the medium email than the first.
  • For organic social use a social platform as the source (facebook, instagram), and social as the medium.
  • For paid social use a recognised social platform as the source, and the medium paid a value beginning with (paid_social) or cpc . Note: the value social_paid recommended in some guides does not match GA4’s paid traffic rule, so ad traffic from a recognised social source may be grouped under “Organic Social”.
  • For Display use the medium display, banner or cpm as the medium.
  • and for SMS use use the medium sms .

Google publishes the full list of GA4 channel rules in its Analytics Help documentation under “Default channel group”. It is useful to consult this when creating your medium list.

Do you need UTM parameters for Google Ads?

Google Ads if their account is GA4-connected and auto-tagging is enabled, clicks are usually gclid parameter is added to clicks when auto-tagging is enabled and the account is linked to GA4. GA4 then receives campaign, ad group and keyword data through the integration. In that case, adding UTM parameters manually to Google Ads links is not necessary and can sometimes create conflicting data. For Meta, TikTok, LinkedIn and other platforms, use UTM parameters or automation that adds them to pass campaign data to GA4. Learn how to link GA4 and Google Ads GTM with GA4, Google Ads and Meta Pixel article.

Building links with Campaign URL Builder

Google’s free Campaign URL Builder tool, available on ga-dev-tools.google, is one of the easiest ways to build a UTM link correctly. Here are the main steps:

  1. Open the tool and Website URL enter the page address in the field.
  2. Campaign source (source), Campaign medium (medium) and Campaign name (campaign name) fields. These three are essential.
  3. If needed, fill in the Campaign term and Campaign content fields too.
  4. The tool displays the completed link below and handles encoding for you.
  5. Copy the link, shorten it if needed, and use it in your campaign.

Long UTM links can look unwieldy on social media and in SMS messages. In these cases, you can use a link-shortening service; check that the shortened link preserves UTM parameters when it redirects.

Dynamic parameters in Meta ads

In Meta Ads Manager, the ad-level “URL parameters” field supports dynamic values, such as: utm_campaign={{campaign.name}} and utm_content={{ad.name}}. This automatically passes campaign and ad names, so you do not need to create a separate link for each ad. It is also a good idea to use lower case and avoid spaces in campaign and ad names.

Example: one campaign across all channels

Suppose an online course platform runs an “Autumn sale” campaign in October across five channels. The naming convention is simple: the campaign name stays the same everywhere (autumn_sale_2026), the source and medium vary by channel, and the content identifies the specific link.

  • Email newsletter, top button: utm_source=newsletter&utm_medium=email&utm_campaign=autumn_sale_2026&utm_content=header_button
  • Email newsletter, text link: utm_source=newsletter&utm_medium=email&utm_campaign=autumn_sale_2026&utm_content=text_link
  • Instagram story: utm_source=instagram&utm_medium=social&utm_campaign=autumn_sale_2026&utm_content=story
  • Instagram ad, video variant: utm_source=instagram&utm_medium=paid_social&utm_campaign=autumn_sale_2026&utm_content=video_a
  • SMS: utm_source=sms_list&utm_medium=sms&utm_campaign=autumn_sale_2026
  • Partner blog post: utm_source=partner_blog&utm_medium=referral&utm_campaign=autumn_sale_2026

When the campaign ends, in GA4 Session campaign = autumn_sale_2026 filter shows the results from all channels in one table. Breaking the data down by source and content shows which channel and link performed best.

UTM parameters for influencer and partner campaigns

The biggest challenge in influencer marketing is measuring results: you can see follower counts and likes, but website visits and sales are not directly visible. Giving each influencer a unique UTM link helps you track those results:

utm_source=aysel_blogger&utm_medium=influencer&utm_campaign=autumn_sale_2026

This lets you compare which influencer actually drove visits and orders. The same principle applies to partner websites, affiliate programmes and media placements. Note: influencer A custom medium value such as this may not match GA4’s standard groups, so the traffic could appear under “Unassigned”. To avoid this, set the medium to referral and keep the influencer’s name in the source, or create your own channel group in GA4.

Automatic UTM tagging on email platforms

Many email platforms, including Mailchimp, offer Google Analytics tracking. When enabled, the platform automatically adds UTM parameters to eligible links in your newsletter. This saves time, but check two things: which source and medium values the platform uses, and whether they follow your naming convention; and how the campaign name is generated. If the automatic values do not match your convention, change them in the platform settings if possible, or turn off automatic tagging and tag links manually.

Checking your links

Test each UTM link before launching the campaign:

  1. Open the link in a separate private browsing window and check that the page loads correctly.
  2. In GA4 Reports → Realtime open the report; if tracking is working, your visit will usually appear within a few minutes.
  3. Realtime shows the first user source; check the current link’s UTM values in page_location in DebugView.
  4. Check the link on a mobile device too: some apps may change it.

Where to find UTM data in GA4

  • Reports → Acquisition → Traffic acquisition: in the first column Session source / medium or Session campaign select.
  • Reports → Acquisition → User acquisition: the source of the user’s first visit (First user source).
  • Explore: in a custom report Session manual ad content (utm_content) and Session manual term (utm_term) dimensions can be added.

To see results, add the Key events and revenue columns to those reports. If orders are tracked correctly, you can get a specific result such as “the top button in the October newsletter generated 12 orders”. How GA4 reports are structured GA4 reports: events and explorations article.

Common mistakes

  • Adding UTM parameters to internal links. Do not add UTM parameters to links between pages on your own website, such as a banner on the homepage. This can confuse event-level attribution, though it does not start a new session by itself in GA4. UTM parameters are for links in external campaigns.
  • Mixing upper and lower case. Instagram and instagram are treated as two separate sources in the report.
  • Mixing up source and medium. utm_source=email and utm_medium=newsletter should instead be written as utm_source=newsletter and utm_medium=email .
  • Tagging paid advertising as organic. Ads with the medium value social are mixed with results from organic posts.
  • Failing to check the link. A single typo can prevent campaign data from being recorded correctly.
  • Failing to document naming conventions. If each team member creates links using their own conventions, reports become difficult to read after a few months.
  • Including personal information in UTM parameters. Never include a customer’s name, phone number or email address in a UTM value: this goes against Google Analytics policies and means sharing personal data with a third party.

Conclusion

UTM tagging is free, simple and one of the most useful habits in marketing analytics. Remember the five parameters (source, medium, campaign, term and content), use lower case and follow a consistent convention, choose medium values recognised by GA4, and test every link before the campaign starts. Then, instead of saying “traffic came from social media”, you can say “the October campaign on Instagram Stories brought 340 visits and 18 orders”.

Frequently asked questions

Do UTM parameters harm SEO?

No, not when used correctly. However, search engines may treat URLs with UTM parameters as separate URLs. A correctly configured canonical tag pointing to the main URL without parameters helps consolidate duplicates. Use the clean main URL in internal links and your sitemap.

UTM links look long. What should I do?

Use a link-shortening service. The short link should redirect users to the full URL with its UTM parameters intact; check that tracking still works.

Can I add UTM parameters to my Instagram bio link?

Yes, it is a good idea: utm_source=instagram&utm_medium=social&utm_content=bio_link. Otherwise, visits from your bio may appear as “Referral” or “Direct” and be hard to distinguish from other Instagram visits.

Can I use UTM parameters for offline campaigns?

Yes. If a QR code on a flyer, billboard or product packaging points to a link with UTM parameters, you can measure the results of an offline campaign too. For example: utm_source=flyer&utm_medium=offline&utm_campaign=summer_fair.

Do links shared on WhatsApp and Telegram need UTM parameters?

Yes. Links from messaging apps often do not pass source information and may appear as “Direct” in GA4. Use a tagged link in a WhatsApp channel, Telegram group or messages to customers, for example: utm_source=whatsapp&utm_medium=social, to track this traffic separately. This is especially useful if messaging apps play an important role in your sales process.

Can I fix old campaigns with incorrect names?

You cannot edit UTM values already collected in GA4 retrospectively: incorrectly named sources remain in the report. You can correct links for future data and use filters in Explore reports to analyse old values together. That is why it is best to agree on a naming convention before campaigns start.

How soon will UTM data appear in GA4?

A visit usually appears in Realtime within a few minutes, but campaign data may be limited. Standard reports typically take 24–48 hours to process data fully. So if you do not see data in standard reports on the first day of a campaign, do not worry.

Tural Rəhimov

About the author

Tural Rəhimov

Digital Marketing Manager: UM Azerbaijan

Digital marketing manager at Universal McCann (UM Azerbaijan). Experienced in Google Ads, Meta Ads, TikTok Ads and media planning. I help brands grow online.

More about me →

Need digital marketing support for your business?

Let's talk: I can help with everything from strategy to ad management.

Message me