Microsoft Ads · Tracking template

Spectacle sp_* + UTMs → Microsoft Ads tracking template

Spectacle Microsoft Ads pack: bing/cpc UTMs plus sp_pl / sp_agi / sp_ai / sp_kwi / sp_n.

Use this recipe on Microsoft Ads. Open it in the builder to merge, validate tokens, or combine with other tools.

Was this recipe useful? 4.3 (12)

Tap a star to rate (1–5). You can change your rating later.

Tracking template
{lpurl}?utm_source=bing&utm_medium=cpc&utm_id={CampaignId}&utm_campaign={Campaign}&utm_term={Keyword}&utm_content={AdId}&sp_pl={Network}&sp_agi={AdGroupId}&sp_ai={AdId}&sp_kwi={TargetId}&sp_n=microsoft_ads

How to install

  1. Open Microsoft Advertising → SettingsAccount settingsTracking (or campaign settings → URL options).
  2. Paste into the Tracking template field.
  3. Use URL preview / Test if available, then save.
  4. Replace placeholders before going live, then click an ad once to confirm the landing URL.

Why this stack

Spectacle Microsoft Ads pack: bing/cpc UTMs plus sp_pl / sp_agi / sp_ai / sp_kwi / sp_n.

This Spectacle sp_* + UTMs → Microsoft Ads recipe is built for Microsoft Ads with utm. Paste into Tracking template. If you also need UTMs beside a redirect, put UTMs in Final URL suffix instead.

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_source values) 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 Microsoft 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 → Microsoft Ads template?

Paste into the Tracking template field in Microsoft Ads account (or campaign) settings.

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 Microsoft Ads macros documented?

See the Microsoft Ads parameter reference on this site.