hotjar-js
hotjar-js copied to clipboard
Bring Hotjar directly to your application
I'm using Hotjar with react 18 basic use as follow: ``` useEffect(() => { Hotjar.init(config.HOT_JAR_SITE_ID, config.HOT_JAR_VERSION, { debug: process.env.NODE_ENV === 'development', // TODO to remove after debugging in dev nonce:...
Hi Folks, Not sure if here is the correct place for this. I've been trying to implement partytown to load the hotjar script inside a worker thread instead of on...
The nonce is not added to the appended script after the inital inline script is added to DOM. Probably relates to https://github.com/hotjar/hotjar-js/issues/26 Also every other script that gets inserted or...
Running with the nonce option and appropriate CSP headers set, I am still seeing some blocking happening because the nonce is not used for every `` and `` created by...
Is it possible to remove the identity from a user when they sign out? I identify people when they login using `Hotjar.identify(userId)`, but ideally I can **unidentify** them when they...
We are keeping getting the below undefined errors "@hotjar/browser": "^1.0.9", ``` import Hotjar from '@hotjar/browser'; .... Hotjar.init(xxxx(hotjarId), 6); ``` ``` TypeError Cannot read properties of undefined (reading 'cookie') https://script.hotjar.com/modules.7532ebbcfaf7feae351e.js:1:7384 u.clear...
We've gotten a significant number of automated error reports from the HJ script loaded through `https://static.hotjar.com/c/hotjar-${hotjarId}.js?sv=${window._hjSettings.hjsv}`: (screenshot from Sentry) This appears to be caused by the SDK attempting to access...
Hi, How can I detect if user is blocking hotjar requests? Probably I can get that info from Hotjar's dashboard but I need to detect on my application with your...
I just used Hotjar for the first time. I loved its perspective and reports. But the next day I had to remove it from my site because of only this...
Hi! I was wondering if there is a possibility to apply attribute `script.integrity` in https://github.com/hotjar/hotjar-js/blob/main/src/utils.ts#L38 Link to OWASP https://cheatsheetseries.owasp.org/cheatsheets/Third_Party_Javascript_Management_Cheat_Sheet.html#subresource-integrity Any feedback will be valuable for me ;)