What are UTM parameters? How to see which ad brought each customer
Running ads on Facebook, TikTok and Google at the same time, but GA4 only shows "facebook.com / referral" or "(direct)" and you can't tell which ad brought customers? Usually the ad links have no UTM parameters.
What are UTM parameters?
UTM parameters are tags added after the question mark in a URL, for example:
https://example.com/?utm_source=facebook&utm_medium=paid_social&utm_campaign=raya_promo
When someone clicks, GA4 reads the tags and records the visit under that source, medium and campaign. The page itself doesn't change.
The five parameters
- utm_source: the platform, such as facebook, instagram, tiktok or newsletter.
- utm_medium: the type of traffic, such as paid_social, cpc or email.
- utm_campaign: the campaign, such as raya_promo or lead_oct.
- utm_content (optional): tells apart different ads or creatives in the same campaign, such as video_a or image_b.
- utm_term (optional): mostly used for search keywords.
The first three matter most, so always fill in source, medium and campaign. Google's free Campaign URL Builder can put the URL together for you.
How to add them on each platform
- Facebook / Instagram: at ad level, under the destination, find the URL parameters field and enter your UTMs there. Meta also supports dynamic parameters such as {{campaign.name}}, {{adset.name}} and {{ad.name}}, which fill in the campaign, ad set and ad names automatically.
- TikTok: add the UTMs to the ad's URL. TikTok also offers dynamic parameters that fill in ad names; follow the exact format shown in TikTok Ads Manager.
- Google Ads: usually no manual UTMs needed. Keep auto-tagging on and GA4 recognises Google ad clicks automatically; manual UTMs can even conflict with auto-tagging.
- Everywhere else: email, WhatsApp broadcasts, social bios and partner websites can all use UTMs, so you can compare which channel brings customers.
Keep your naming consistent
- Use lowercase everywhere. GA4 is case-sensitive, so Facebook and facebook become two sources.
- Use underscores or hyphens instead of spaces, and avoid special characters so URLs don't break.
- Agree on a naming sheet as a team, for example source is always facebook, instagram or tiktok and medium is always paid_social.
Where to see them in GA4
In GA4, go to Reports → Traffic acquisition and switch the dimension to Session source / medium or Session campaign to see how many visitors and key events each UTM brought.
Common mistakes
- Adding UTMs to internal links on your own site. A visitor clicking around your site is then counted as a new source, overwriting the original ad source. Use UTMs on external links only.
- Inconsistent spelling and capitals, so one platform splits into several rows.
- Links that go straight to WhatsApp (wa.me). The visitor never reaches your website, so GA4 can't read the UTM. To track WhatsApp enquiries, put the source in the pre-filled message; see WhatsApp ads.
- Broken URLs after adding UTMs. Click every link once before the ad goes live.
UTMs tell you which ad brought each customer; combine them with your ad metrics to decide where to add budget. Prefer a specialist to handle tracking and ads? See our Google Ads management and Facebook ads management, or contact us.
Frequently asked questions
Do UTM parameters affect SEO?
Generally no. UTMs are only tracking tags and the page content doesn't change. As long as you don't use them on internal links, they cause no problems.
Do I need UTM parameters for Google Ads?
Usually not. With auto-tagging on, GA4 identifies Google ad traffic automatically, and manual UTMs can conflict with it.
Where do I add UTMs in Facebook ads?
At ad level, below the destination, there is a URL parameters field. Enter the UTMs there without changing the website URL itself.
Should UTM parameters be uppercase or lowercase?
Lowercase. GA4 is case-sensitive, so mixing capitals splits the same source into several rows.