The _hjSessionUser_* cookie
_hjSessionUser_* is a cookie set by Hotjar, from Hotjar Ltd. Stores a Hotjar user ID so the same visitor is recognised on later visits.
The * in the name stands for a part that changes from site to site, such as an account or measurement ID.
Set by
HotjarDuration
1 year
Category
Analytics
Needs consent
Yes
Does the _hjSessionUser_* cookie require consent?
_hjSessionUser_* is used for analytics, so under the GDPR and the ePrivacy rules it may only be set after the visitor has agreed. Showing a banner is not enough on its own: the cookie must not be set before the visitor clicks accept.
Does your site set _hjSessionUser_* before consent?
A free scan loads your site the way a new visitor sees it and lists every cookie that is set before anyone has said yes, _hjSessionUser_* included.
How to put _hjSessionUser_* behind consent
Remove the Hotjar snippet from your site and add your Hotjar ID under Integrations in Consentify instead. Consentify then loads Hotjar only after the visitor has accepted analytics, so _hjSessionUser_* is never set before consent.
View all integrationsNot sure what's running on your Hotjar site?
Scan it first and you'll know exactly which scripts need consent before you set up the banner. Takes about ten seconds.
- Results in about 10 seconds
- No account needed
- Shareable report link
Other cookies set by Hotjar
| Cookie | Purpose | Duration |
|---|---|---|
| _hjSession_* | Holds the current session data for the recording. | 30 minutes |
| _hjIncludedInSessionSample_* | Marks whether this visitor was picked for the site's recording quota. | 2 minutes |