Google Analytics • UTM Tracking • Performance Marketing

UTM Parameters: How to See Where Every Lead Came From

The COM8 STUDIO astronaut at a desk at night guides three glowing lines, each with a blank tag, from Instagram, WhatsApp and Google icons into one laptop showing a website, under the headline UTM Parameters.
Rohan Kalia·7 min read
Summarize
Share

A new enquiry comes in through your website form. Nobody knows whether it came from your Instagram ad, your Google listing or the offer you shared on WhatsApp. Without that answer, you keep paying for every channel, because you can't tell which one brings customers. UTM parameters solve this. They are short tags added to the end of a link. A link from an Instagram ad might end with ?utm_source=instagram, then &utm_medium=paid_social, then &utm_campaign=ramadan_offer, all joined with no spaces.

When someone clicks that link, Google Analytics, Google's free tool that counts website visits, reads the tags. It records a visit from an Instagram ad for your Ramadan offer. Google recommends three tags on every link: utm_source, utm_medium and utm_campaign. Without them, you can't tell which ad in a performance marketing campaign worked. To see where each enquiry came from, not only each visit, your website form also has to save the tags.

What are UTM parameters?

Each UTM link has three tags, for where the click came from, the type of channel and the campaign.

UTM parameters are tags added to the end of a web address so Google Analytics knows where a visitor came from. Each tag is a name, an equals sign and a value, such as utm_source=instagram. A question mark comes before the first tag, an ampersand (&) separates the rest, and the order doesn't matter.

UTM stands for Urchin Tracking Module. Urchin was the older tool that became Google Analytics, so Google Analytics 4, the current version, reads these tags automatically. People also call them UTM codes or UTM tags, and a link with them added is a UTM link.

UTM tags: source, medium, campaign, term and content

TagWhat it recordsExample value
utm_sourceWhere the click came from: a site, app or mailing listinstagram, google, newsletter
utm_mediumThe type of channel, such as social posts, social ads or emailsocial, paid_social, email, cpc (cost per click)
utm_campaignThe offer or campaignramadan_offer
utm_termThe search words your ad appeared foroffice_cleaning
utm_contentWhich ad or link was clicked, when one campaign has severalvideo_ad, story_link

If you leave out source, medium or campaign, Google Analytics shows "(not set)" in its place.

How to create a UTM link with Google's Campaign URL Builder

First check with your web developer that Google Analytics is set up on your website. Then open Google's free Campaign URL Builder, where URL means web address:

  1. Keep the Web tab selected. The other tab is for Android app links.
  2. In "website URL", paste the address of the page you want people to open, such as https://yoursite.com/offer. Copy it from the address bar while that page is open.
  3. Fill in the three boxes marked with an asterisk (*). Take the source and medium from the table in the next section, and use your offer as the campaign name, such as ramadan_offer. Write everything in lowercase, with underscores (_) instead of spaces.
  4. Copy the finished link and use it only in the place you named as the source. For another place, change the source and medium and copy a new link.

If the builder says the website URL is not valid, check that it starts with https://.

UTM tracking links for WhatsApp, Instagram and Google

Give each place you share a link its own tags, and each tagged link still opens the same page.

Google Analytics sorts every visit into a channel, a group such as Organic Social, using fixed rules. Organic means unpaid. Each row gives the source and medium for one place, the way Google Analytics shows them. For the campaign, use your offer, such as ramadan_offer, or bio_link for your bio and business_profile for your Google listing. The builder joins the values into one link. If you add them by hand and your address already has a question mark, start with & instead of ?.

Where you share the linkSource / mediumShows in Google Analytics as
WhatsApp message, broadcast or statuswhatsapp / socialOrganic Social
Instagram bioinstagram / socialOrganic Social
Instagram ad (for a Facebook ad, use facebook)instagram / paid_socialPaid Social
Google Business Profile (your free Google listing)google / organicOrganic Search
Email newsletternewsletter / emailEmail

If a tagged visit shows under another channel, such as Unassigned, check the link's spelling and capital letters.

To add the tagged link to your Google Business Profile, sign in and open your profile on Google Search. Select Edit profile, replace the website address and select Save. The COM8 STUDIO guide to Google Business Profile optimization covers the rest of the profile.

Use instagram, not insta, as the source

Google Analytics counts a visit as social only if its source is on Google's list of social sources. It includes instagram, ig, facebook, fb, tiktok, linkedin, snapchat and whatsapp. It doesn't include insta, even though Google's own UTM help page uses insta as an example. A paid click tagged insta goes to Paid Other, the group for paid visits Google Analytics can't place, so it's missing from Paid Social.

Meta ads: set your own tags in Ads Manager

Since 1 January 2024, Meta, which owns Facebook and Instagram, can add its own tags to ad clicks. To use your own names, open Ads Manager, Meta's tool for creating ads. Create the ad, or open a saved draft, and go through the steps until you reach Tracking. In the "URL parameters" field, type utm_source=instagram, then &utm_medium=paid_social, then &utm_campaign= and your offer, with no spaces. Add &utm_content=video_ad to name the ad. Or click "Build a URL parameter", fill in the boxes and click Apply. Your tags replace Meta's. The COM8 STUDIO guide to running Instagram ads covers the rest of the setup.

Google Ads: leave tagging to auto-tagging

Google Ads has a setting called auto-tagging that adds a code called a GCLID, short for Google Click Identifier, to each ad click. It is on by default in new accounts. Google says Google Analytics gives auto-tagging priority over UTM tags you add by hand. To check it is on, click the Admin icon in Google Ads, then Account settings, then Auto-tagging. The box "Tag the URL that people click through from my ad" should be ticked.

UTM parameters in Google Analytics: where to see them

In Google Analytics, click Reports in the left menu, then Acquisition, then Traffic acquisition. To see your own tags, click the small arrow by the column name at the top left of the table. Choose "Session source / medium", where a session means one visit. To check one link, type its source and medium in the search box above the table, such as whatsapp / social, and press Enter. If no row appears, check that the spelling and capitals match your link.

Untagged links can end up as Direct, the label Google Analytics uses when it has no information about where a visit came from. Tagged links keep their source. An AI Assistant channel also collects visits from AI chat tools that Google Analytics recognises. ChatGPT adds utm_source=chatgpt.com to its links, so you can search for chatgpt.com in the same box.

Save the UTM source with every lead in your CRM

Hidden form fields save the tags with each enquiry, so every lead in your CRM shows its source and campaign.

Google Analytics can't tell you that the person who filled in your form on Tuesday came from your Ramadan ad. Linking each lead to its channel is called attribution. For that, your form has to save the tags with the lead in your CRM, the software where you keep your enquiries and customers.

Ask your web developer to add three hidden fields to your enquiry form, named utm_source, utm_medium and utm_campaign. Visitors never see them. When someone sends the form, the fields copy the tags from the page address and save them with the lead. HubSpot, a sales software maker, shows how UTM values fill hidden fields. If your form is on another page, tell your developer: the tags stay on the page the link opens.

To test it, open one of your tagged links, send a test enquiry and find that lead in your CRM. It should show the link's source, medium and campaign. If those are empty, send the link you used to your developer.

Count the leads for each campaign name and compare them with what you spent on each ad. COM8 STUDIO, a UAE digital agency, shows clients each ad's enquiries and cost per enquiry in COM8 Console, its own reporting tool. To have lead source tracking built into your CRM and follow-up messages, see our marketing automation service.

UTM naming convention: 5 rules that keep reports clean

  1. Use lowercase only. Google Analytics treats Instagram and instagram as two different sources.
  2. Use underscores (_) instead of spaces, such as ramadan_offer.
  3. Pick one source name for each platform, such as facebook rather than fb. Pick one medium for each type of channel, such as paid_social for social ads, and list both in a shared sheet.
  4. Tag only links that bring people in from outside, such as ads, posts, emails and chats, and leave links between your own pages untagged.
  5. Click each link once before you share it. The page should open with the tags still in the address bar. If they are gone, ask your developer to make the page keep its tags.

Start with one link today. Build a link to your website with the Instagram bio row: source instagram, medium social, campaign bio_link. Put that link in your bio. Next week, open Traffic acquisition in Google Analytics, switch the column to Session source / medium and search for instagram / social. You will see whether your bio sends anyone to your website. When you want every campaign tracked from the ad to the CRM, talk to COM8 STUDIO's performance marketing team.

Comments

Leave a comment

UTM
parameters FAQs

decorative pattern

Contact us

We're here to answer your questions.

Get a Free Funnel Audit :

Get a Free Funnel Audit : Stop guessing what’s broken - we’ll analyze your entire marketing funnel and show exactly where you’re losing conversions (and how to fix it fast).

Expert Team, Real Execution :

Expert Team, Real Execution : Work directly with performance marketers, brand strategists, and designers who’ve scaled real businesses - not interns running templates.

Real Data, Not Assumptions :

Real Data, Not Assumptions : Every suggestion comes from your actual market behavior. We use AI-powered insights and competitor benchmarks to show you what’s really working.

Continuous improvement with clear communication :

Continuous improvement with clear communication : We review performance analytics, refine the strategy, and explain every technical detail in simple, clear terms.

Our Clients

Client logo 1Client logo 2Client logo 3Client logo 4Client logo 5Client logo 6Client logo 7Client logo 8Client logo 9Client logo 10Client logo 1Client logo 2Client logo 3Client logo 4Client logo 5Client logo 6Client logo 7Client logo 8Client logo 9Client logo 10

Get a Callback From Our Experts in 5 Minutes

By submitting this, I confirm that I have read and understood the Privacy Policy.