react-hotjar icon indicating copy to clipboard operation
react-hotjar copied to clipboard

Cannot read properties of undefined (reading 'site_id')

Open Nickfis opened this issue 11 months ago • 2 comments

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).

Nickfis avatar Mar 14 '24 09:03 Nickfis