What are UTM parameters?

Also called UTM codes, UTM tags, tracking parameters.

UTM parameters are short tags added to the end of a link, such as ?utm_source=instagram&utm_medium=social, that tell your website analytics where a visitor came from, so you can see which platform, campaign or post sent them.

Why it matters

Without tags, visits from social apps can be hard to tell apart in your website analytics, and some may show up as direct traffic. UTM parameters fix that, which is what lets you measure clicks, conversions and ROI from social media.

Example

A hypothetical bakery links its autumn menu from Instagram as example.com/menu?utm_source=instagram&utm_medium=social&utm_campaign=autumn_menu. In Google Analytics, visits from that link appear under source instagram, medium social and campaign autumn_menu.

The parameters

Google's Analytics help lists these parameters, checked on 15 October 2026. It says you should always use utm_source, utm_medium and utm_campaign, that if you set one parameter you should set all the relevant ones, and that missing parameters show up as (not set) in reports.

In practice, most small businesses only need source, medium, campaign and content. Add utm_term if you run search ads and utm_id if you import campaign data into Google Analytics.

  • utm_source: the referrer, such as instagram, facebook or newsletter.
  • utm_medium: the marketing medium, such as social, email or cpc.
  • utm_campaign: the product, slogan, promotion or campaign name, such as autumn_menu.
  • utm_content: tells apart different links or creatives in the same campaign, such as bio_link and story_link.
  • utm_term: the paid keyword, mainly for search ads.
  • utm_id: a campaign ID, used to match imported campaign data.
  • utm_source_platform: the platform directing traffic, such as an ad buying platform.
  • utm_creative_format and utm_marketing_tactic: the type of creative and the targeting used. Google notes these two are not currently reported in Google Analytics properties.

How Google Analytics reads them

UTM values are case sensitive: Google says 'Google' and 'google' are treated as different values and recommends lower case as standard practice. 'SpringSale' and 'Spring_Sale' would also be counted separately. Google also advises one unique source per platform, with separate values for sub-platforms such as Facebook and Instagram, one medium per channel and one exact campaign name per campaign.

Your utm_source and utm_medium values decide which default channel a visit lands in. A visit goes to Organic Social when the source matches Google's list of social sites or the medium is one of social, social-network, social-media, sm, social network or social media. It goes to Paid Social when the source is a social site and the medium matches values such as cpc, ppc, retargeting or anything starting with paid. The channel rules themselves aren't case sensitive and can't be edited.

For example, a visit from a link tagged utm_source=instagram&utm_medium=social lands in Organic Social, while one tagged utm_source=instagram&utm_medium=paid_social lands in Paid Social. Getting the medium right is what keeps your organic and paid results apart.

To see the results, open Reports, then Acquisition, then Traffic acquisition. The report can show session source, medium, source/medium and campaign, with sessions, key events and session key event rate. UTM parameters are left out of the page path dimensions and appear in Page location instead.

Expect some gap between what platforms report and what Google Analytics shows. A platform counts a click when someone taps; Google Analytics counts a session only when the page loads and tracking runs, so sessions are usually fewer than clicks.

A naming scheme you can copy

Consistency matters more than the exact names. Write your rules down once, share them with everyone who posts, and keep a log of every tagged link. One simple scheme for a small business:

Decide how you will name links that stay up all year, such as your bio link. A campaign called always_on, with utm_content=bio_link, keeps your bio visits in one row while still letting seasonal campaigns stand apart.

  • utm_source: the platform in lower case, such as instagram, facebook, linkedin, tiktok, youtube, pinterest, threads or x.
  • utm_medium: social for unpaid posts, paid_social for ads and boosted posts, email for newsletters.
  • utm_campaign: the offer or theme and the month, such as spring_sale_2026.
  • utm_content: where the link sits or which version it is, such as bio_link, story, post_carousel or video_a.
  • Separators: underscores instead of spaces, and no capital letters anywhere.

How to build and use tagged links, step by step

Set up a simple system once and reuse it:

Build links in your tracking sheet first and copy them from there, rather than typing them into each post. Typing by hand is where most spelling mistakes start.

  1. Pick the exact page you want people to land on, not your home page.
  2. Add a question mark after the page address, then the parameters joined by &. The order doesn't matter. Free URL builders, including Google's Campaign URL Builder, do this for you.
  3. Fill in at least utm_source, utm_medium and utm_campaign, plus utm_content if you post the same campaign in several places.
  4. Open the finished link in your browser to check the page loads.
  5. Check the visit appears in Google Analytics' real-time report.
  6. Shorten the link if it looks messy where it will be shown, then test the short link too.
  7. Add the link, its parameters and where you used it to your tracking sheet.
  8. At the end of the campaign, compare sessions and key events by utm_content to see which placement worked.

Worked example: one campaign, four links

A hypothetical florist runs a Valentine's pre-order campaign and links to the same pre-order page from four places. Each link has source, medium and campaign values, plus a different utm_content.

Instagram bio: utm_source=instagram&utm_medium=social&utm_campaign=valentines_2026&utm_content=bio_link. Instagram story: the same but utm_content=story. Facebook post: utm_source=facebook&utm_medium=social&utm_campaign=valentines_2026&utm_content=post. Facebook ad: utm_source=facebook&utm_medium=paid_social&utm_campaign=valentines_2026&utm_content=ad_video.

After two weeks, Traffic acquisition filtered to the valentines_2026 campaign shows the story link sent the most sessions, but the Facebook post had the highest session key event rate, because people reading the post saw prices first. The ad sent steady traffic at a cost the florist can compare with its pre-orders. Next year, the florist plans to put prices in its stories too.

Because every link used the same campaign value, the florist could also see the campaign's total, all four placements together, and compare it with last year's Valentine's campaign tagged the same way.

Where to use UTM links on social media

Use a tagged link anywhere a platform lets you add a clickable link: in posts, profile bios, story link stickers, video descriptions, Pin destination links and ads. Give each placement its own utm_content so you can compare them.

For ads, check whether the ad platform offers dynamic UTM values that fill in campaign or ad names automatically. Google's help mentions dynamic UTMs and advises using values that follow your own source and medium conventions.

Don't add UTM parameters to links between pages of your own website. Use them only on links that bring people in from somewhere else.

Check every tagged link on a phone, in the app where it will be posted, since that is how most people will tap it. A link that works on a computer can still be broken by a typo or by a character changed when you paste it.

Common mistakes

Most UTM problems come from inconsistency:

  • Mixing spellings such as Instagram, instagram and IG, which splits one source into several rows.
  • Using a medium that Google Analytics doesn't recognise as social, such as 'insta-post', so visits may not be counted as Organic Social.
  • Tagging ads with utm_medium=social, so paid visits count as Organic Social.
  • Adding UTM parameters to links between pages of your own website, which overwrites where the visitor originally came from.
  • Leaving out utm_campaign, so visits show as (not set).
  • Putting personal information, such as a customer's email address, into a UTM tag.
  • Changing a link's tags halfway through a campaign, which splits the results.
  • Tagging links to someone else's website. UTM parameters only help when the page sends data to your own analytics.
  • Using spaces in values. Use underscores instead, and stick to one separator.
  • Forgetting to update or tag links in old posts and bios that still get clicks.

Tools and templates

A free UTM builder fills in the parameters and keeps spelling consistent, and a UTM tracking sheet records every link you create, with naming rules on the first tab so the whole team follows them. Google Analytics 4 reads the parameters automatically; you don't need to set anything up beyond marking your important actions as key events, which Google describes as events that measure an action particularly important to your business.

If you schedule posts with a social media tool, paste the finished tagged link into the post. Test one scheduled link on each platform the first time, to make sure nothing strips the parameters.

Review your tracking sheet once a month: delete test links, check that new campaigns follow the naming rules, and fix any spellings that have crept in before they spread.

Common questions

Do UTM parameters affect SEO or how my page looks?

They don't change the page people see. They only add information to the link that your analytics reads. Keep using your normal, untagged address in places such as your sitemap.

Do I need UTM parameters if the platform shows link clicks?

Yes, if you want to know what happened after the click. The platform tells you someone clicked; UTM parameters let your website analytics show whether they then booked, bought or left.

Can I use UTM parameters in my link in bio?

Yes. Tag the bio link with its own utm_content value, such as bio_link, so you can tell bio visits apart from links in stories or posts. Update the campaign value when the link points to a new offer.

Which UTM parameters are required?

Google says to always use utm_source, utm_medium and utm_campaign. utm_content is optional but useful for telling apart several links in one campaign.

Are UTM parameters case sensitive?

Yes. Google Analytics treats 'Facebook' and 'facebook' as different values. Use lower case for everything and write your naming rules down.

What utm_medium should I use for social media?

Use 'social' for unpaid posts and a paid value such as 'paid_social' for ads. Google Analytics puts social sources with a medium like 'social' into Organic Social, and social sources with a paid medium into Paid Social.

Sources: URL builders: collect campaign data with custom URLs (Google Analytics Help), checked 15 October 2026; Default channel group (Google Analytics Help), checked 15 October 2026; Traffic acquisition report (Google Analytics Help), checked 15 October 2026; About key events (Google Analytics Help), checked 15 October 2026

Go further