Forum Discussion

chris_h1395's avatar
chris_h1395
Copper Contributor
Jan 08, 2025

Clarity tracking consent - how to

Hi all,

We're using Microsoft Clarity on SharePoint, and have installed it for every site in the tenant (via the SharePoint App Store -> Deploy on every site).

We're now looking to gather user's consent to use the advanced tracking features and I'm wondering if anyone has any insight on the best way to do this for all sites? We obviously want to prompt for consent regardless of which site the user initially lands on, but don't want to have to add a bit of JavaScript to every site manually. Is there a way to do it tenant-wide in one go?

If anyone has recommendations of good solutions for getting that consent, too, that would be great. I know we can put a dialog together but I'm sure there are some pretty solutions out there :)

Thanks in advance.

  • You will need to build a sitewide extension for this. There's no finish solution for this but something you will need to develop from scratch.

     

    As Clarity isn't GDPR compliant from intranet use within Europe, it's not really recommended to use

Resources