How to insert Microsoft Clarity Script

The Clarity tool from Microsoft provides session recording and heatmaps generation.

I want to insert their javascript code into my app.

Their instructions says to put the code below inside the <head> tag:

    })(window, document, "clarity", "script", "XXXXXXX");

I inserted it in App Settings -> Preloaded JS

But it's not working.

What do I have to do?

Thanks in advance.

Hi @reslley,

I think this would require a feature request, unfortunately :disappointed:

We have some analytics integrations as outlined here, so we could explore whether it's possible to create a Microsoft Clarity integration, and we have an internal feature request for supporting embedding <script> elements into Retool apps in general.