Session Replay & Heatmaps · Updated 2026
Hotjar records full session replays — mouse movement, scrolling, clicks, and form input — plus heatmaps of visitor behavior. Using it is perfectly legal — but running Hotjar before a visitor consents is what creates exposure under California's wiretapping law.
Is this tracker on your site? Find out free in 30 seconds.
Real browser scan with evidence capture. No signup required to see results.
California's Invasion of Privacy Act (CIPA), Penal Code § 631, prohibits intercepting communications without all-party consent. Since 2022, a wave of plaintiff-firm litigation has applied this decades-old wiretapping statute to website session-replay, chat, and pixel tools — arguing that capturing a visitor's clicks, keystrokes, and form input without consent is an unlawful interception. Hotjar records full session replays (mouse, scroll, clicks, and form input), which California courts have treated as wiretapping under CIPA § 631 when done without consent.
Statutory damages run up to $5,000 per violation, and plaintiffs argue each affected visitor session is a separate count — which is why even small sites receive demand letters.
In a landmark action, the California Attorney General reached a $1.2M settlement with Sephora over its use of tracking technologies without honoring consumer privacy choices. Private CIPA suits over session-replay and chat tools have named retailers, healthcare providers, and SaaS companies alike. The common thread: trackers firing before the visitor had any chance to opt out.
// Only call this AFTER your CMP reports consent — never on initial load.
function loadHotjar(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:YOUR_HJID,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
}
// cmp.onConsent('analytics', () => loadHotjar(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='));Move the standard Hotjar snippet into a function and only call it from your CMP's consent callback.
Hotjar's official privacy/consent documentation →
RegSentry runs a real browser against your site, watches exactly when Hotjar (and every other tracker) first contacts a third-party server, and captures the evidence — including whether it intercepts keystrokes typed into your forms.
Is this tracker on your site? Find out free in 30 seconds.
Real browser scan with evidence capture. No signup required to see results.