# How to set up UTM parameters for Meta ads

> Paste UTM parameters into the URL parameters field in Ads Manager and let Meta fill in campaign and ad names. The exact string, rules and a worked example.
- **Author**: Marxx
- **Published**: 2026-11-23
- **Category**: Tracking
- **URL**: https://marxx.ai/library-guides/how-to-set-up-utm-parameters-for-meta-ads

---

To set up UTM parameters for Meta ads, open your ad in Ads Manager, go to Tracking and paste your parameters into the URL parameters field, or click Build a URL parameter. Use Meta's dynamic tags, like the campaign name and ad name, so each ad tags itself.

Steps follow Meta's help pages on [adding URL parameters](https://www.facebook.com/business/help/1016122818401732) and [dynamic parameters](https://www.facebook.com/business/help/2360940870872492), checked 2026-10-20. Meta says you still need a website analytics tool to read the results. GA4 is one.

## The string to paste

```
utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&utm_id={{campaign.id}}
```

Google says to always use utm_source, utm_medium and utm_campaign, and recommends utm_id too ([Google Analytics Help](https://support.google.com/analytics/answer/10917952), checked 2026-10-20). For GA4's Paid Social group, the source must be a social site and the medium must match Google's pattern, which covers mediums that start with "paid" ([Google](https://support.google.com/analytics/answer/9756891), checked 2026-10-20). `paid_social` fits.

## Step by step

1. **Fix your names first.** Meta fills name tags with the name the campaign or ad had when first published. Renaming later does not change them.
2. **Open the ad.** Create a new ad or edit one in Ads Manager.
3. **Find Tracking.** Below it, enter parameters in the **URL parameters** field, or click **Build a URL parameter**.
4. **Paste the string.** Join pairs with an ampersand, `&`. Never leave a value empty.
5. **Click Apply.**
6. **Keep the Website URL clean.** Meta appends your parameters to it. If the same key sits in both places, the URL parameters field wins.
7. **Click your live ad once** and read the address bar to check the values filled in. It costs you one click.

Meta also lists tags for ad ID, ad set ID, ad set name and placement. Spaces in names show as `%20`, so use names without spaces.

## A worked example

Say your campaign is named `SALES_BROAD_OCT26`. Your ad is named `UGC_HOOK3_V1`. The click lands on:

`https://example.com/serum?utm_source=facebook&utm_medium=paid_social&utm_campaign=SALES_BROAD_OCT26&utm_content=UGC_HOOK3_V1`

In GA4 you compare two ads. The numbers are made up.

| utm_content | Sessions | Orders | Conversion rate |
|---|---|---|---|
| UGC_HOOK3_V1 | 412 | 14 | 3.4% |
| UGC_HOOK1_V1 | 530 | 9 | 1.7% |

Hook 3 turns twice as many visits into orders. A good [naming convention](/templates/ad-naming-convention-template) is what makes this table readable.

## Mistakes to avoid

- **Renaming a live ad** and expecting the tag to change
- **Editing parameters on a live ad.** Meta says this may send the ad set back into the learning phase.
- **Different values in both fields.** Only the URL parameters field value survives.
- **Mixed spelling** like `Facebook` and `facebook`, which splits one source into two rows
- **Trusting two tools to match.** Meta and GA4 count differently. See [GA4 vs Meta numbers](/compare/ga4-vs-meta-ads-manager-numbers).

Meta may also add its own tags. Since 1 January 2024, it may add source (Facebook or Instagram), medium (paid) and ad, campaign and ad set IDs. Check that GA4 is [linked to your ads](/guides/how-to-link-google-ads-and-ga4) too.

## FAQ

### Do I need UTM parameters if I use the Meta pixel?

The pixel reports to Meta. UTMs tell your own analytics tool where visits came from. They do different jobs, so use both.

### Can I use UTMs on Instagram ads?

Yes. Meta's URL parameters work for ads that link to a website, on Facebook and Instagram placements. Meta notes that dynamic parameters are not supported for collection-format ads on Instagram.

### Why does my GA4 report show the wrong channel?

Check the medium. GA4 puts manual traffic in Paid Social only when the source is a social site and the medium matches Google's rule, such as `paid_social`.

---
- [More Tracking articles](https://marxx.ai/library-guides/category/tracking)
- [All articles](https://marxx.ai/library-guides)