# Facebook Ads (Meta) dynamic URL parameters: the full list for tracking

> Every Facebook Ads (Meta) tracking macro: click ID, campaign and placement tokens, an example tracking link, and how to send conversions back. Checked November 2026.

Source: https://hoplytic.com/blog/facebook-ads-macros · Updated 2026-11-19 · Hoplytic Guides

Facebook Ads (Meta) fills in dynamic URL parameters on every click, so your tracker knows which campaign, ad group and ad it came from. Here is the full list we use, where it comes from, and how to set it up.

**Short answer:** Facebook Ads (Meta) adds its own click ID (`fbclid`) to every ad click by itself. For campaign and ad details, add dynamic URL parameters to the URL: `{{campaign.id}}` (campaign ID), `{{adset.id}}` (ad set ID), `{{ad.id}}` (ad ID), `{{placement}}` (placement).

## Facebook Ads (Meta) dynamic URL parameters

| Parameter on your link | Facebook Ads (Meta) macro | Filled with |
| --- | --- | --- |
| `campaign` | `{{campaign.id}}` | Campaign ID |
| `adset` | `{{adset.id}}` | Ad set ID |
| `ad` | `{{ad.id}}` | Ad ID |
| `placement` | `{{placement}}` | Placement |

The parameter names on the left are your choice; the macros on the right must be copied exactly, brackets included.

## The automatic click ID

Facebook Ads (Meta) appends `fbclid` to the landing URL on its own. You don't add a macro for it: your tracker reads it from the URL and stores it with the click. Keep it intact: link shorteners or redirects that drop query strings will lose it.

## Example tracking link

`https://go.yoursite.com/vpn-offer?campaign={{campaign.id}}&adset={{adset.id}}&ad={{ad.id}}&placement={{placement}}`

Facebook Ads (Meta) replaces each macro when someone clicks. Your tracker stores the values, creates its own click ID, and passes it to the affiliate network's sub-ID so the sale can be matched back to this exact ad.

## Sending conversions back to Facebook Ads (Meta)

Facebook Ads (Meta) learns which clicks bought through the Conversions API with the fbclid.

## Where this list comes from

Checked against Facebook Ads (Meta)'s own documentation () in November 2026. Platforms rename macros now and then: if a value arrives empty or literal, check Facebook Ads (Meta)'s current list.

## On Hoplytic

Pick **Facebook / Instagram (Meta)** in the link maker and these dynamic URL parameters are added for you, and `fbclid` is stored automatically. Reports can then group by any of them, for example campaign → ad → country, with cost, profit and ROAS. See [every ad platform's macros](https://hoplytic.com/blog/ad-platform-macros) or the guide to [sub-ID tracking](https://hoplytic.com/blog/sub-id-tracking).

## Questions people ask

### What is the Facebook Ads (Meta) click ID?

Facebook Ads (Meta) adds fbclid to the landing URL by itself. A tracker stores it with the click so the sale can be reported back to Facebook Ads (Meta) later.

### Why does my tracker show {{campaign.id}} literally instead of a value?

The ad platform didn't fill it in. Usually the macro is misspelled, uses the wrong brackets, or the ad was created before the parameter was added. Copy the macro exactly as Facebook Ads (Meta) writes it and check a live click.
