Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'sequence') #714

Open
deepankarappricus opened this issue Nov 22, 2024 · 1 comment
Open

Cannot read properties of undefined (reading 'sequence') #714

deepankarappricus opened this issue Nov 22, 2024 · 1 comment

Comments

@deepankarappricus
Copy link

deepankarappricus commented Nov 22, 2024

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.

Image

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

@deepankarappricus
Copy link
Author

@mtodd @tpope @sverrejoh @radical any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant