You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I integrated MS Clarity with my project on multiple servers.
When I am trying to see recording, getting the above mentioned error.
Here is my code below:
I integrated MS Clarity with my project on multiple servers.
When I am trying to see recording, getting the above mentioned error.
Here is my code below:
(function(c,l,a,r,i,t,y){
const hostnameToIdMap = {
'dev.abc.com': 'p1* *fdkbnf',
'abc.us': 'jxsyb * * dpi',
'abc08.com': 'jx * * 4vf5ax',
'abc05.com': 'jg6j7i * * f0',
'abc02.com': 'jg * * 3qfbcw',
'abc.com': 'i5 * * gfoxlw'
};
const currentHostname = window.location.hostname;
i = 'p1 * * fdkbnf';
for (const [key, value] of Object.entries(hostnameToIdMap)) {
if (currentHostname.includes(key)) {
i = value;
break;
}
}
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script");
Repro Steps
Data is sent to clarity but when click on any recording, error message appears on screen.
Also can't see live recording as well.
Project info
Currently testing on my local, in one of our projects same configuration is working fine but on this one, this error appears.
Browser info:
Edge/Chrome
The text was updated successfully, but these errors were encountered: