URL parameters

  • Also called UTM parameters, Dynamic URL parameters, Tracking parameters
  • Updated November 25, 2026

URL parameters are short tags added to the end of an ad's link, each a key and a value joined by = and separated by &, such as utm_campaign=spring&utm_content=video-a. They don't change where the link goes. They tell your website analytics which campaign, ad set, ad or placement sent each visit. UTM parameters are the set of keys Google Analytics reads.

How does Meta describe URL parameters?

Meta's Add URL parameters page says they "can help you understand the effectiveness of your ads", for example to "identify where your ad traffic is coming from and which ads helped drive a conversion." It adds a limit people miss: "you'll need to use a website analytics tool to track the results." Ads Manager doesn't report on them.

You enter them per ad, under Tracking, in the URL parameters field. Parameters there are merged with any on the website URL, and when a key appears twice, "only utm_source=2 will be in the final URL", the one from the URL parameters field.

What are static and dynamic URL parameters?

A static parameter is a value you type, like background=blue. A dynamic parameter is a placeholder Meta fills in. From Meta's Specifications for dynamic URL parameters:

PlaceholderFilled with
{{campaign.id}}, {{adset.id}}, {{ad.id}}The IDs
{{campaign.name}}, {{adset.name}}, {{ad.name}}The names at first publish
{{placement}}A value such as instagram_stories or facebook_feed
{{site_source_name}}fb, ig, msg, th or an

Meta's own example for Google Analytics is utm_campaign={{campaign.name}}&utm_content={{ad.name}}.

Why do name parameters keep the old name?

Meta sets name-based values once: they use the name "used when the ad was first published. Campaign, ad set or ad names can still be changed, but the parameters will refer to the original names." Renaming a campaign doesn't rename it in your analytics. To change the value, Meta says you "need to create and publish a new campaign, ad set or ad."

Does Meta add URL parameters by itself?

It can. Meta says that "As of January 1, 2024, you may have the below URL parameters automatically added to your ad traffic": campaign source (Facebook or Instagram), campaign medium (paid), and the ad, campaign, ad set and campaign tracking group IDs. Shopify merchants get a shorter set.

What it means for your ads

  • Set parameters before launch. Meta says changing them after publishing "may cause your ad set to re-enter the learning phase."
  • Track IDs as well as names. IDs never change, so they survive renames.
  • Don't leave a key empty. Meta says to "Always include a value for each parameter key ... or remove the parameter."
  • Expect gaps by placement. Meta lists no {{placement}} value for Instagram Reels or Facebook Stories, and says dynamic parameters "are not supported for ads in collection format on Instagram placements."
  • Keep them apart from attribution. Parameters label clicks for your analytics; the attribution setting decides what Ads Manager counts as a result.

Common mistakes

  • Expecting the parameter to follow the visitor. "A URL parameter is only applicable to the first product page", and it's lost if someone comes back later on their own.
  • Expecting organic clicks on a boosted post to carry the tags. They "only apply to URL clicks on the ad."

Sources


Meta revises these pages without notice, so check the source before acting on any of it.

Terrads makes a distinct ad for each angle you test, so utm_content tells you which idea brought the visit.