react-hotjar
react-hotjar copied to clipboard
Cannot read properties of undefined (reading 'site_id')
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:
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).