This article is about Hotjar Tracking Code cookies and not about cookies set by hotjar.com
If you're looking for information on cookies set when visiting our website at hotjar.com, see the article Cookies on hotjar.com.
Cookies are small pieces of data that a website adds to a user’s browser. Hotjar Tracking Code cookies are set on a visitor's browser when they visit a website that loads the Hotjar Tracking Code. These cookies allow the Hotjar Tracking Code to function correctly. Apart from cookies, the Hotjar Tracking Code uses local and session storage as well.
You can request that Hotjar not process your information across any site on the web that has installed the Hotjar Tracking Code. For more information on this and to make a request, visit our Do Not Track page.
This article provides more detail about cookies that are set by the Hotjar Tracking Code and answers some common questions we receive.
Is Hotjar affected by Google Chrome's third-party cookie restrictions?
No. Google is gradually removing support for third-party cookies in the Chrome browser, but the cookies set by the Hotjar tracking code are first-party cookies, so Hotjar's functionality will not be affected.
My website uses Hotjar, how do I make visitors aware of Hotjar’s cookies and classify them (e.g. marketing, analytical, performance, etc.)?
Given the complexities around jurisdictions, privacy laws/regulations, and how you and your team intend to use Hotjar, it's best that you seek guidance from your own legal counsel when determining which cookies need to be listed on your site and whether or not a cookie manager should be utilized.
Similarly, your legal counsel will be able to help you determine how to classify cookies. Hotjar cannot assist with any questions that might have legal implications.
Are Hotjar Tracking Code cookies first-party or third-party cookies?
Hotjar Tracking Code cookies are created via a script that is executed from the host domain, making them first-party cookies.
Does Hotjar capture users who have disabled cookies in their web browser?
Hotjar does not track or record users who have cookies disabled. The Hotjar Tracking Code doesn't properly load its different components if it detects that cookies are disabled. You can learn more about which traffic Hotjar can and can’t capture in our article on Does Hotjar track all your users?
How can I prevent the Hotjar Tracking Code from loading on my site until a visitor accepts cookies?
Solutions exist for blocking the loading of cookies until a website visitor has given consent using a consent window. The cookie consent solution that works best for you will depend on how your website is set up and the technologies being used. To help with this, you’ll need to speak with your website developer or the platform that hosts your website.
Can I specify cookies only apply to one of my subdomains?
Tracking Code cookies are set to the .topleveldomain.com of your website including all subdomains to ensure we can provide a seamless session capture between the top-level domain and subdomains of your website. It’s not possible to specify Hotjar cookies only apply to a specific subdomain of your website.
List of cookies set by the Hotjar Tracking Code
The following cookies, local and session storage items apply when the Hotjar Tracking Code has been loaded and ensure the Hotjar Tracking Code functions correctly. Mentions of site_id refer to the unique ID allocated to an individual site when it is created in Hotjar.
In order for Hotjar features and tools to function correctly, all the items below should be allowed.
Relating to the user | ||
Name |
Data storage type |
Description |
_hjSessionUser_{site_id} |
Cookie |
|
_hjHasCachedUserAttributes |
Cookie |
|
_hjUserAttributesHash |
Cookie |
|
_hjUserAttributes |
Local storage item |
|
hjViewportId |
Session storage item |
|
hjActiveViewportIds |
Local storage item |
|
Relating to the session | ||
Name |
Data storage type |
Description |
_hjSession_{site_id} |
Cookie |
|
_hjCookieTest |
Cookie |
|
_hjLocalStorageTest |
Cookie |
|
_hjSessionStorageTest |
Cookie |
|
_hjTLDTest |
Cookie |
|
Relating Surveys | ||
Name |
Data storage type |
Description |
_hjClosedSurveyInvites |
Cookie |
|
_hjDonePolls |
Cookie |
|
_hjMinimizedPolls |
Cookie |
|