Does Netlify support Microsoft's Clarity?

I’m trying to use Microsoft’s Clarity to tracking my website deployed on Netlify.
But after I inserted the script, nothing shows up in the Clarity.
I’ve tried Google Analytics and ad from adsterra and nothing shows up either.
(I use next.js.)

This is the way I inserted the code:

<script
    type="text/javascript"
    dangerouslySetInnerHTML={{
    __html: `
        ...
     `,
   }}
/>

Hi, @hansli112. What are the requirements and dependencies for Clarity?

I ask because this looks like client-side javascript sending data to a third-party service. There is nothing at Netlify to prevent that from working as it would with any other hosting.

Thanks for your replying.
I’ve successfully connect to the clarity with GTM. Thanks!

1 Like

Great news @hansli112 ! Thanks for letting us know.