UTM Builder for Facebook Ads

Track exactly which Facebook ads drive conversions. Create properly tagged UTM URLs for all your Facebook campaigns.

Recommended Parameters for Facebook Ads

Source

facebook

Medium

paid_social

Suggested Campaign Names

brand_awareness_q1_2026retargeting_cart_abandonmentlookalike_audience_testvideo_engagement_campaignlead_gen_whitepaper

Save & Manage Your UTM Links

Shorten your UTM URLs, count clicks, and brand them with your own domain. The Free plan includes 25 links a month and 1 custom domain.

Build Your UTM URL

1. Enter Your Destination URL

The website or landing page you want to track

Must include http:// or https://

2. Campaign Tracking Parameters

These parameters help you track your marketing campaigns

Where the traffic is coming from

Marketing medium or channel

Specific campaign identifier

3. Optional Parameters

Additional tracking for paid search and A/B testing

Paid search keywords

A/B test variations

Generated URL

Fill in the form to see your URL with UTM parameters...

How to Build UTM Parameters for Facebook Ads

  1. 1

    Paste your Facebook ad destination URL

    Drop the landing page URL you are sending Facebook traffic to into the builder and type utm_source=facebook. The builder only suggests Facebook values when the URL you paste is on facebook.com.

  2. 2

    Set source and medium

    Confirm utm_source=facebook and choose utm_medium=paid_social for ads or social for organic posts so paid and organic stay separate in Analytics.

  3. 3

    Name your campaign and ad variation

    Add a descriptive utm_campaign (e.g. summer_sale_2026) and use utm_content to label each ad creative or audience for A/B testing.

  4. 4

    Copy the tagged URL into Ads Manager

    Copy the finished UTM URL and paste it into the Website URL field of your Facebook ad. Verify clicks land under Paid Social in Google Analytics.

Facebook Ads Tracking Tips

Use Facebook's Dynamic Parameters

Facebook supports dynamic UTM parameters like {{ad.name}} and {{campaign.name}} that auto-fill with your ad details.

Separate Paid from Organic

Use "paid_social" for ads and "social" for organic posts. This keeps your analytics clean and attribution accurate.

Track Ad Sets and Ads

Use utm_content to differentiate between ad variations within the same campaign for A/B testing insights.

UTM Examples for Facebook Ads

Campaign: summer_sale_2026

source=facebookmedium=paid_socialcontent=carousel_ad_v1
?utm_source=facebook&utm_medium=paid_social&utm_campaign=summer_sale_2026&utm_content=carousel_ad_v1

Campaign: retargeting_abandoned_cart

source=facebookmedium=paid_socialcontent=dynamic_product_ad
?utm_source=facebook&utm_medium=paid_social&utm_campaign=retargeting_abandoned_cart&utm_content=dynamic_product_ad

What Meta adds to your Facebook ad URLs on its own

Meta's help center says that since January 1, 2024, some URL parameters may be added to your ad traffic automatically. The list covers a campaign source of Facebook or Instagram, a campaign medium of paid, and the ad, ad set and campaign IDs.

Meta also passes its own click ID. Its developer docs describe fbclid as a Meta-generated parameter that arrives in the URL of the page request. Meta uses it for its own measurement. It does not give your analytics a campaign name.

So open a live test click before you add anything and read the full URL. If Meta's values are already there, decide whether you keep them or replace them. Google's campaign help says parameter values are case sensitive, so Facebook and facebook show up as two source rows even though they are the same traffic.

Where the URL parameters field sits in Ads Manager

The field lives at the ad level. Work through the ad steps until you reach Tracking, then type into URL parameters or click Build a URL parameter. Meta appends whatever is in that field to your Website URL.

The field wins when keys clash. In Meta's own example, utm_source=1 in the Website URL and utm_source=2 in the field leaves only utm_source=2 in the final URL. Meta also asks you never to leave a value empty, so remove a key rather than send utm_content= with nothing after it.

Parameters on a boosted post only apply to clicks on the ad. Someone who sees the same post organically and taps the link brings no ad tags with them.

Dynamic parameters and the UTM slot each one fits

Meta swaps double-brace placeholders for real values when the ad is delivered. These come from its specification page:

Name-based values freeze at first publish. Rename the campaign later and the URL keeps the old name. Meta also warns that editing URL parameters after launch may put the ad set back into the learning phase. Settle on names before you publish.

PlaceholderWhat Meta fills inGood place for it
{{campaign.name}}Campaign name at first publishutm_campaign
{{adset.name}}Ad set name at first publishutm_term
{{ad.name}}Ad name at first publishutm_content
{{placement}}Placement, such as facebook_feedA custom key
{{site_source_name}}fb, ig, msg, an or thA custom key, not utm_source

Which GA4 channel your Facebook tags reach

GA4's Paid Social definition needs two things. The source must be on Google's list of social sites, and the medium must match ^(.*cp.*|ppc|retargeting|paid.*)$. facebook is on that list, so utm_medium=paid_social or paid meets Paid Social. Organic posts tagged utm_medium=social meet Organic Social.

The last row of the table matters here. Of Meta's site source names, only fb and ig are on Google's social list. Paid clicks from Messenger, Audience Network or Threads tagged as msg, an or th miss Paid Social and only meet Paid Other. Keep utm_source=facebook fixed and send the site source to its own key.

Our builder handles the static part. It accepts letters, numbers, hyphens, underscores and periods, so it flags braces. Build the fixed tags there and paste the placeholders into Meta's field by hand. Use your real landing page as the Website URL, not a short link. TrimLink's redirect sends visitors to the stored destination and does not pass on parameters added to the short link, so Meta's placeholders and fbclid would stop there. Short links suit organic posts. UTM and campaign reports in TrimLink analytics are on Pro and above.

https://example.com/spring-sale?utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&fb_site={{site_source_name}}

Frequently Asked Questions

Does Meta add UTM parameters to Facebook ads without me asking?▼
It can. Meta's help center says that since January 2024 some ad traffic may get a campaign source of Facebook or Instagram, a medium of paid, and the campaign, ad set and ad IDs. Check a live click to see what your account sends.
What happens if my Website URL and the URL parameters field both set utm_source?▼
The URL parameters field wins. Meta's example puts utm_source=1 in the Website URL and utm_source=2 in the field, and only utm_source=2 reaches the final URL.
Why does my Facebook UTM still show an old campaign name?▼
Name-based dynamic parameters such as campaign.name are set when the ad first publishes. Renaming the campaign later does not change the value in the URL. To change it you need to publish a new campaign, ad set or ad.
Is fbclid the same thing as a UTM tag?▼
No. fbclid is a click ID that Meta generates and passes in the URL for its own measurement. GA4 builds its channels from source and medium, so you still need UTM tags to name the channel and the campaign.
Should utm_source be facebook or fb?▼
Both are on Google's list of social sources, so either meets the Social channel rules. Pick one and keep it. Report values are case sensitive, so every spelling and capitalisation becomes its own row.

Want to Shorten Your UTM Links?

Long UTM URLs look unprofessional. Create a free TrimLink account to shorten campaign links and track clicks with built-in analytics.

UTM guides for other platforms

Keep reading

Guides that go deeper than this page.