Everything about Hotjar

The _hjSession_* cookie

_hjSession_* is a cookie set by Hotjar, from Hotjar Ltd. Holds the current session data for the recording.

The * in the name stands for a part that changes from site to site, such as an account or measurement ID.

Set by

Hotjar

Duration

30 minutes

Category

Analytics

Needs consent

Yes

Does the _hjSession_* cookie require consent?

_hjSession_* 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 _hjSession_* 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, _hjSession_* included.

How to put _hjSession_* 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 _hjSession_* is never set before consent.

View all integrations
Free scan, no account

Not 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

CookiePurposeDuration
_hjSessionUser_*Stores a Hotjar user ID so the same visitor is recognised on later visits.1 year
_hjIncludedInSessionSample_*Marks whether this visitor was picked for the site's recording quota.2 minutes