UTM tags for Meta
Build the “URL parameters” string for Ads Manager and a full tagged link. Meta’s dynamic parameters fill in campaign, ad and placement names for you.
All toolsInstrument spec
- Tags
- 5 UTM + 4 Meta
- Meta macros
- 9
- Checks
- live
- Sign-up
- not needed
https:// is optional — we’ll add it
Where traffic comes from: {{site_source_name}} returns fb, ig, msg, an or th
Traffic type, e.g. paid_social or cpc
Campaign name or ID
Which ad or placement
For Meta, the ad set is a handy choice
Insert a macro into utm_campaign
URL parameters
For Ads Manager: ad → Tracking → URL parameters field.
utm_source={{site_source_name}}&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&utm_term={{adset.name}}Full link
The page URL with tags — for testing and other platforms.
Checks
- No page URL yet. The parameter string doesn’t need one: Ads Manager takes the URL separately.
- Name macros use the name at first publish: rename the campaign later and the tag keeps the old name.
- No errors — ready to copy.
Meta dynamic parameters
Meta fills in the values at the moment the ad is served. The list follows Meta’s official Business Help Center.
| Macro | What it inserts | Possible values |
|---|---|---|
{{campaign.name}} | Campaign name at first publish | |
{{adset.name}} | Ad set name at first publish | |
{{ad.name}} | Ad name at first publish | |
{{campaign.id}} | Campaign ID | |
{{adset.id}} | Ad set ID | |
{{ad.id}} | Ad ID | |
{{placement}} | The placement where the ad was shown | facebook_feed, facebook_instream, facebook_marketplace, facebook_right_column, instagram_feed, instagram_stories, messenger_inbox, messenger_sponsored_messages, threads_stream, audience_network_classic, audience_network_rewarded_video |
{{site_source_name}} | Platform | fb · ig · msg · an · th |
{{media_type}} | Media type — Advantage+ catalog ads only |
How we calculate
No magic: tags are key=value pairs after the “?”, joined with “&”. Here’s how the instrument assembles them.
Since 2024 Meta may automatically add the source (Facebook or Instagram), the paid medium and campaign, ad set and ad IDs to your ad traffic.
Changing the URL parameters of a published ad may send the ad set back into the learning phase.
Dynamic parameters aren’t supported for collection ads in Instagram placements.
- F·01
Parameter string
utm_source={{site_source_name}}&utm_medium=paid_socialEach tag is a key=value pair; pairs are joined with &. Order doesn’t matter.
- F·02
Full link
Link = URL + ? + parameters + #anchorIf the URL already has parameters, we append the tags with & and replace any UTM tags with the same name. The anchor (#…) stays at the end.
- F·03
Encoding
space → %20 · {{macro}} → unchangedPlain text is URL-encoded, while macro braces stay as they are — otherwise Meta wouldn’t recognise them.
- F·04
Where to paste
Ad → Tracking → URL parametersAs Meta’s help recommends. Parameters from this field are appended to the website URL; if keys clash, the URL parameters field wins.
Checked against Meta’s official pages: Sep 18, 2026
- [1]Specifications for dynamic URL parameters in Meta Ads ManagerMeta Business Help Center · facebook.com/business/help/2360940870872492 (opens in a new tab)
- [2]Add URL parameters to your Meta ads in Meta Ads ManagerMeta Business Help Center · facebook.com/business/help/1016122818401732 (opens in a new tab)
Other instruments
- № 031CalculatorROAS & CPANine metrics from your own numbers, from CPM to profit after ad spend. With break-even points and a verdict.
- № 033PlannerBudget & packagesConverts a monthly budget to daily and back, into tenge at the official NBK rate, and suggests a top-up package.
- № 034Self-checkWhy ad accounts get banned23 checks based on Meta’s official rules. Tick what applies to you and the meter shows your risk level and what to fix first.
Numbers add up? Top up your ad account
We top up Meta ad accounts from $1,000 with no fees, at the official NBK rate. Credited within 24 hours.
- 01from $1,000
- 02no fees
- 03at the official NBK rate
- 04credited within 24 hours