Facebook and Meta Ads UTM builder
A string for the URL parameters field in Meta Ads Manager, for Facebook and Instagram ads, with Meta filling in the campaign and ad on every click.
An example click: utm_source=facebook&utm_medium=paid_social&utm_campaign=Spring+Sale&utm_id=120214500871230456&utm_content=Product+demo
Adds the parameters Numbat reads to show engagement for every ad group and ad.
What each part does
Each parameter, what it holds, and who fills it in. With these values, GA4 files the clicks as Paid Social.
| Parameter | What it holds | Filled in by |
|---|---|---|
utm_source | Where the click came from | You |
utm_medium | The kind of traffic | You |
utm_campaign | The campaign's name | Meta, as {{campaign.name}} |
utm_id | The campaign ID | Meta, as {{campaign.id}} |
utm_content | The ad's name | Meta, as {{ad.name}} |
numbat_group | The ad set's nameNumbat only | Meta, as {{adset.name}} |
numbat_group_id | The ad set IDNumbat only | Meta, as {{adset.id}} |
numbat_ad_id | The ad IDNumbat only | Meta, as {{ad.id}} |
numbat_placement | Where the ad showedNumbat only | Meta, as {{placement}} |
Checked in November 2026 against Meta Ads's own docs and Google's GA4 channel rules and source list.
Things to know on Meta
Meta keeps URL parameters on each ad. Add the string as you create each ad, or select several ads in Ads Manager and edit them together.
Facebook, Instagram, Messenger and Audience Network ads all use the same string. Every click arrives with utm_source=facebook, whichever app it came from.
Where to paste it
- In Ads Manager, open the ad, or create one.
- Scroll to the Tracking section.
- Paste the string into URL parameters, then publish.
- Repeat for each ad.
The full steps, with screenshots, are in the Meta Ads help doc.
Questions
Why facebook and not meta?
GA4 sorts paid traffic by checking the source against Google's list of social sites. facebook is on that list and meta is not, so meta lands in Paid Other instead of Paid Social.
Does this cover Instagram?
Yes. The same string works on every placement. Instagram clicks arrive with utm_source=facebook too, so they stay in Paid Social.
Do I add it to every ad?
Yes. Meta keeps URL parameters on each ad, so add the string as you create or edit each one.
See which clicks were worth paying for
Numbat ranks your campaigns by the visitors who engage deeply with your content, not by the clicks they bring.
Start free trial