Facebook / Meta Ads · Tracking template
UTMs → Facebook / Meta Ads tracking template
Recommended Meta URL parameters for Facebook & Instagram with dynamic UTMs.
Use this recipe on Facebook / Meta Ads. Open it in the builder to merge, validate tokens, or combine with other tools.
utm_source={{site_source_name}}&utm_medium=paid&utm_campaign={{campaign.name}}&utm_id={{campaign.id}}&utm_term={{adset.name}}&utm_content={{ad.name}}
How to install
- Open Meta Ads Manager → your ad → Tracking or the website URL field.
- Paste the parameter string onto the destination URL (Meta has no Google-style Tracking template field).
- Keep double curly braces like
{{campaign.id}}intact — do not URL-encode the braces. - Publish, then click the ad preview and confirm GA4 (or your analytics) receives the UTMs.
Why this stack
Recommended Meta URL parameters for Facebook & Instagram with dynamic UTMs.
This UTMs → Facebook / Meta Ads recipe is built for Facebook / Meta Ads with utm. Facebook / Meta Ads has no Google-style Tracking template field — bake macros into the ad’s URL parameters / website URL.
Common pitfalls
- Wrong field ownership — redirects must own Tracking template; UTMs / tw_* / nbt= usually belong in Final URL suffix (Google / Microsoft).
- Duplicate keys (two
utm_sourcevalues) silently overwrite each other in analytics. - Leaving placeholders like account IDs or domain tokens unreplaced breaks the click path.
Before you go live
- Replace placeholders such as account IDs, tracker IDs, and domains.
- Click through once from the ad preview and confirm the landing URL.
- Confirm analytics or call-tracking tools still receive the expected query parameters.
- Cross-check macros in the Facebook / Meta Ads parameter guide.
Need a variation? Open this stack in the template builder to merge another tool or validate tokens.
FAQ
Where do I paste the UTMs → Facebook / Meta Ads template?
Paste into the ad’s URL parameters / website URL in Facebook / Meta Ads. There is no separate Tracking template field like Google Ads.
Will this break my landing page URL?
Templates that start with {lpurl} or include u={lpurl} / url={lpurl} preserve your final URL. On Meta/TikTok/LinkedIn, you append macros to the destination URL directly. Always click-test after saving.
Where are the Facebook / Meta Ads macros documented?
See the Facebook / Meta Ads parameter reference on this site.