Facebook UTM builder

Facebook, fb, FB, fb.com.
We picked facebook.

Tag every Meta ad the same way and GA4 stops scattering your spend across four sources. Dynamic macros fill in the campaign, ad set and ad names for you.

Free · Runs in your browser · No sign-up
The builder
UTM builder · FacebookRuns in your browser. Nothing is sent.
Dynamic macros · Facebook
Inserts into the last field you focused (utm_content by default).
Tagged URL150 chars
https://acme.com/summer-sale?utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_term={{adset.name}}&utm_content={{ad.name}}
utm_source
facebook
utm_medium
paid_social
utm_campaign
{{campaign.name}}
utm_term
{{adset.name}}
utm_content
{{ad.name}}
Notes · Facebook
  1. Use paid_social. GA4 puts facebook / paid_social straight into Paid Social.
  2. Paste the query string into the URL parameters field in Ads Manager, not into the website URL.
  3. Use utm_content or {{placement}} to compare Feed, Stories and Reels inside one campaign.
  4. Meta inserts names as you typed them in Ads Manager, so name campaigns in lowercase there too.
How to use it

Ads Manager
in three steps.

  1. 01

    Build with macros

    Leave the macros in campaign, term and content so one string works for every ad.

  2. 02

    Copy the parameters

    Take everything after the question mark.

  3. 03

    Paste into URL parameters

    In the ad's Tracking section, paste it into URL parameters. Meta adds it to the destination at click time.

Field notes

Pixel and UTMs
answer different questions.

Who sees what

The Meta Pixel and Conversions API report what happened after a click from Meta's point of view, with Meta's attribution windows.

UTMs let GA4 judge Facebook against every other channel with one set of rules. Expect the two to disagree a little. That is normal, not broken.

Placements without a mess

Keep the medium as paid_social for every placement. Use {{placement}} or a fixed utm_content like feed or reels to split them. Changing the medium per placement pushes traffic out of the Paid Social channel.

FAQ

Questions,
answered briefly.

Still unsure? Talk to a human.

What source and medium should Facebook ads use?

facebook and paid_social. That pair lands in GA4's Paid Social channel with no custom setup.

Does Meta add UTMs automatically?

Meta adds its own fbclid and can append parameters you define in the URL parameters field. It does not invent clean UTMs for you.

Why did my macros show up as raw text?

Macros only resolve when the ad is served. If you test the URL by pasting it in a browser, you will see the braces. That is expected.

Should Instagram placements use source facebook?

If one campaign runs on both, use {{site_source_name}} as the source or tag Instagram ads separately with instagram. Mixing them under facebook hides which app performed.

Keep building

Neighbouring builders.
Same rules, different channel.

Get started

One Meta naming scheme.
Every ad, every time.

Save this setup as a linkutm template and the whole team launches Facebook ads with the same tags.

Free plan · 25 links a month · No card