hotjar-js
hotjar-js copied to clipboard
Issue: SyntaxError: Unexpected token 'G' when accessing Hotjar route
Description
the route https://content.hotjar.io/?site_id=xxxxxxxx&gzip=1, I am encountering a SyntaxError indicating that the token 'G' is unexpected. This error occurs for only one specific user, and I am using the latest version of the library.
Error
SyntaxError: Unexpected token 'G', "GIF89a"... is not valid JSON
Request Response
"GIF89a����!�,D;"
The error occurs in the following part of the code, located in the file /modules.d7e8b7276297041c77dc.js:
us<400?r.isFunction(e.success)&&e.success(t.responseText&&JSON.parse(t.responseText),t):r.isFunction(e.error)&&e.error(t)},t.onerror=functio
Additional Notes
- This problem occurs only for one specific user.
- I suspect this might be related to some screen recording block that the user has enabled. Has there been similar cases before?