Cookiename | Zweck | Ablauf |
_hjSessionUser_{site_id} | - Set when a user first lands on a page.
- Persists the Hotjar User ID which is unique to that site. Hotjar does not track users across different sites.
- Ensures data from subsequent visits to the same site are attributed to the same user ID.
- 365 days duration.
| |
_hjHasCachedUserAttributes | - Enables us to know whether the data set in _hjUserAttributes Local Storage item is up to date or not.
- Session duration.
| |
_hjUserAttributesHash | - Enables us to know when any User Attribute has changed and needs to be updated.
- 2 minutes duration, extended every 30 seconds.
| |
_hjSession_{site_id} | - Holds current session data.
- Ensures subsequent requests in the session window are attributed to the same session.
- 30 minutes duration, extended on user activity.
| |
_hjCookieTest | - Checks to see if the Hotjar Tracking Code can use cookies. If it can, a value of 1 is set.
- Deleted almost immediately after it is created.
- Under 100ms duration, cookie expiration time set to session duration.
| |
_hjLocalStorageTest | - Checks if the Hotjar Tracking Code can use Local Storage.
If it can, a value of 1 is set. - Data stored in _hjLocalStorageTest has no expiration time, but it is deleted almost immediately after it is created.
| |
_hjSessionStorageTest | - Checks if the Hotjar Tracking Code can use Session Storage. If it can, a value of 1 is set.
- Data stored in _hjSessionStorageTest has no expiration time, but it is deleted almost immediately after it is created.
| |
_hjTLDTest | - We try to store the _hjTLDTest cookie for different URL substring alternatives until it fails.
- Enables us to try to determine the most generic cookie path to use, instead of page hostname.
- It means that cookies can be shared across subdomains (where applicable).
- After this check, the cookie is removed.
| |