Skip to main content
Cookiebot → Microsoft AdsIntegration guide

Connecting Cookiebot to Microsoft Ads

Cookiebot scans your site and blocks scripts automatically by category, which means it can stop a tag you rely on without anybody deciding to. Microsoft Ads reaches an older, higher-income, more desktop-weighted audience than Google, and it is routinely the cheapest qualified traffic a B2B advertiser can buy. The join between them succeeds or fails on one thing: whether the MSCLKID reaches the Cookiebot consent state before the conversion happens, because Microsoft Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Cookiebot with Microsoft Ads: UET consent and msclkid capture

Have Cookiebot send Microsoft UET's consent mode ad_storage signal, and make sure auto-blocking does not stop the UET script from loading. Your msclkid capture script's Cookiebot category decides whose clicks you keep; record consent state on the lead or order and upload only consented msclkids to the offline goal. Check whether US visitors require blocking.

Microsoft's UET tag supports a consent mode with an ad_storage signal, similar in shape to Google's. Check whether your Cookiebot setup sends that signal to UET; if it does not, you either block UET entirely for decliners or let it run without consent, and both are worse than signaling properly. Also check that Cookiebot's automatic blocking is not stopping the UET script from loading at all, because a blocked script can never receive a consent update.

Offline conversion import adds a second decision. The msclkid lands in the URL for every Microsoft click, consented or not. Your capture script is the thing that stores it on the lead or order, so its Cookiebot category decides whose clicks you keep. Filing it under necessary to avoid blocking is a misclassification you would have to defend; filing it under marketing means decliners are excluded. Choose deliberately, record the consent state with the record, and upload only consented msclkids against the offline goal.

If you advertise to European traffic, check Microsoft's current requirements for consent signals in that region. For US-only accounts, check with counsel whether Cookiebot needs to block UET by default at all for US visitors, since blocking where no law requires it removes data from an audience Microsoft is often strongest with.

Cookiebot → Microsoft Ads · what breaks

Why this join usually fails — Cookiebot → Microsoft Ads

  1. 01

    The MSCLKID never reaches Cookiebot

    Scripts are blocked before execution, so an identifier-capture script placed in a blocked category never runs at all.

  2. 02

    Automatic classification blocking the wrong script

    The scanner decides what each script is. It gets things wrong, and a first-party capture script filed under marketing will be blocked for every visitor who declines marketing — including many who would have accepted what it actually does.

  3. 03

    Auto-tagging switched off

    Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.

  4. 04

    Nothing reconciles afterwards

    Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.

Cookiebot → Microsoft Ads · the fix

What working looks like — Cookiebot → Microsoft Ads

  • The MSCLKID on every consent record

  • Conversions arriving in Microsoft Ads

    Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent, and become usable for automated bidding.

  • Reconciled against the source

Cookiebot → Microsoft Ads · architecture

How Cookiebot and Microsoft Ads actually connect

  1. 1

    Cookiebot holds the truth

    Automatic blocking classifies scripts by scanning. A misclassified tag gets blocked for visitors who would have consented, and the loss is invisible because everything looks configured correctly.

  2. 2

    Microsoft Ads needs a click to match

    Microsoft matches uploaded conversions to clicks using the MSCLKID, and the conversion goal must be created as an offline conversion type. The click has to fall inside Microsoft's import window — verify the current limit in your account rather than assuming it matches Google's.

  3. 3

    The identifier is the bridge

    The MSCLKID, captured at the visit and carried into the Cookiebot consent state.

  4. 4

    The event source decides reliability

    Send consented conversions, with the consent rate and the blocked-category mix reported alongside.

  5. 5

    Deduplication at the destination

    Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.

Cookiebot → Microsoft Ads · normal or broken

Working vs. broken, side by side — Cookiebot → Microsoft Ads

Normal, not a fault

  • The MSCLKID present on the consent record

  • Sent from your order system, gated on consent

  • Deduplicated correctly

    Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.

  • Reconciles with the source

Actually broken

  • The MSCLKID missing on most records

    Scripts are blocked before execution, so an identifier-capture script placed in a blocked category never runs at all.

  • Sent from the browser

    The scanner decides what each script is. It gets things wrong, and a first-party capture script filed under marketing will be blocked for every visitor who declines marketing — including many who would have accepted what it actually does.

  • Counted twice, or not at all

    Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.

  • Nobody has reconciled it

Cookiebot → Microsoft Ads · diagnose

Diagnostic order — Cookiebot → Microsoft Ads

  1. 01

    Count consent records carrying the MSCLKID

  2. 02

    Follow one real conversion end to end

  3. 03

    Read the scan results and check how each of your scripts was classified

    This takes ten minutes and it is the first thing to check when conversions drop after a CMP deployment.

  4. 04

    Confirm auto-tagging is enabled and check the upload diagnostics

    One account setting decides whether any of this works. Then read the per-row errors on the upload rather than the success count.

  5. 05

    Read the match rate, not the success message

    Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.

Cookiebot → Microsoft Ads · prove

How it gets proven — Cookiebot → Microsoft Ads

Source of truth

Your order system, with the visitor's consent categories recorded at the time of the event.

  • The MSCLKID confirmed present on a live consent record.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • Consented conversions reconciled against imported figures, with script classifications verified against what they collect.

Cookiebot → Microsoft Ads · free audit

What we check in the free audit

  • Count consent records carrying the MSCLKID
  • Follow one real conversion end to end
  • Read the scan results and check how each of your scripts was classified
  • Confirm auto-tagging is enabled and check the upload diagnostics
  • Read the match rate, not the success message

Checked against

Your order system, with the visitor's consent categories recorded at the time of the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cookiebot → Microsoft Ads · when not to buy

When you don't need this — Cookiebot → Microsoft Ads

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the MSCLKID.
  • If you have no legal requirement for consent in your markets, adding automatic blocking will cost you data for no compliance benefit.
  • If you are not running Microsoft Ads at meaningful spend, skip it — though for B2B the traffic is often cheaper and better qualified than people expect, which is worth testing before dismissing.

Cookiebot → Microsoft Ads · what we deliver

What gets built — Cookiebot → Microsoft Ads

  • Identifier capture into Cookiebot

    Verify which category your capture script is classified into, and keep capture in a category that matches what you actually collect.

  • Event source: your order system, gated on consent

    Send consented conversions, with the consent rate and the blocked-category mix reported alongside.

  • Dispatch to Microsoft Ads

    Offline conversion import through the Microsoft Advertising API or a scheduled upload.

  • Reversals where they exist

    Consent withdrawal stops future sends.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with the visitor's consent categories recorded at the time of the event.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cookiebot → Microsoft Ads questions, answered

Check your Cookiebot version and setup documentation for Microsoft consent support. The goal is for UET to load and receive an ad_storage decision, rather than being blocked outright.

Free · 30 min

Get Cookiebot and Microsoft Ads joined properly

Free30 minutesNo obligation