abhi.performs
Abhishek ThakralWhatsApp me

Home › Guides › Facebook UTM parameters

Facebook UTM parameters: setup, template and GA4 checks

By Abhishek Thakral · abhi.performs, Dubai · Updated November 2026 · 9 min read

Short answer

Facebook UTM parameters go in the URL parameters field under Tracking on each ad in Ads Manager. Use Meta's dynamic values so campaign and ad names fill in by themselves, and set utm_medium=paid so GA4 files the clicks as Paid Social. For Instant Forms, add tracking parameters in the form's settings instead.

Facebook UTM parameters are the short tags on the end of your ad's link that tell Google Analytics which campaign and which ad sent a visitor. Without your own tags, GA4 cannot show you by name which campaign or ad sent a visit, so you cannot tell the ad that brought qualified leads from the one that brought nothing.

Below: where the tags go, a template to paste, how GA4 decides the channel, and what most guides skip for lead-gen accounts: Instant Forms, WhatsApp and your CRM. The platform details come from Meta's and Google's own help pages.

Where Facebook UTM parameters go in Ads Manager

Meta's help page on how to add URL parameters to your Meta ads puts them at the ad level, in the Tracking section of ad creation. The steps:

  1. Open the ad in a new campaign or a saved draft, and scroll to Tracking.
  2. Add the parameters. Type them into the URL parameters field, or click Build a URL parameter to add them one key at a time.
  3. Write them as key=value pairs joined with &. Meta's own example is background=blue; it appends whatever you enter to the end of your Website URL.
  4. Click Apply and check that the string shows in the field.

Three rules from the same page matter. If a key is in both the Website URL and the URL parameters field, only the URL parameters value reaches the final link. Never leave a value empty (background= with nothing after it). And on ads that promote an existing post, the parameters apply only to clicks on the ad, not to people who see the post organically.

The dynamic parameters Meta fills in for you

Facebook dynamic UTM parameters are placeholders in double curly brackets that Meta replaces with real values when someone clicks. Meta's page on specifications for dynamic URL parameters lists these:

Two details catch people out. Name-based values are frozen at the name the campaign, ad set or ad had when it was first published, so renaming it later does not change what reaches GA4. And Meta warns that changing URL parameters after you publish may send the ad set back into the learning phase. Name things properly and set the tags before you publish, not after the ads are running.

Dynamic parameters do not work on collection-format ads in Instagram placements, and spaces in names arrive as %20, so short hyphenated names read better in reports.

A Facebook UTM parameters example you can paste

Google's page on URL builders says to always use utm_source, utm_medium and utm_campaign, and strongly recommends utm_id as well. This string covers those and adds the ad set and ad:

utm_source=facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_id={{campaign.id}}&utm_term={{adset.name}}&utm_content={{ad.name}}

KeyValueWhat it gives you in GA4
utm_sourcefacebookThe source GA4 checks against its list of social sites
utm_mediumpaidThe medium that puts the session in Paid Social
utm_campaign{{campaign.name}}Your campaign name as Session campaign
utm_id{{campaign.id}}The campaign ID, which survives a rename
utm_term{{adset.name}}The ad set, usually your audience
utm_content{{ad.name}}The individual ad or creative

A caveat: Google describes utm_term as the paid keyword. Meta ads have no keywords, so putting the ad set there is a convention, not Google's definition. Drop that pair if you prefer; the rest still works.

Keep the static values in lower case and spell them the same way in every ad. Google's page says parameter values are case sensitive, so "Facebook" and "facebook" show as two separate sources.

Why utm_medium decides your GA4 channel

GA4 sorts tagged traffic into channels using fixed rules on source and medium, and Google's default channel group page spells them out. For manually tagged links, Paid Social needs both of these:

That is why utm_medium=paid, paid_social and cpc all work. The common mistake is utm_medium=social. It fits Google's Organic Social rule (medium is one of social, social-network, social-media, sm) and fails the Paid Social one, so your ad spend ends up reported next to your unpaid Instagram posts.

The site_source_name trap

Many templates set utm_source={{site_source_name}} so GA4 shows which app the click came from. Meta's specification lists the values it returns: fb for Facebook, ig for Instagram, msg for Messenger, th for Threads and an for Audience Network.

Here is the catch. Google's list of social sources (linked from its channel group page, which I checked on 13 November 2026) includes fb and ig, but not msg, th or an. A click from Messenger, Threads or Audience Network tagged this way fails the Paid Social rule. With a paid medium it usually falls to Google's Paid Other rule instead, so part of your Meta spend quietly drops out of your Paid Social numbers.

My decision rule:

What Meta adds on its own

Meta's help page says some parameters "may" be added to your ad traffic automatically: campaign source (Facebook or Instagram), campaign medium (paid), plus the ad ID, campaign ID, ad set ID and a campaign tracking group ID. Parameters you add in Ads Manager override those set elsewhere, such as Instagram's defaults.

That is not a reason to skip your own tags. Meta's defaults carry IDs, not your campaign and ad names, and if their source is not spelled exactly like yours, GA4 shows two separate sources. One template on every ad keeps one line per source.

UTMs for Instant Forms, WhatsApp and your CRM

UTM parameters only work when the click lands on your website, and in the UAE lead-gen accounts I run, much of the budget goes to ads that never send anyone there. Instant Forms keep people inside Facebook or Instagram, and click-to-WhatsApp ads open a chat.

What I see in UAE accounts: UTMs are often on some ads and missing from others, often the ones duplicated in a hurry for a launch. The bigger gap is the CRM. GA4 shows a tidy Paid Social line, but nobody can say which campaign produced the leads that booked a viewing or a consultation, because the source never reached the lead record. Fixing that is worth more than any extra parameter. In my Shopify app Meta Ads attribution audit, every ID reached the landing page and was dropped at the button that sent visitors on to the Shopify App Store.

How to check your tags work

A typo in one bracket breaks the tag, so check the live result, not the template.

  1. Click a live ad. Open it from the Facebook or Instagram app and look at the address on the landing page. The brackets should be gone and real names should be in their place.
  2. Check GA4 the next day. In Reports, open Acquisition, then Traffic acquisition, switch the dimension to Session source/medium and look for facebook / paid in the Paid Social channel. Anything under Paid Other or Organic Social points back to the source or medium.
  3. Test the CRM end. Submit one test lead from a tagged link, or a test Instant Form lead, and confirm the campaign and ad arrive on the record.

The set-up order

  1. Agree a naming convention before anything is published, because names freeze at launch.
  2. Pick your utm_source rule from the site_source_name section above.
  3. Paste one template, with utm_medium=paid, into every website ad.
  4. Add tracking parameters to every Instant Form.
  5. Capture UTMs in hidden fields so they reach the CRM.
  6. Click, check and test one lead end to end before you raise the budget.

UTMs are the reporting layer, not the conversion layer: they tell GA4 where a visit came from, not which leads closed. That takes the Pixel, the Conversions API and your CRM working together, so fix your ad tracking first before judging any campaign.

Frequently asked questions

Where do I add UTM parameters to Facebook ads?+
At the ad level in Ads Manager. Scroll to Tracking and enter them in the URL parameters field, or use Build a URL parameter. If a key is also in the Website URL, the URL parameters field version is the one that stays.
What utm_medium should I use for Facebook ads?+
Use paid, cpc or another value starting with paid, with a social source such as facebook. That matches GA4's Paid Social rule. Avoid utm_medium=social, which GA4 counts as Organic Social.
Do UTM parameters work with Facebook Instant Forms?+
Not in the usual way, because an Instant Form never sends people to your website. Add tracking parameters in the form's Settings instead. Meta includes them in the leads download and passes them to your connected CRM.
Will changing UTM parameters reset the learning phase?+
It can. Meta says changing URL parameters after a campaign is published may cause the ad set to re-enter the learning phase, so set them before you publish.

Related

Not sure which ads bring the leads that close?

Message me on WhatsApp or request a free campaign audit. I'll check your UTMs, your Instant Form parameters and whether the source of each lead reaches your CRM, and show you what to fix first.

Ask me on WhatsApp