Traffic from Facebook and Instagram ads lands in Analytics as “direct” when the ad points to a link with no parameters. You fix it at the ad level, in the URL parameters field in Ads Manager, where you paste a UTM string shaped like utm_source=…&utm_medium=paid_social&… Those values show up nowhere inside Meta. You only see them in your analytics tool, according to Meta’s documentation.
Facebook Ads UTM fields live at the ad level
Meta puts the two fields that take parameters at the Ad level, after you’ve finished the campaign and the ad set. Under “Website URL” you get the builder button, “Build a URL parameter”. You can do the same thing from the tracking section, also at the ad level (these are the names as of October 2026).
Twenty ads means twenty fields to fill in. Nothing flows down automatically from the campaign to the ad set and on to the creatives. That’s why a naming convention settled before launch pays off, especially if you split campaigns by stage, from cold audiences to retargeting.
If you add parameters to an existing post that points to a site outside Facebook, they apply only to clicks on the ad. Organic clicks on that same post stay untagged.
The template you paste into the URL parameters field
Google says three parameters should always be there: utm_source, utm_medium and utm_campaign. The rest are optional and you add them when you have a use for them. The string you paste looks like this:
utm_source={{site_source_name}}&utm_medium=paid_social&utm_campaign=CAMPAIGN-NAME&utm_content=AD-NAME
Swap the parts in capitals for your own values or for dynamic parameters built with the button at the ad level, for the reason explained in the next section.
| Parameter | What you put | What it gets you |
|---|---|---|
| utm_source | {{site_source_name}} | source, filled in by Meta |
| utm_medium | paid_social | splits it from organic social |
| utm_campaign | campaign name | spot the campaign in reports |
| utm_content | ad name | see which creative drove the visit |
| utm_id | campaign ID | survives a rename |
{{site_source_name}} is the dynamic parameter Google itself gives as an example for platforms that fill in the values on their own. Meta sets the value on click, and you read it in the address bar on your first test. Test it across placements, since Meta delivers on Facebook, Instagram, Messenger, WhatsApp, Threads and Audience Network, per the official placement list.
utm_id earns its place if you rename campaigns as you go. The name changes, the ID stays, so your reports don’t end up with two rows for the same campaign. Google defines it as the campaign ID.
Meta writes the curly brace syntax, you don’t
The URL parameter builder at the ad level writes the dynamic parameter syntax for you. Typed by hand, a missing brace or a syntax borrowed from another platform slips past the save and lands in your reports as literal text. Instead of the campaign name, you read the text between the braces. What works in a Google Ads account does nothing in a Meta account.
For the rest of the string, Meta confirms the classic syntax. Key and value join with an equals sign, and pairs are separated by an ampersand. You leave out the question mark; Meta appends whatever sits in the URL parameters field to the address in the “Website URL” field.
When the same parameter appears twice, the “URL parameters” field wins
You can write parameters straight into the destination URL and, separately, into the dedicated field. Meta combines them as long as they don’t repeat. When they do repeat, the documentation gives the exact example: utm_source=1 in the URL field and utm_source=2 in the parameters field, and the final address carries the second value.
That’s where a mistake we see often on inherited accounts comes from. Someone once pasted an already tagged link into the destination field, someone else added the template to the parameters field later, and half the old values are still live. Keep your tags in one field, the parameters field, and leave the destination URL clean.
The spots where automatic fill-in fails
Meta lists the cases explicitly: Collection ads on Instagram placements, the app install objective and deep links into mobile app screens. For catalog sales and store traffic, dynamic parameters work only in the “URL parameters” field, not in the other one.
The objective list on Meta’s help page uses names that may not match what you see in your account today, so go by what the objective does rather than by its label. If you run instant forms, Messenger or WhatsApp as the destination, the person never reaches your site on click, so UTMs have nothing to measure there.
Three steps that confirm the parameters reach your site
One real click on your own ad tells you in ten seconds whether the template works. The analytics report confirms the other half, that the values were recorded the way they were sent.
- Find the ad in your feed, on your phone, once it’s in delivery, and click it.
- On the page you land on, read the address bar. You should see the pairs you wrote, with real values in place of the braces. Repeat on Facebook and on Instagram to see what {{site_source_name}} returns on each.
- In analytics, look for your source and medium. Google notes that UTM parameters are dropped from the “Landing page + query string” and “Page path + query string” dimensions, so that’s not where you look for them.
If you’d rather build the string in a form, Meta hosts a URL builder of its own, with source, medium and campaign name marked as required.
Four reasons your traffic still shows up as direct
The order below is the one that clears them fastest.
- Ads left untagged. The fields sit on each individual ad, and anything launched before you settled on the template still carries a clean link. Open them one by one and fill in the parameters field.
- Braces typed wrong. The sign is reports showing the text between the braces where the campaign name should be. Fix it by building the parameter with Meta’s button.
- A redirect that strips the parameters. Your destination URL may point to a page that redirects, from a non-www version to a www one or from an old campaign page to a new one. Parameters can disappear along the way. Step 2 above catches it, when you land with a clean address.
- Campaign names with spaces and accented characters. Those characters don’t travel as-is in a web address, they arrive encoded and turn almost unreadable in reports. For campaigns you launch from today on, stick to plain letters, numbers, hyphens and underscores.
Frequently asked questions
Why does Analytics show the text between the braces instead of my campaign name?
Meta doesn’t recognize the syntax you typed, so the parameter travels to your site exactly as you wrote it. It happens when you paste a format borrowed from another ad platform or when a brace is missing. Delete the value and build the parameter with the button at the ad level.
Should utm_medium be cpc or paid_social?
Google’s examples for utm_medium are values like cpc, banner, email. Pick one and use it identically on every ad. An account mixing cpc, paid_social and paidsocial splits the same traffic across three report rows.
Do I have to add UTMs to every single ad?
Yes. The fields are at the ad level, and campaign settings don’t reach down over them. If you duplicate an ad that’s already tagged, the parameters come along, including the fixed value you wrote in utm_content, which now points at a different creative. Check it after every duplication.
My destination URL already has a question mark. How do I add the UTMs?
Leave the address as it is in the “Website URL” field and put only the pairs in the “URL parameters” field, with no leading question mark. Meta appends them to the existing address itself. Confirm the result with a test click and read the final address in the address bar.
Why don’t clicks in Ads Manager match sessions in Analytics?
The two tools count different things. Meta counts clicks on the ad, Analytics counts sessions that start on the site, and between them you lose the people who close the page before it loads and the ones who decline cookies. Then there are the different attribution windows, the same ones that make Ads Manager report different sales than your store. A steady gap is normal; a gap that appears overnight is worth checking.
What Optimads does here
The tiring part is applying the template to every new ad without missing one. In Optimads Autopilot you launch Meta and TikTok campaigns through a step-by-step wizard, and campaign naming plus UTMs go on every ad automatically, on the structures our agency runs daily on online store accounts. Every campaign starts paused, so you get to check the final URL before the first dollar is spent. You can try Optimads for 7 days.





