ScaleBun
Features · Session Replay SDK

Session Replay SDK

The ScaleBun SDK records session replays on React Native and in the browser — form inputs masked and passwords blanked by default, with sampling you control and DOM reconstruction that survives the crash that killed the tab. For the strategic overview of how replay ties into analytics and monitoring, see Session Replay & Experience Analytics on the platform.

Read the session replay docs Session replay on the web Talk to the team


Capabilities

What session replay sdk gives you

Session replay with touch tracking, screen timeline, and privacy masking by default — on React Native and in the browser.

  1. Masking you control, with the risky fields already covered

    Typed form inputs are always masked and passwords always blanked, whatever else you configure. Beyond that you decide: mask all visible text, mask by CSS selector, or tag any element with data-scalebun-mask. Strict mode adds heuristic redaction of emails, card numbers and SSNs to whatever text is captured.

    • Inputs always masked
    • Selector masking
    • Strict PII redaction
  2. Record what is worth recording

    Four modes — off, onError, sampled and always — with a per-session rate. The decision is deterministic from the session id using the same hash the backend uses, so the server re-derives it instead of trusting the client. A session that is not sampled installs nothing at all.

    • onError mode
    • Deterministic sampling
    • No cost when unsampled
  3. Survives the crash that killed the tab

    With persistBuffer enabled the pre-roll is mirrored to IndexedDB, so a crash that takes the tab down still yields the moments leading up to it on the next load. A clean, error-free close discards it.

    • IndexedDB pre-roll
    • Crash-safe
  4. One timeline, browser and app

    DOM reconstruction in the browser — including cross-origin iframes — and touch tracking with a screen timeline on React Native. Both land on the same user timeline as the errors and events around them.

    • DOM replay
    • Cross-origin iframes
    • Touch tracking
The SDK

Built as one lightweight SDK, not five disconnected tools.

One install brings the whole platform online, with the plumbing — queueing, batching, retries, and masking — handled for you.

  • One installation
  • OTA bundle updates
  • One identity layer
  • One event schema
  • Offline queueing
  • Batching & retrying
  • Privacy controls
  • Masking by default
  • iOS · Android · RN
  • Server-side APIs
  • Webhooks
  • Data export
App.tsx
FAQ

Session Replay SDK — common questions

Privacy-first by default: text and sensitive screens can be masked before data ever leaves the device, so replays are captured without exposing PII.

Install once. Understand everything.

See every journey. Fix every issue. Grow every user.

One SDK, one timeline, and one dashboard for marketing, product, and engineering.