---
title: "Microsoft consent handling | CookieBeam"
description: "How CookieBeam handles Microsoft: it holds marketing and analytics scripts until the visitor consents and passes the visitor’s choice to Microsoft."
url: "https://cookiebeam.com/integrations/microsoft"
lang: "en"
image: "https://cookiebeam.com/opengraph-image.png?v=20261016"
---

# Microsoft

Microsoft provides the Advertising UET tag, the Universal Pixel and the Clarity behaviour analytics tool.

- Marketing
- Analytics
- Both

## Category and reason

The scanner classifies Microsoft scripts and connections as marketing and analytics, depending on which part of Microsoft they belong to.

- Marketing covers tools that track visitors for advertising or across websites.
- Analytics covers tools that measure how visitors use a website.

These are defaults. You can reassign the category of any script on your site.

## How CookieBeam handles it

- Blocks until consent

  Where visitors must opt in, CookieBeam holds these scripts off the page until the visitor accepts marketing and analytics. Blocking must be switched on, and the script must appear in a scan or be added by you.
- Forwards consent signal

  CookieBeam passes the visitor's choice to Microsoft through Microsoft's own consent API, both on the initial decision and on any later change.

  - Microsoft Advertising (UET) consent. Active by default.
  - Microsoft Clarity consent. Active by default.
  - Microsoft Universal Pixel consent. Off by default. Turn it on in your banner settings.

## Setup guides

- [Microsoft Ads, Clarity and Universal Pixel](https://cookiebeam.com/docs/integrations/microsoft)

This page describes what CookieBeam does by default. Whether you need consent for Microsoft depends on your site, how you use Microsoft, and which laws apply. It is not legal advice.

## Add CookieBeam to your site

Create an account to set up your consent banner and see how CookieBeam handles the vendors on your pages.

[Sign up free](https://cookiebeam.com/sign-up)
