Docs
Docs contents

Microsoft Ads

Microsoft Advertising fills in every value on each click, including the names. Paste the string once, at account level, and every campaign carries it.

Before you begin

  • Access to edit account settings in Microsoft Advertising.
  • Tag your ads explains each parameter.

1. Copy the string

utm_source=microsoft&utm_medium=cpc&utm_campaign={Campaign}&utm_id={CampaignId}&utm_content={AdId}&utm_term={keyword:unknown}&numbat_group={AdGroup}&numbat_group_id={AdGroupId}&numbat_ad_id={AdId}&numbat_network={Network}

You can also get the string in Numbat. Open Advertise > UTM Tagging and choose Get the tag for Microsoft Ads.

{keyword:unknown} has a fallback on purpose. Shopping and audience campaigns have no keyword, and a bare {keyword} arrives empty.

2. Turn off auto-tagging

Turn off Add UTM tags to my destination URLs. With it on, Microsoft sends every parameter twice and Numbat ignores this string.

3. Paste it into Microsoft Advertising

  1. Go to Campaigns > Settings > Account level options, and open Tracking.

  2. Paste the string into Final URL suffix, then save.

This changes the utm_source and utm_medium of every ad in the account. If a CRM rule or report uses the old values, update it.

4. Check that it works

  1. Click one of your ads. The landing page URL should show the campaign name, and real values where the macros were.
  2. Open Advertise > UTM Tagging in Numbat. A click shows there up to 30 minutes after the visit ends. The headline gives the share of paid clicks with a correct tag.

The UTM Tagging page in Numbat, headed 73% of 27,207 paid clicks arrive with a correct tag, above a bar split into Correct and Needs a fix: 7,214 clicks

Troubleshooting

Parameters arrive twice, or the Numbat values are missing

Auto-tagging is still on. Turn off Add UTM tags to my destination URLs.

A value shows as a placeholder like {Campaign}

Microsoft did not fill in the macro. Check that the string is in Final URL suffix, not in the tracking template.

Some ads arrive tagged and others do not

A final URL suffix on a campaign, ad group or ad replaces the account’s suffix. Look for a suffix set lower down.

Next steps