UTM convention
Microsoft Advertising tracking template for UTM parameters
The UTM template for Microsoft Advertising (Bing ads), where it goes in your account’s settings, and what every parameter records.
Paste the template into your Microsoft Advertising account’s final URL suffix. Microsoft fills in the campaign, ad group, ad and keyword on every click.
The template#
Paste this into your Microsoft Advertising account’s final URL suffix. The parts in single braces are Microsoft’s dynamic parameters: Microsoft replaces them with the real campaign, ad group, ad and keyword on every click.
utm_source=bing&utm_medium=cpc&utm_term={keyword}&utm_mc_id=cm-{CampaignId}-ag-{AdGroupId}-ad-{AdId}-kw-{keyword}-nw-{Network}Where to paste it in Microsoft Advertising#
- In Microsoft Advertising, open the account’s settings and find where it sets a final URL suffix for the whole account.
- Paste the template into the final URL suffix, replacing anything already there, and save.
- Campaigns and ad groups can have a final URL suffix of their own, and theirs wins over the account’s. If any of yours do, paste the template there too.
- Keep auto-tagging of Microsoft’s click ID switched on.
If you use a tracking template instead, start it with {lpurl}? followed by the template, and test it before you save.
Microsoft only offers the campaign and ad group as IDs here, not names, so the template leaves utm_campaign and utm_content out and keeps those IDs in utm_mc_id.
Auto-tagging adds Microsoft’s click ID (msclkid) to every click. Leave it on.
What each parameter records#
| Parameter | Value in the template | What it records |
|---|---|---|
utm_source | bing | The platform the click came from. Always bing, for Microsoft Advertising’s search ads. |
utm_medium | cpc | The kind of ad: a paid search click. |
utm_campaign | Not sent | Microsoft only offers the campaign as an ID here, not a name, and that ID is already in utm_mc_id. |
utm_content | Not sent | Microsoft only offers the ad group as an ID here, not a name, and that ID is already in utm_mc_id. |
utm_term | {keyword} | The keyword that matched the search, filled in by Microsoft on each click. |
utm_mc_id | cm-{CampaignId}-ag-{AdGroupId}-ad-{AdId}-kw-{keyword}-nw-{Network} | Maven’s tracking ID: the campaign, ad group and ad IDs, plus the keyword and network, in one value, so a visit ties to the exact ad even after you rename it. |
The parts of utm_mc_id#
utm_mc_id carries the IDs Maven needs to tie a visit to the exact Microsoft Advertising ad, in one value, so it survives link shorteners and redirects. Each part starts with a short prefix.
| Prefix | Microsoft Advertising dynamic parameter | Meaning |
|---|---|---|
cm- | {CampaignId} | Campaign ID |
ag- | {AdGroupId} | Ad group ID |
ad- | {AdId} | Ad ID |
kw- | {keyword} | The keyword that matched the search |
nw- | {Network} | Network: where the ad showed, such as Microsoft’s own search sites, search partners or the Microsoft Audience Network |
Check it’s working#
Click through from the ad to your site. The address should carry utm_source=bing and a utm_mc_id that starts cm- followed by the real IDs, not the parameter names in single braces. Maven reads your ads each morning, and Attribution settings shows Microsoft Advertising as following the convention once Microsoft reports the new parameters.
If your ads use a different convention#
Keep it. In Maven, open Attribution settings and add an exception for the parameter that differs, for example “On Microsoft Advertising, utm_medium is paid”. Maven then reads your ads the way you tag them. When Maven sees ads that don’t match the convention, it asks you there whether to keep them that way.
utm_mc_id is the one parameter every ad needs. Without it, Maven can’t tie a visit to the exact ad.
For the whole convention and the other platforms, see Maven’s UTM convention.