Facebook / Meta Ads · Tracking template
Spectacle sp_* + UTMs → Meta Ads tracking template
Spectacle Meta pack: paid_social UTMs plus sp_pl / sp_agi / sp_ai / sp_n for Spectacle cross-network merges.
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_social&utm_campaign={{campaign.name}}&utm_id={{campaign.id}}&utm_content={{ad.name}}&sp_pl={{placement}}&sp_agi={{adset.id}}&sp_ai={{ad.id}}&sp_n=meta_ads
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
Spectacle Meta pack: paid_social UTMs plus sp_pl / sp_agi / sp_ai / sp_n for Spectacle cross-network merges.
This Spectacle sp_* + UTMs → 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 Spectacle sp_* + UTMs → 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.