Skip to content

Configure

Privacy and masking

What is recorded, what is hidden by default, and how to mask more.

Before a report

Until someone clicks Start and allows tab sharing and the microphone, nothing leaves the page. The loader keeps a short rolling buffer in memory so a report can show what happened just before it: the last 100 console messages, 100 network requests, 10 clicks and 30 in-app route changes. It is discarded with the page.

The widget’s consent panel tells the user what will be recorded before they start.

What a report records

DataWhat is kept
Tab videoThe shared tab only. Sharing a window or the whole screen is refused.
AudioThe user’s microphone and the agent’s voice.
Page replayA DOM recording (rrweb) with the masking below.
ConsoleMessages, cut to 1,000 characters, with tokens, JWTs, email addresses and password or key values replaced by [REDACTED].
NetworkFor fetch and XHR: method, address without query string, status and timing. Never headers or bodies.
ClicksA CSS selector and up to 60 characters of a button or link’s text.
Page addressOrigin and path only. Query strings are dropped.
TranscriptWhat the user and the agent said, as text.
BrowserThe user agent string.
UserOnly what you pass to identify(): userId, accountId, plan.

Hidden by default

  • Every form field’s value is masked in the page replay. Typed text shows as * characters.
  • Password, card and one-time-code fields are hidden completely, even their length. A field counts as sensitive when its type is password, its autocomplete is cc-number, cc-csc, cc-exp, current-password, new-password or one-time-code, or its name or id looks like card, cvv, cvc, iban, ssn or pan.
  • Card numbers (13 to 19 digits that pass the Luhn check) are replaced with [REDACTED] wherever they appear in the replay text.
  • In the dashboard, hidden fields are drawn as a Hidden for privacy placeholder.

Being finalised

Sensitive-field detection, card-number redaction and the dashboard placeholder are being rolled out now. Until this note is removed, treat the first point (all form values masked in the replay) as the guarantee, and mark sensitive areas yourself with the attributes below.

Masking attributes

Add these to your own HTML. They apply to the element and everything inside it.

AttributeEffect in the replay
data-showbug-maskText is masked. Layout stays, so you can still see where things are.
data-showbug-blockThe element is replaced by an empty box of the same size. Clicks on it are not logged.
data-showbug-unmaskOn a form field: its value is recorded as typed. Card numbers are still redacted, and password, card and one-time-code fields stay hidden.
data-privateThe original name for data-showbug-block. It keeps working.
<!-- Hide a customer's address but keep the layout -->
<div data-showbug-mask>12 Example Street, Pune</div>

<!-- Replace a whole panel with a placeholder box -->
<section data-showbug-block>…billing details…</section>

<!-- A harmless field you want to see in replays -->
<input name="search" data-showbug-unmask />

The tab video

The video is a real recording of the shared tab’s pixels, so page attributes cannot change what was on screen after the fact.

Today: the video shows what the user sees

The masking above applies to the page replay, not to the video. Covering sensitive fields in the video before it is uploaded is being built. Until then, do not load the widget on pages that show data that must never be recorded, such as a card entry form.

Who processes the data

  • Showbug stores recordings and replays in Amazon S3 in the Mumbai region (ap-south-1). See the FAQ for retention.
  • OpenAI runs the voice agent. During a report it receives the user’s voice and a reduced screenshot of the tab (768 pixels wide) at most every 4 seconds, when the screen changes. After the report, the transcript, console errors, failed requests, clicks and page address are sent to it to write the summary.
  • Your tracker (Linear or your webhook) receives the ticket: summary, steps, page address, identified user, browser, a transcript excerpt, console errors, failed requests, the last clicks and a link to the session. The link needs a dashboard sign-in.