clarity.js by Microsoft slowing overall page loads

Viewed 5390

I have a customer using bing tracking via https://bat.bing.com/bat.js.

On December, 6th 2021 it started calling in clarity.js without the customer making any changes to their code.

This slowed the overall page load by 1 second on mobile and 500ms on desktop. I've been trying to figure out how to disable this JS but I'm not sure what to do as it's being fired from the bing tracking js.

The bing tracking code is being triggered via google tag manager.

Anyone else having this issue and know how to disable clarity.js from being called at all?

enter image description here

Customer is using Wordpress. Amazing Bing can implement code that slows down a site overall page speed without any notification to the customer.

3 Answers

This seems to be added mid-November 2021. Problematic for sure, as it broke our website in certain situations. To disable it, follow these steps:

  1. Go to ui.ads.microsoft.com
  2. In the top bar go to Tools, then under Conversion tracking click on UET tag
  3. In the table at the bottom of the page click on the name of your tag.
  4. Under Enable Microsoft Clarity disable the checkbox and click the Save button.

This should directly remove the script from your website.

I've found the way to turn off Clarity. In Microsoft Advertising, the UET tag has to be re-configured. A checkbox appeared in the UET wizard that allows you to turn off Clarity.

We figured this out by going into our bing web tools and disabling the Clarity integration.

Related