Skip to main content
Version: v1.5.2

Microsoft Clarity

info

To integrate Microsoft Clarity consent with Lawwwing, you need to have the Lawwwing script installed on your website. You can follow our installation guides.

Microsoft Clarity and the use of cookies

Microsoft Clarity uses a cookie to collect data from user sessions. This cookie allows Clarity to identify how a user arrived at your website, their location, language preference, among other details.

As the administrator of your website, you may be required to comply with laws that require obtaining prior consent from users before collecting personal information. Examples of these regulations include the European Union's General Data Protection Regulation (GDPR) and the ePrivacy Directive. Additionally, some legislations may require you to provide users with the option to reject the use of cookies.

By default, the Clarity tracking code is loaded automatically, even before the user has given consent for the use of cookies.

To comply with privacy regulations, it is necessary to adjust this setting and ensure that the Clarity code does not activate cookies immediately. Instead, it should wait for a signal confirming that the user has given consent.

  1. Log in to Microsoft Clarity.
  2. Select ⚙ Settings from the top menu.
  3. In the left sidebar menu, select Settings.
  4. In the Advanced Settings section, disable the Cookies option.
  5. Clarity will notify you that cookies are disabled.

Microsoft Clarity

note

Clarity recordings will not be linked across multi-page sessions until you inform Clarity about visitor consent. Heatmaps and other data, apart from session recordings, will still be available to you.

Lawwwing is integrated with Microsoft Clarity to manage cookie consent.

Once you have set up Clarity to require consent, Lawwwing will handle sending the consent signal to Clarity, without you having to do anything else.

Step 3: Verify the implementation

To verify that Microsoft Clarity is correctly receiving the consent signals sent by Lawwwing, follow these steps:

  1. Open an incognito session in your browser.
  2. Access your website.
  3. Accept the analytical cookies.
  4. Check your browser cookies and confirm that the _clck and _clsk cookies have an expiration date of one year.
  5. Update your consent to reject the analytical cookies.
  6. Check your browser cookies again and verify that the _clck and _clsk cookies are now set as session cookies.

That's it. You have successfully set up Microsoft Clarity to require consent before using cookies! 🎉

Need help?

If you need additional assistance or have questions, feel free to contact us and we will be happy to help 🙂