Facebook4 min read2 views

How to add dynamic UTM parameters to Facebook ads

Add dynamic Facebook ad URL parameters, check the landing URL and match the source and campaign labels in a GA4 report.

The short answer

Add UTM parameters to a Facebook ad to label its traffic in GA4. Google treats UTM values as case-sensitivesupport.google.com, so your report filter must match the labels in the URL. This guide helps advertisers keep the existing dynamic template, check its values and build a consistent campaign report.

  • Keep utm_source=facebook consistent with your report filter.
  • The retained example maps ad-set names to content and ad names to term.
  • If your naming already feeds reports, review those reports before changing it.
  • Guidance checked against Google documentation and Jon Loomer's walkthroughs on 25 October 2026.

Ask an assistant

ChatGPTClaudePerplexity

FREE CALL

30 MIN

Meta stopped counting your leads? Get them counted again.

  1. Pick a time
  2. Check your Meta account with Hassan
  3. See what to do next

On a free 30-minute call, Hassan checks your Meta account with you and shows you what to do next.

Book my free recovery callFree 30-minute call with Hassan.

Not ready to talk? Run a free check

Why should I add UTM parameters to Facebook ads?

Use them to label visits for analytics reporting. Google's campaign URL documentationsupport.google.com explains that tagged referral links supply campaign values for traffic acquisition.

Start by deciding what you want each report column to mean. For example, choose whether a campaign label should contain the campaign name or an ID, then keep that choice consistent.

Do UTM parameters replace Facebook conversion tracking?

No. They describe tagged visits, while Jon Loomer explainsjonloomer.com that URL reports supplement Ads Manager and can include visits from people who receive a shared tagged link. Use them as a separate view of campaign traffic.

What do source, medium and campaign mean?

In Google's UTM definitionssupport.google.com, source identifies the referrer, medium describes the marketing channel and campaign identifies the promotion. Content distinguishes creatives, while term is intended for paid keywords.

The retained example below uses a different convention for content and term. Keep it if existing reports depend on it; document that meaning before adding new ads.

Which dynamic UTM template can I use?

The original tutorial uses this template. It is a naming example, not a required Meta or Google configuration:

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

Jon Loomer's dynamic-parameter walkthroughjonloomer.com lists the ad ID, campaign name, ad-set name and ad-name placeholders used here. A placeholder is a value supplied from the ad rather than text you type for each click.

In this example, utm_id contains an ad ID, utm_content contains an ad-set name and utm_term contains an ad name. Do not treat those fields as campaign ID, creative and keyword in a report without adjusting the mapping.

Where do I add URL parameters in Facebook Ads Manager?

Use the ad's Tracking section. Jon Loomer's February 2026 interface updatejonloomer.com documents the URL-parameter builder moving there from Destination.

1. Open the draft ad

Have the destination URL and naming convention ready.

  1. Open the intended draft ad.
  2. Find URL parameters under Tracking.

Done when you can see the parameter field for the intended draft ad.

2. Enter the parameter string

  1. Paste the retained example into the parameter field, or use the builder to create your documented mapping.

Done when the field shows the intended keys and placeholders without a second copy in the destination URL.

3. Check a resolved landing URL

  1. Keep the ad in draft while you check its URL settings.
  2. When a resolved URL is available from an approved test, inspect the landing address.

Done when the page loads, the expected labels remain and the dynamic values are no longer literal braces.

Where do I see Facebook UTM traffic in GA4?

Build the GA4 Facebook ads report with Session source, Session medium and Session campaign. For this example, use facebook and paidsocial as the source and medium filters.

Universal Analytics is retired, as Google's shutdown noticesupport.google.com confirms. Use the linked GA4 path for current reporting.

What does the old URL-parameter screenshot show?

It shows the original tutorial's parameter entry screen. Treat it as historical context and use the written Tracking-section instructions for the current location.

Historical capture: check Tracking for the parameter field and use your documented naming convention.

What mistakes should I avoid with Facebook UTMs?

This setup is for labelling website visits. If your question is whether a purchase event fires, inspect the event setup before changing URL labels.

  • Copying FacebookAds into a filter when the link says facebook hides matching visits. Copy the source value exactly.
  • Changing the meaning of content or term breaks comparisons with old reports. Document the mapping and coordinate any change.
  • Pasting the parameter string twice creates an ambiguous URL. Keep one intended value for each key.

What changed in this guide

  • 25 October 2026: Removed unsupported claims about iOS always removing traffic sources and a universal 48-hour ad review. Updated the parameter-field location using a dated practitioner observation and clarified the retained template's nonstandard field mapping. Replaced UA reporting advice with the current GA4 path.

Sources

4 sources
  1. 1Google treats UTM values as case-sensitive↩
  2. 2Jon Loomer explains↩
  3. 3Jon Loomer's February 2026 interface update↩
  4. 4Google's shutdown notice↩