Blog › Analytics and session replay › What Should Session Replay Mask, and What Should It Leave Visible?
Noibu blog

What Should Session Replay Mask, and What Should It Leave Visible?

What should session replay mask, and what should it leave visible?

Session replay should mask anything that identifies a shopper or exposes payment data: names, email addresses, phone numbers, street addresses, card fields and passwords. It should leave visible what explains the session: product names, SKUs, prices, button labels, error messages and order numbers. Over-masking those makes replays useless for finding why shoppers struggled.

Last updated November 24, 2026

Session replay is only useful if you can see what the shopper saw, and only safe if it never captures what it should not. Most teams get the first part wrong by masking too much. A retailer in an active trial recently found that order numbers on its confirmation page were replaced with asterisks, which made it impossible to match a replay to an order. This guide sets out practical masking rules for an online store: what to hide, what to keep, and how to check your setup.

Key takeaways

  • Mask personal data and payment data: names, emails, phones, addresses, card numbers, security codes and passwords.
  • Keep product names, SKUs, prices, quantities, order numbers, button text and error messages visible.
  • Tools over-mask when they hide all text or all inputs by default, or when a custom rule matches too broadly.
  • Test masking on the pages that matter most: account, checkout, payment and order confirmation.

Part of: Noibu's CRO Agent

Why does session replay need masking rules at all?

Session replay tools record what happens in the browser so a team can watch a shopper's visit later. Without masking, that recording can include everything typed into a form or shown on an account page. Privacy law sets the principle: the EU General Data Protection Regulation requires in Article 5 that personal data be adequate, relevant and limited to what is necessary for the purpose, which is known as data minimisation. A replay used to find checkout friction does not need a shopper's home address.

Payment data has its own rules. The PCI Security Standards Council publishes the PCI DSS requirements that govern how card data is handled, and the simplest way to keep a replay tool out of that scope is to make sure it never captures card numbers or security codes at all. Our Quebec Law 25 checklist for session replay covers the regulatory side in more detail; this post focuses on the practical rules.

What should session replay always mask?

Mask every field and on-page value that identifies a person. On an online store, that means names, email addresses, phone numbers, shipping and billing addresses, dates of birth, and any loyalty or account number that links to a person. These appear in forms, but also as displayed text on account pages, order history and confirmation pages.

Mask all payment and credential data, without exception: card number, expiry date, security code, gift card PINs, bank details and passwords. Hosted payment fields from a payment provider usually sit in a cross-origin iframe that a replay tool cannot read, but any payment or password field that renders on your own page needs an explicit rule.

Mask free-text fields where shoppers might type personal details, such as order notes, gift messages and chat or contact forms. Shoppers put addresses and phone numbers in these boxes even when they are not asked to.

What should session replay leave visible?

Leave visible everything that explains what the shopper was trying to do and what went wrong. Product names, SKUs, variant labels, prices, quantities and discount codes show what was in the cart. Button labels, navigation text and headings show where the shopper clicked. Error messages and validation text show why a step failed.

Order numbers are the most common over-masking casualty. An order number is not personal data on its own, and it is the key that links a replay to an order in the store's back office, to a support ticket, or to a payment record. Masking it removes the easiest way to confirm whether a session that looked broken still ended in a purchase.

A practical masking checklist for an online store

General guidance, not legal advice. Confirm requirements for your markets with your privacy team.
Data on the pageMask or keepWhy
Name, email, phoneMaskIdentifies the shopper
Shipping and billing addressMaskIdentifies the shopper and where they live
Card number, expiry, security codeMask (never capture)Payment data under PCI DSS
Passwords, gift card PINsMask (never capture)Credentials
Order notes, gift messages, contact formsMaskShoppers type personal details here
Order numberKeepLinks the replay to the order and support ticket
Product names, SKUs, prices, quantitiesKeepShows what was in the cart
Button labels, headings, error messagesKeepShows where the shopper got stuck

Why do session replay tools over-mask?

Over-masking usually comes from defaults that hide all text or all form inputs, chosen because they are the safest setting for a vendor to ship. Those defaults protect privacy but strip out the details that make replays useful, such as prices and error messages.

The other cause is a custom rule that matches too broadly. A rule written to mask an account number can catch every element with the same CSS class, including order numbers and SKUs that share a template component. Reviewing rules after a theme change catches most of these.

How to check your session replay masking

  1. STEP 1

    Place a test order

    Use a test account with obviously fake details on a staging or live store.

  2. STEP 2

    Replay the full journey

    Watch the account, cart, checkout, payment and confirmation steps for that session.

  3. STEP 3

    Look for leaks

    Confirm no name, email, address, phone or payment value is readable anywhere.

  4. STEP 4

    Look for over-masking

    Confirm product names, prices, order number and error messages are still readable.

  5. STEP 5

    Repeat after theme changes

    Re-test whenever templates or checkout components change.

Masking also decides what AI tools can learn from replays. When an agent summarizes sessions instead of a person watching them, it can only reason about what was captured. Our guide on getting AI to analyze session replays shows why readable product and error data matters for that work, and our post on session replay without sampling explains why coverage matters as much as masking.

How does Noibu handle personal data in session replay?

Noibu does not record video of a shopper's screen. According to Noibu's help article on session reconstruction without PII, Noibu captures DOM mutations and the page's CSS and HTML, rebuilds the session on its servers, and blocks private information at the point of collection, so personally identifiable information is never collected or stored. Noibu's help center also states that Noibu does not set cookies.

Because product, price and error data stay readable, Noibu's CRO agent can use those sessions to find where shoppers struggle, size each opportunity by revenue, and draft a change or test for your approval, and the Bug Resolution agent can trace an error a shopper hit back to its root cause. The six Noibu agents, Bug Resolution, Performance, CRO, ADA, A/B Testing and ROAS, work in the Noibu console and in Claude, ChatGPT and other AI tools through Noibu MCP.

Frequently asked questions

What data should session replay mask on an ecommerce site?
Mask names, email addresses, phone numbers, street addresses, card numbers, security codes, passwords and free-text fields such as order notes and gift messages.
Should session replay mask order numbers?
Usually not. An order number is not personal data on its own, and keeping it visible lets you match a replay to the order and to any support ticket.
Does session replay capture credit card numbers?
It should not. Payment fields should never be captured, and hosted payment fields from a payment provider usually sit in an iframe that replay tools cannot read.
Why are prices and product names masked in my replays?
Many tools mask all text or all inputs by default, and broad custom rules can catch template components shared with product data. Narrow the rules so only personal and payment data is hidden.
Is session replay allowed under GDPR?
GDPR requires data minimisation, so a replay setup should capture only what is needed for its purpose. Check consent and legal requirements for your markets with your privacy team.
How does Noibu protect personal data in session replay?
Noibu reconstructs sessions from DOM and CSS data rather than video and blocks private information at the point of collection, so personally identifiable information is never collected or stored.

Good masking hides the shopper and keeps the story. Mask personal and payment data everywhere it appears, keep product, price, order and error details readable, and test the full checkout journey after every template change. Noibu blocks personal data at collection and its agents use what remains to find and size what is costing you orders.

Noibu is AI for ecommerce operations, the always-on optimization system that keeps online stores running at their best. A team of supervised AI agents finds what's broken, slow, or leaking revenue, does the work, and hands results back for human approval. Trusted by retailers like Free People, Guess, Liquid I.V., and Ariat.

Back to all blogs
‍
‍
See what Noibu’s AI agents would change on your store first.
Free website audit
Share

Keep your store running at its best, with AI agents that never clock out.