Overview
Session replay lets you watch a visual recording of what your users see and do on your site. It captures the page as they experience it — clicks, scrolls, navigation, and errors — so you can debug issues and understand behavior without asking users to describe what happened.How it works
- Buffering — the SDK silently captures page activity in the background with minimal overhead. Nothing is uploaded during this phase.
- Triggered recording — when something notable happens (e.g., a JavaScript error or the user opens the chat widget), the buffer is flushed and full recording begins.
- Playback — recorded sessions are available in the Hacktionbase dashboard, where you can watch them with a timeline, event markers, and console logs.
What is captured
- Page structure and visual changes
- Mouse movements and clicks
- Scroll positions
- Form inputs (masked by default — see Privacy below)
- Console logs (log, info, warn, error)
What is NOT captured
- Cookies, localStorage, or network request/response bodies
- Cross-origin iframe content
- Canvas content
- Images are referenced by URL, not inlined
Privacy & GDPR
Session replay is designed with privacy as a priority:- Inputs are masked by default — text fields show
***in playback, so sensitive data like passwords or credit card numbers are never recorded - Custom masking — add
data-hb-maskto any HTML element to mask its text content in recordings - Block elements — add
data-hb-blockto exclude an element from recording entirely - Full opt-out — call
Hacktionbase.disableReplay()to permanently disable recording for a user (ideal for GDPR compliance)
Quotas
Session replay quotas depend on your plan. When the quota is reached, recording stops automatically — no data is lost, and the SDK resumes when quota is available again.Viewing replays
Replays are accessible from:- User profile → Sessions tab — see all recorded sessions for a specific user
- Sessions list — browse all recorded sessions across your workspace
- Session detail — full player with timeline, event markers, and console panel

