I'm trying to configure Microsoft Clarity to work on localhost
in my Angular app.
When I created the new project on the Microsoft Clarity portal, I've set the URL to localhost
(I've also tried with localhost:4200
as well) and then I copied the script and pasted it in the <header>
of index.html
page but seems to do nothing (no collect
calls in the network tab, no logs in the portal).
I can't find what I'm doing wrong. Or Microsoft Clarity is not working with localhost
?
this.zone.runOutsideAngular(() => { //here })
. An it seems not to impact performance and trigger change detection – Verdha