GenClass is open source.Star on GitHub

GenClass Live Watch: see what visitors did.

Live Watch shows every screen open on your site right now. Recordings replays one visit, with what was typed into form fields hidden. It is a beta, off by default, because it sends page text out of the visitor's browser.

Part of @genclass/runtime 0.3.0.

What it is

A recording is the page rebuilt, not a video.

Live Watch is a part of GenClass, an open-source runtime for web apps. How it works. About GenClass.

The dashboard rebuilds the page from its recorded structure, in a sandboxed frame that runs no scripts.

Live Watch

ShowsEach visitor on your site now, as a phone, tablet or desktop screen with its route, city and country.

Recordings

ShowsPast visits, played at 1x to 8x speed with a timeline of clicks and problems.

Heatmap

ShowsVisits added up: where visitors click most, FCP and LCP for each page at the 75th percentile, and what to fix.

Also as text: npx genclass recordings, npx genclass live and npx genclass heatmap in a terminal (the genclass command), and through the MCP server for a coding agent.

Turn it on

Off until you add one option.

Once it is on, page text goes to GenClass's collector, which runs on Cloudflare. Your site's own privacy notice may need to say so. The privacy policy covers Live Watch on this website.

  1. Add GenClass

    npx genclass sets it up in observe mode, which only reports, with Live Watch off. The recorder is a separate chunk that loads only once Live Watch is on. See the setup guide.

  2. Set the option

    Put it where the setup wrote your app's token: watch: true in window.GENCLASS_CONFIG (the genclass.config file), data-watch="on" on a script tag, or watch=on in the genclass meta tag. A GenClass.init() call added later is ignored: GenClass has already started. It needs telemetry on and your app's token, so every telemetry opt-out and Global Privacy Control turn it off.

  3. Record only after consent

    Leave watch off and call runtime.watch.start() once the visitor agrees. runtime.watch.stop() stops and forgets the tab's recording.

What it sends

What is recorded, and what never is.

The page

DetailElements, attributes, text and styles, image and stylesheet addresses, and the page's own address without its query string. Links and images inside the page keep theirs. Then changes, the pointer, clicks, scrolling, window size and paint timings.

Typed text

DetailTyping in an input or textarea is sent as dots of the same length, at most 24. A contenteditable element, as rich-text editors use, is page text: what is typed there is sent as text unless you mask or block the element. Email addresses and runs of 9 or more digits in any text become dots.

Never recorded

DetailPassword, card and one-time-code fields, not even their length. Also hidden input values, scripts, and iframe, video and audio sources.

Your own rules

Detaildata-genclass-mask turns an element's text into dots, data-genclass-block keeps only its box, watch: { maskText: true } masks every text. data-genclass-unmask on a field or an ancestor sends what is typed there as text.

Problems

DetailFlags for rage clicks, errors and GenClass findings. An error's flag carries its name, its file and line, and the start of its message, which is text your app wrote. watch: { maskText: true } leaves the message out.

The visitor

DetailCountry and city, as Cloudflare names them. No IP address, user agent, postal code or coordinates is stored.

Limits

Where it stays off, and what it keeps.

EU, EEA, UK, Switzerland, Quebec

DetailNo visit is recorded, whatever the page asks. The collector refuses these requests.

Crawlers and automation

DetailNot recorded: crawlers, Lighthouse, PageSpeed, headless browsers and browsers driven by automation.

Kept

Detail30 days. The app's owner can delete any recording at once. Who can reach stored data: security overview.

Recordings a month, per app

DetailEvery plan has Live Watch. Free: 5,000. Solo Dev: 20,000. Startup: No monthly limit. Enterprise: No monthly limit. Past a plan's limit, nothing is recorded until the month ends. See pricing.

Not measured yet

What the beta has not measured.

How closely a replay matches the real page has not been measured on real apps, nor has the cost of copying a heavy page. Shadow DOM, same-origin iframes, canvas and video show as boxes. The heatmap has no INP or CLS.

Questions

Replay, passwords and training.

Is Live Watch a session replay tool?

It does that job for one visit, so review it as you would session replay. It is a beta part of the GenClass runtime.

Does it record passwords?

No. Password, card and one-time-code fields are never recorded, and what is typed into other input and textarea fields is sent as dots.

Are recordings used to train the model?

No. Nothing Live Watch records reaches the model, and recordings are never forwarded to other tools or used for decisions, training or evaluation.

Talk to sales

Tell us about your team and what you need. A person writes back, usually within a day.