Use this tag for problems related with hotjar integration.
Questions tagged [hotjar]
61 questions
25
votes
1 answer
How does HotJar generate their recordings?
Tracking mouse movement/scroll/click events is easy but how do they save the screen and keep it in sync so well?
The pages are rendered very quite well (at least for static HTML pages, haven't tested on Angular or any SPA), the sync is almost…

Nick M
- 2,424
- 5
- 34
- 57
16
votes
2 answers
Integrating a React SPA with hotjar heatmap tracking
I am trying to integrate the Hotjar library to track heatmaps for users in our React SPA.
I have followed the general tutorials but I have not been able to get this working.
I have the standard Hotjar tracking code in the element of the document.
I…

daveGeo
- 323
- 1
- 3
- 9
13
votes
2 answers
Google wants to block OAuth sign-in due to an embedded browser which doesn't exist
Today I've got following email from Google:
We are writing to let you know that Google will discontinue support for sign-ins to Google accounts from embedded browser frameworks, starting January 4, 2021.
We have detected the use of an embedded…

ninsky
- 1,772
- 23
- 31
7
votes
3 answers
How to prevent tracking sensitive data in URLs?
Some URLs in my single-page-app (SPA) contain sensitive information like an access token, user information, etc.
Examples:
/callback#access_token=HBVYTU2Rugv3gUbvgIUY
/?email=username@example.com
I see that hotjar allows suppressing DOM elements…

Taras Hupalo
- 1,337
- 2
- 16
- 29
7
votes
1 answer
Debugging and tracking Hotjar data
Recently, our company started using Hotjar to collect usage data.
As this is my first time using the service, I made some mistakes, which made me search for a method for debugging. After reading the official documentation, forums, stackoverflow, I…

Adam Benedek
- 592
- 4
- 17
6
votes
6 answers
Capturing Hotjar User ID in Google Tag Manager & Google Analytics
We have a setup where we capture Hotjar User ID in Google Tag Manager and then pass it as a custom dimension to Google Analytics. It's done to simply merge and cross-reference both data sources.
We used the following code to capture the User…

TomG
- 71
- 1
- 3
5
votes
0 answers
Hotjar returns 413 Request Entity Too Large
I'm using react-use-hotjar and I can see from adding logging call backs that hotjar is successfully initialising with the correct site id and identifyHotjar calls are working also. However, no recordings are showing up in the hotjar dashboard.
In…

sauntimo
- 1,531
- 1
- 17
- 28
5
votes
0 answers
How to use Hotjar on Electron?
According to Hotjar documentation, Hotjar does not support Electron because
Since you use it to create desktop applications and not web applications the Hotjar tracking code cannot be used.
Is there any way to make this work?

Yoav Danieli
- 71
- 2
4
votes
0 answers
How to install Hotjar on a Single Page Application website (for example React website) and how to install snippet for User Attributes?
I won't find any good documentation for installing Hotjar snippet on REACT where we have multiple components. I want to add a User Attribute for my app which include multiple parameters.
What would be the best place for a snippet?
How can I deal…

Adarsh Pawar
- 682
- 6
- 15
4
votes
1 answer
Dynamically add a variable to an external js script with NextJS
I have this external hotjar script inside /static/js of my nextjs application.
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:,hjsv:6};
…

Jillo Abdullahi
- 298
- 1
- 3
- 9