Skip to content
Planning & Budgeting

UTM Parameters: How to Tag Links So GA4 Shows Where Leads Come From

What UTM parameters are, how to build tagged links for ads, email, WhatsApp and social, which values GA4 needs, plus a naming sheet your whole team can follow.

ParvesFounder and Creative DirectorUpdated 5 min read
UTM Parameters: How to Tag Links So GA4 Shows Where Leads Come From

Quick answer

UTM parameters are short tags added to the end of a link, such as utm_source, utm_medium and utm_campaign, that tell Google Analytics where a visit came from. Use them on every link you share outside your website, write the values in lowercase from a fixed naming sheet, use medium values GA4 recognises, and never add them to links between your own pages.

You posted on Instagram, sent a WhatsApp broadcast, ran a Meta ad and emailed your customer list in the same week. Enquiries went up. Which one worked? Without UTM parameters, Google Analytics often cannot tell you. Visits from apps arrive with no referrer and pile up as Direct, and your best channel looks like your worst.

UTM tags fix that in a few seconds per link. This guide shows how to build them, which values GA4 understands, and a naming sheet that keeps your whole team consistent.

What are UTM parameters?

UTM parameters are tags added to the end of a URL after a question mark. When someone clicks the link, Google Analytics reads the tags and records where the visit came from.

https://example.com/offer?utm_source=instagram&utm_medium=social&utm_campaign=diwali_2026

The page the visitor sees does not change. Only your analytics knows the difference.

The five UTM parameters, and when to use each

Parameter What it records Example values
utm_source Where the traffic comes from: the platform, site or list instagram, facebook, newsletter, whatsapp, partner_site
utm_medium The type of marketing social, paid_social, email, cpc, sms, referral, qr
utm_campaign The specific campaign or promotion diwali_2026, clinic_launch, webinar_march
utm_content Which version of an ad, post or link was clicked video_a, carousel_b, header_button
utm_term The keyword or audience, mostly for paid search website_design_chennai

Source, medium and campaign go on every tagged link. Content and term are optional.

Step 1: Write a naming sheet before you tag anything

Inconsistent tags are worse than no tags. If one person writes Instagram, another instagram and a third IG, GA4 shows three sources. Agree on fixed values in a shared spreadsheet:

Channel utm_source utm_medium
Instagram organic post or story instagram social
Facebook organic post facebook social
LinkedIn organic post linkedin social
Meta ads (Instagram or Facebook) facebook or instagram paid_social
LinkedIn ads linkedin paid_social
Email newsletter newsletter email
Transactional or one-to-one email gmail or outlook email
WhatsApp status or community whatsapp social
WhatsApp broadcast to customers whatsapp sms
Printed QR codes flyer, menu, packaging qr
Partner or affiliate site partner name referral or affiliate
YouTube video description youtube social

Rules that keep data clean:

  • Lowercase only.
  • Underscores instead of spaces. Spaces turn into %20 and are easy to break.
  • Campaign names that will still make sense in a year: clinic_launch_nov_2026, not new_promo.
  • One person owns the sheet. Everyone else copies from it.

Step 2: Use medium values GA4 recognises

GA4 sorts visits into channels such as Organic Social, Paid Social, Email and Referral using rules based on source and medium. Google documents them in its page on default channel groups. If your medium does not match a rule, the visit lands in Unassigned.

The safe values:

  • email puts visits in Email
  • social with a social platform as source puts visits in Organic Social
  • paid_social (or cpc) with a social platform as source puts visits in Paid Social
  • cpc with a search engine as source puts visits in Paid Search
  • referral puts visits in Referral
  • affiliate puts visits in Affiliates
  • sms puts visits in SMS

WhatsApp is a special case, because GA4 has no WhatsApp channel. Use social for posts to status or communities, and sms for one-to-many broadcasts, which behave like text messages. If WhatsApp is a big channel for you, create a custom channel group with its own WhatsApp channel, the same way our guide to tracking AI traffic in GA4 creates an AI channel.

Use Google's free Campaign URL Builder:

  1. Paste the page URL you want people to land on.
  2. Fill in source, medium and campaign from your naming sheet.
  3. Add content if you are comparing versions.
  4. Copy the generated link.
  5. Shorten it if needed for printing or WhatsApp, using a link shortener that redirects with the full URL intact.

Or build it in your spreadsheet with a formula that joins the page URL and the tag values, so nobody types tags by hand.

Tag:

  • Links in emails and newsletters
  • Links in WhatsApp messages and broadcasts
  • Links in social bios, posts and stories
  • Ads on Meta, LinkedIn, YouTube and other non-Google platforms
  • QR codes on print, packaging and menus
  • Links you give to partners, influencers and directories you control

Do not tag:

  • Links between pages on your own website. Internal UTM tags start a new session and overwrite the real source, which corrupts your data. See our internal linking guide.
  • Google Ads, if auto-tagging is on and the account is linked to GA4.
  • Your Google Business Profile website link, unless you specifically want to separate it. If you do, use utm_source=google&utm_medium=organic&utm_campaign=gbp, so it still counts as organic search.

Step 5: Find the results in GA4

  1. Open Reports, then Acquisition, then Traffic acquisition.
  2. Change the primary dimension to Session source / medium or Session campaign.
  3. Add the key events column to see which campaigns brought leads, not just visits.
  4. For ad versions, add Session manual ad content as a secondary dimension.

If you have not set up key events yet, follow our GA4 setup guide first.

Examples for common Indian marketing activities

A WhatsApp broadcast for a clinic's free camp:

https://example.com/camp?utm_source=whatsapp&utm_medium=sms&utm_campaign=free_bp_camp_dec_2026

An Instagram Reel driving to a product page:

https://example.com/products/cold-pressed-oil?utm_source=instagram&utm_medium=social&utm_campaign=oil_launch&utm_content=reel_recipe

A QR code printed on a restaurant menu:

https://example.com/reviews-and-offers?utm_source=menu&utm_medium=qr&utm_campaign=table_qr

A Meta lead ad sending people to a landing page, with Meta's dynamic values filling in the ad names automatically:

https://example.com/consult?utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}

Common UTM mistakes

  • Mixed capital letters, splitting one source into several rows
  • Tagging internal links, which breaks sessions
  • Vague campaign names like test or promo1
  • Forgetting to tag at all on WhatsApp and Instagram bio links, where most untracked traffic comes from
  • Sharing a tagged link publicly where it gets reshared, which makes later visits look like they came from the original campaign. Use separate links for separate places.

Clean UTM data is what lets you compare channels honestly and decide where the next rupee of your budget goes. For what to measure once the data is clean, see our guide to digital marketing KPIs, and if you would like campaign tracking set up across every channel you use, our performance marketing team can do it for you.

Work with us

Performance Marketing from The Coral Flow

Get a free ad account audit. Give us view access. We review your campaigns, tracking and creatives and send the leaks costing you the most.

Audit my ads

Frequently asked questions

Which UTM parameters are required?

utm_source, utm_medium and utm_campaign should be on every tagged link. utm_content and utm_term are optional and useful for comparing ad versions or keywords.

Do UTM parameters affect SEO?

Not if you use them only on links from outside your site, such as ads, emails and social posts. Adding them to internal links creates duplicate URLs and breaks your analytics data.

Are UTM parameters case sensitive?

Yes. GA4 treats Facebook and facebook as two different sources. Write every value in lowercase to keep reports clean.

Do I need UTMs on Google Ads links?

Usually not. With Google Ads linked to GA4 and auto-tagging switched on, Google adds its own identifier and reports campaigns automatically. Use UTMs for other platforms.

Why does my tagged traffic show as Unassigned in GA4?

GA4 assigns channels based on the source and medium values. If the medium is something it does not recognise, such as whatsapp-blast, the visit lands in Unassigned. Use standard medium values or create a custom channel group.

Written by

Parves, Founder and Creative Director

Leads strategy and creative direction at The Coral Flow in Chennai, across web, search and content for brands in India and abroad.

About the author

Share this guide

Let's talk

Want us to do this for you?

Tell us what you are working on. We reply within one working day with honest advice and next steps.