Skip to main content
Back to Guides
Integration8 min read

Microsoft Clarity Consent Mode: Complete Setup Guide

Learn how Microsoft Clarity uses consent mode to comply with privacy regulations. Understand the October 2025 deadline, consent types, and how to implement Clarity's consentv2 API.

What is Microsoft Clarity?

Microsoft Clarity is a free behavioral analytics tool that helps website owners understand how visitors interact with their sites through features like session recordings and heatmaps.

The October 2025 Deadline

Starting October 31, 2025, Microsoft Clarity will begin enforcing consent requirements for visitors from the EEA, United Kingdom, and Switzerland.

Data Clarity Collects

Cookies Used

  • _clck - Stores a unique user ID (12 months)
  • _clsk - Connects page views into a session (1 day)

Data Categories

  1. Analytics Storage (analytics_Storage) - Session recordings, heatmaps, user behavior tracking
  2. Ad Storage (ad_Storage) - Required when Clarity data is connected to advertising platforms

The consentv2 API

Important: Case Sensitivity

Clarity uses capital S in ad_Storage and analytics_Storage. This differs from Google's lowercase versions.

Integration with Microsoft Advertising (UET)

How CookieBeam Handles This

CookieBeam automatically manages Microsoft Clarity consent mode when you enable Microsoft Consent Mode in your banner settings.

Enable Microsoft Consent Mode

In your CookieBeam dashboard, go to Banner Settings and enable Microsoft Consent Mode to automatically handle consent for both UET and Clarity.

Microsoft Clarity Consent Mode: Complete Setup Guide | CookieBeam Guides | CookieBeam