# Facebook Ads UTM Builder: Free Browser Tool

> A free Facebook Ads UTM builder: pick source, medium and Meta's dynamic fields, copy the string and paste it into your ad's URL parameters.

Author: The DashOps Team  |  Published: 2026-11-22  |  Updated: 2026-11-23  |  Topic: Guides & Tutorials

Use the builder at the top of this page: fill in the four boxes, press **Copy the string**, and paste the result into the **URL parameters** field in the **Tracking** section of your ad in Ads Manager. If you only want a string to start from, this one records the site source, the campaign and the ad behind each click:

```
utm_source={{site_source_name}}&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}
```

Add it before you publish. Meta says [changing URL parameters after you publish may send your ad set back into the learning phase](https://www.facebook.com/business/help/2360940870872492), and its name fields lock in at first publish, so the choices below are easier to make now than later. UTM parameters are labels on the end of your ad's link, and [Meta says you need a website analytics tool](https://www.facebook.com/business/help/1016122818401732) to read them.

![dashops-featured-facebook-ads-utm-builder@2x](https://pub-ae7c0247bc134935855f21b665422e27.r2.dev/posts/1795454672610-8724a652a0dd.png)

## How to use the builder

1. For each box, type your own value, or open **Or use a Meta field** under it and pick one. Picking a field puts it in the box. Picking **My own text** empties the box so you can type.
2. Read the string as it builds under **Your URL parameters**. A box you leave empty is left out, because Meta asks for no empty parameters.
3. Press **Copy the string**. If your browser blocks the copy, the tool tells you, and you can select the text by hand.
4. In Ads Manager, work through the ad's steps until you reach **Tracking**, then paste the string into the **URL parameters** field. Your link stays in the **Website URL** field.
5. Click **Apply**. Meta says your string then shows in the field.

Those labels come from [Meta's page on adding URL parameters](https://www.facebook.com/business/help/1016122818401732), read on 4 November 2026. Menu words in Ads Manager can change, so if a label has moved, look for the Tracking section of the ad. That page also names a **Build a URL parameter** option at the same step, and you can use it instead. The builder does not send or keep what you type, so save the string in your own notes if the next ad should use it too.

## What to put in each box

| Box | The question it answers | Example |
|---|---|---|
| Source (utm_source) | Where did the click come from? | `facebook` or `{{site_source_name}}` |
| Medium (utm_medium) | What kind of traffic is it? | `paid_social` |
| Campaign (utm_campaign) | Which campaign sent it? | `{{campaign.name}}` or `spring_sale` |
| Content (utm_content) | Which ad sent it? | `{{ad.name}}` or `blue_banner` |

[Google's help page on UTM parameters](https://support.google.com/analytics/answer/10917952) says to always use source, medium and campaign, and describes content as the one that tells creatives apart. On Meta ads, fill all four: without Content you can see which campaign sent a visit but not which ad.

Source needs a decision. A typed `facebook` is the same on every click, including a click from Instagram. `{{site_source_name}}` tells the two apart, but it sends short tags such as `fb` and `ig`. Whichever you choose, keep one spelling on every ad, because Google's page says values are case sensitive, so `facebook` and `Facebook` are two different values.

Medium is yours to choose, and `paid_social` is only an example. Your analytics setup decides what the word does. In Google Analytics, the [Paid Social channel](https://support.google.com/analytics/answer/9756891) needs a source on Google's list of social sites and a medium that matches a pattern covering words that start with paid. That page links a spreadsheet of sources, so check your source value is on it before you settle on one.

## Meta's fields, and what each one sends

These are the nine fields in the pick list, as [Meta lists them](https://www.facebook.com/business/help/2360940870872492). Meta fills each one in from your ad's setup and its delivery, which is why one string can sit on many ads.

| In the pick list | The field | What arrives |
|---|---|---|
| Campaign name | `{{campaign.name}}` | The campaign's name at first publish |
| Ad set name | `{{adset.name}}` | The ad set's name at first publish |
| Ad name | `{{ad.name}}` | The ad's name at first publish |
| Campaign ID | `{{campaign.id}}` | The campaign's ID |
| Ad set ID | `{{adset.id}}` | The ad set's ID |
| Ad ID | `{{ad.id}}` | The ad's ID |
| Placement | `{{placement}}` | A tag such as `facebook_feed`, `instagram_stories` or `threads_stream` |
| Site source | `{{site_source_name}}` | `fb`, `ig`, `msg`, `an` or `th` |
| Media type | `{{media_type}}` | Listed by Meta for Advantage+ catalog ads only |

For example, a campaign named Acme Apparel Spring Sale with an ad named Blue Banner would reach your site as `utm_campaign=Acme%20Apparel%20Spring%20Sale&utm_content=Blue%20Banner`, because a space in a URL is written as `%20`.

Need the ad set or the placement too? The builder has four boxes, so either pick one of those fields in the Content box, in place of the ad, or add it by hand to the end of the copied string after an ampersand. Meta lists `adset_name={{adset.name}}` and `placement={{placement}}` as parameters of their own, so the longer string would read:

```
utm_source={{site_source_name}}&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&adset_name={{adset.name}}&placement={{placement}}
```

Those two keys are not UTM parameters, so check your analytics tool can report on them before you rely on them.

## Names or IDs: choose before you publish

Meta fills the three name fields once, with the name used when the ad was first published. You can rename the campaign, ad set or ad afterwards, but the value in the URL keeps the first name, and Meta says that to change it you have to create and publish a new one. So after a rename, your analytics tool and Ads Manager show different names for the same campaign.

Choose by how your team works:

- **Use the name fields when names are settled before launch.** They read clearly in a report, which makes the naming pattern the thing to get right first. See [naming conventions for Facebook campaigns](/resources/naming-conventions-for-facebook-campaigns).
- **Use the ID fields when names get changed after launch, or when two ads could share a name.** A rename does not touch an ID, but someone has to match each ID back to its ad by hand.

The ID version of the string:

```
utm_source={{site_source_name}}&utm_medium=paid_social&utm_campaign={{campaign.id}}&utm_content={{ad.id}}
```

## Changing the string on a live ad

You can do it, and Meta warns that it may send the ad set back into the learning phase. [Meta's learning phase page](https://www.facebook.com/business/help/112167992830700) says ad sets are less stable in that phase and usually have a higher cost per action (CPA). [Its page on editing campaigns](https://www.facebook.com/business/help/2169779963333459) adds that editing certain details may cause the ad to be reviewed again, and that a change to a published campaign cannot be reversed. So work out which case you are in first:

- **If the Delivery column reads Learning, wait.** Meta recommends holding edits until the ad set is out of that phase.
- **If the ad runs fine and you can do without its visit data, leave it alone.** Put the string on the next ad you were launching anyway. Meta says a new ad or ad set goes through learning too, so launch one because you need it, not only for the string.
- **If you cannot read your results without it, make the change once, with every box right, and note the date.** Ads Manager has a **Last significant edit** column you can add under **Columns**, which shows when a change that could reset learning last happened. Meta says may, not will, so look at the Delivery column after the edit instead of assuming either way.

Meta's steps for any edit start in Ads Manager: click **Campaigns**, then **Ads**, tick the box next to the ad and click **Edit**. Then find the **Tracking** section and paste the new string into **URL parameters**. Click **Publish**, because Meta says edits only go live once you do.

## What the builder catches

It builds the string and nothing else: it does not open your link or look at your ad. Spaces and special characters are coded for you, and Meta's fields stay as they are.

These mistakes bring a line under the box. The text still goes into the string until you fix it, and the copy button still works, so read those lines before you copy:

- **A misspelt field.** `{{campaign.nam}}` is not one of Meta's fields, so it becomes plain text. Pick from the list instead.
- **A stray curly brace.** It becomes plain text too.
- **A typed key.** Typing `utm_content=blue_banner` in the Content box brings a reminder to type only the value, because the tool adds that part itself.
- **Text that is already coded.** Typing `spring%20sale` brings a warning, because the codes would be changed again. Type the plain words, with spaces.

## Where the string behaves differently

These come from Meta's pages on dynamic fields and on adding URL parameters, both linked above.

- **Collection ads on Instagram placements.** Meta does not support its dynamic fields on them, so type your own text in the boxes for those ads.
- **Campaign types.** Meta lists dynamic fields for Awareness, Traffic, Engagement, Leads, Sales and App promotion, with conditions on the performance goal or conversion location for some of them, so read Meta's list for yours. In App promotion there is no URL parameters field: they go on the end of your deferred deep link. With Catalog on a Sales campaign, or Store Locations on an Awareness campaign, you see only the URL parameters field and no website URL field.
- **A parameter already in your link.** A parameter in the URL parameters field replaces the same one in the Website URL field, and any others are kept. So if both set `utm_source`, only the one from URL parameters survives. Meta also says adding them in Ads Manager overrides parameters set elsewhere, such as Instagram's default URL parameters.
- **Ads made from an existing post.** If the post links to your website, the parameters only count clicks on the ad, not clicks from people who see the post organically.
- **A later visit.** Meta says a parameter applies to the first product page someone lands on. If they leave and come back on their own later, it is gone.
- **Parameters Meta adds itself.** Meta says that since 1 January 2024 it may add its own to your ad traffic: a campaign source of Facebook or Instagram, a campaign medium of paid, ad, campaign and ad set IDs, and a campaign tracking group ID. Shopify merchants may get a shorter set. Meta's pages do not say how these sit beside your string, so look in your report for a second spelling of your source once the ad has clicks.

## Check it, then use it

Meta fills its fields on its side, so pasting the link into a browser tab yourself does not test them. Once the ad has clicks, open the campaign or traffic report in your analytics tool. Meta says the values will be filled in there. If you see curly braces, open the ad's Tracking section and compare the string with the table above, and check the ad is not a collection ad on an Instagram placement.

Then act on the labels. Content shows which ad in a campaign the sign-ups or sales on your site came from, so you know which ad to keep, and Site source, if you used it, splits Facebook from Instagram. Make the string part of your pre-launch routine: the [Facebook Ads launch checklist](/resources/facebook-ads-launch-checklist) covers tracking and URLs with the rest of what to check before an ad goes live.

## Frequently asked questions

### Where do I paste UTM parameters in Facebook Ads Manager?

In the Tracking section of the ad, in the URL parameters field. Your link stays in the Website URL field. The string from the builder has no question mark in front, which matches Meta's own example, so paste it exactly as it comes.

### Will editing UTM parameters on a live Facebook ad reset the learning phase?

It may. Meta says changing URL parameters after you publish may send the ad set back into the learning phase, so set them before you publish. If you have to change a live ad, make the change once with every box right, and look at the Delivery column in Ads Manager afterwards.

### Why does my analytics report still show an old campaign name?

Meta fills the name fields once, with the name used when the ad was first published. A rename in Ads Manager does not change the value in the URL. To get the new name into the URL, Meta says you need to create and publish a new campaign, ad set or ad. The ID fields avoid this, because a rename does not touch an ID.

### Can I track the ad set as well as the campaign and the ad?

Yes. The builder has four boxes, so either pick Ad set name in the Content box in place of Ad name, or add adset_name={{adset.name}} by hand to the end of the copied string, after an ampersand. Meta lists that parameter on its help page and separates parameters with an ampersand.

### Do UTM parameters show results inside Ads Manager?

Meta says that although you can add URL parameters to your ads, you need a website analytics tool to track the results. So make sure your site has one running before you rely on the string. Meta's help page uses Google Analytics as its example.

---

Full page: https://dashops.io/resources/facebook-ads-utm-builder
