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 'site_id') #67

Open
Nickfis opened this issue Mar 14, 2024 · 2 comments
Open

Cannot read properties of undefined (reading 'site_id') #67

Nickfis opened this issue Mar 14, 2024 · 2 comments

Comments

@Nickfis
Copy link

Nickfis commented Mar 14, 2024

Not sure exactly what happened, but on our site we now often get the error
Cannot read properties of undefined (reading 'site_id'),
which in the stack trace looks like a hotjar error:
Screenshot 2024-03-14 at 10 30 36

t.g [as send](c/hotjar)

Is this a known issue?
I've tried updating to version 6.2, but that hasn't changed things.
Right now we only initalize hotjar and do nothing else:

import { hotjar } from "react-hotjar";
hotjar.initialize(id, version);

Let me know if you want me to give you any additional info as it's quite scarce so far, but I just wanted to know whether this is a known issue (quick googling couldn't find anything).

@sergei-lobanov
Copy link

Same issue

@abdalla
Copy link
Owner

abdalla commented Apr 24, 2024

Hey guys, I'm pressed for time to maintain the lib, could someone open a PR with the fix?

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

3 participants