The Microsoft Clarity Consent API is the interface that allows website owners to control when Microsoft Clarity’s session recording and heatmap features activate based on user consent. Microsoft Clarity is a free analytics tool that records user sessions, generates heatmaps, and provides behavioural insights.
Because these features capture detailed user interactions including mouse movements, clicks, and scroll behaviour, they constitute personal data processing under the GDPR. The Consent API allows developers to programmatically start or stop Clarity recording based on the consent status communicated by their cookie consent platform.
Proper integration requires configuring Microsoft Clarity to load in a paused state and only begin recording when your consent management platform confirms that the user has opted in to analytics or performance cookies. The Consent API provides methods to grant and revoke consent programmatically.
When a user changes their consent preferences through your consent banner, your CMP must call the appropriate Clarity API method to start or stop recording accordingly. This ensures that session recordings only capture data from users who have explicitly consented.
Seers’ consent management platform integrates with Microsoft Clarity’s Consent API to automate consent-based recording control. When a user consents to analytics cookies through Seers’ banner, Clarity recording activates automatically.
When consent is withdrawn or denied, recording stops immediately. This integration eliminates the need for custom development and ensures that your Clarity implementation remains compliant with the GDPR and other privacy regulations.
Simplify Clarity consent management and protect user privacy with Seers AI
START FREE TODAY