Everything about Hotjar

The _hjIncludedInSessionSample_* cookie

_hjIncludedInSessionSample_* is a cookie set by Hotjar, from Hotjar Ltd. Marks whether this visitor was picked for the site's recording quota.

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

2 minutes

Category

Analytics

Needs consent

Yes

Does the _hjIncludedInSessionSample_* cookie require consent?

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

How to put _hjIncludedInSessionSample_* 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 _hjIncludedInSessionSample_* 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
_hjSession_*Holds the current session data for the recording.30 minutes