Skip to content
Ad networks

UTM parameters for Meta Ads (Facebook and Instagram)

3 min read · Updated · By the Reveata team

Short answerIn Meta Ads Manager, add utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.id}}&utm_content={{ad.id}} to each ad's URL parameters. Reveata then counts the visits as Paid social and can match revenue to each Meta campaign.

Meta adds an fbclid to many links that leave Facebook and Instagram, paid or not. That is why Reveata does not treat fbclid on its own as an ad click: it would push ordinary shares into the paid channel. To have your ads counted as paid, and to see which campaign each sale came from, tag them yourself.

The values to use

text
utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.id}}&utm_content={{ad.id}}
Parameter Value Lands as
utm_source facebook (or instagram) Source "Facebook" or "Instagram"
utm_medium paid_social Channel Paid social
utm_campaign {{campaign.id}} The Meta campaign id
utm_content {{ad.id}} The ad id

Put this string in the URL parameters field under Tracking at ad level. Meta fills in the values in double braces when someone clicks.

Meta's dynamic parameters

Meta's specifications for dynamic URL parameters (opens in a new tab) list these values: {{campaign.id}}, {{adset.id}}, {{ad.id}}, {{campaign.name}}, {{adset.name}}, {{ad.name}}, {{placement}} and {{site_source_name}}. Two details from that page are worth knowing:

  • Name-based values are frozen at publish time. {{campaign.name}} keeps the name the campaign had when the ad was first published, even if you rename it later. Ids never change, which is why the example above uses them.
  • {{site_source_name}} returns short codes: fb for Facebook, ig for Instagram, msg for Messenger, an for Audience Network and th for Threads. Reveata recognises fb and ig as Facebook and Instagram. The other codes show up as written, and the visits still land in Paid social because of the medium.

So if you want each placement on its own row, utm_source={{site_source_name}} is a good choice. If you would rather have one Meta row, keep utm_source=facebook.

What Meta adds on its own

The same Meta page says some URL parameters may be added to ad traffic automatically, including a campaign source of Facebook or Instagram and a medium of "paid". Reveata reads utm_medium=paid with a social source as Paid social, so those visits land in the right place too. Your own tags give you the campaign and ad ids, which the automatic ones may not.

Revenue and spend per campaign

If you connect Meta Ads in Reveata, it imports your daily spend per campaign, ad set and ad, then compares it with attributed revenue as return on ad spend. The match runs on utm_campaign: a campaign id matches on any visit, and a campaign name matches when the visit came from Meta. Using {{campaign.id}} is the safest choice.

A worked example

An Instagram story ad pointing at https://example.com/pricing lands on:

text
https://example.com/pricing?utm_source=ig&utm_medium=paid_social&utm_campaign=120210000000000&utm_content=120210000000999&fbclid=IwAR...

Reveata records source Instagram, channel Paid social, campaign 120210000000000, and drops the fbclid after reading it.

Common mistakes

  • Relying on fbclid alone. Without a paid medium, untagged ad clicks are counted as Organic social.
  • Writing utm_medium=social. That is the organic social medium. Use paid_social.
  • Tags in the website URL and the URL parameters field. Keep them in one place, the URL parameters field, so they are not doubled.
  • Expecting a renamed campaign to update. Name-based parameters keep the original name.

Frequently asked questions

Should utm_source be facebook or instagram?

Use facebook for one combined Meta row, or {{site_source_name}} to split Facebook, Instagram, Messenger, Audience Network and Threads. Both land in Paid social. Pick one and stay with it.

Why are some of my Meta ad visits in Organic social?

Those visits had no paid medium, only an fbclid. Meta adds fbclid to organic links too, so Reveata cannot tell them apart. Add the URL parameters above to every ad and new visits will land in Paid social.

Can I use cpc as the medium?

Yes. Reveata reads cpc with a social source such as facebook as Paid social. paid_social is clearer to anyone reading your reports.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
UTM guideUTM parameters for Facebook pages and groupsFor links on your Facebook page or in groups, use utm_source=facebook&utm_medium=social&utm_campaign=<topic>. Reveata counts them as Organic social with Facebook as the source. The fbclid Meta adds is never treated as paid on its own.UTM guideUTM parameters for Instagram bio links and storiesTag your Instagram bio link with utm_source=instagram&utm_medium=social&utm_campaign=bio, and give each story link sticker its own utm_content. Reveata counts them as Organic social with Instagram as the source.UTM guideUTM parameters for Amazon AdsUTM tags only help with Amazon Ads that send people to your own website. Tag those with utm_source=amazon&utm_medium=display&utm_campaign=your-campaign and Reveata counts them as Display. Ads that send shoppers to an Amazon product page never reach your site, so no website analytics can see them.UTM guideUTM parameters for Apple Ads (Apple Search Ads)Apple Ads (formerly Apple Search Ads) send taps to an App Store product page or into your app, not to your website, so UTM tags on a web URL do not apply. Measure installs with Apple's attribution tools, and use Reveata on your site and in your app for what happens after.UTM guideUTM parameters for Carbon Ads and BuySellAdsTag the URL you give Carbon Ads or BuySellAds with utm_source=carbon (or buysellads), utm_medium=display and a campaign name. Reveata counts those clicks as Display, and utm_content can tell you which creative or placement worked.UTM guideUTM parameters for Google AdsFor Google Ads, set a final URL suffix of utm_source=google&utm_medium=cpc&utm_campaign={campaignid} and keep auto-tagging on. Reveata puts every click that carries a gclid, gbraid or wbraid in Paid search with Google as the source, and the UTM tags tell you which campaign it was.