1. Add the script
Copy the snippet from the console (Replay → Install): it already carries your public key and website. Put it before </head> on every page.
<script src="https://api.pryntid.com/cdn/prynt.umd.js" async
onload="window.pryntReplay=Prynt.replay({publicKey:'pk_live_YOUR_PUBLIC_KEY',website:'example.com'})"></script>Or with a bundler:
npm install @pryntid/jsimport Prynt from '@pryntid/js';
const replay = Prynt.replay({ publicKey: 'pk_live_YOUR_PUBLIC_KEY', website: 'example.com' });
// consent: false until your banner allows it, then replay.setConsent(true) 2. Mask what you need
Every <input>, <textarea> and <select> is always masked. Mask more text, or leave whole areas out:
<input name="iban"> <!-- every input is always masked -->
<div data-prynt-mask>Account 4411…</div> <!-- text masked -->
<div data-prynt-block>…</div> <!-- not recorded at all -->Site-wide rules (mask all text, selectors, URLs not to record) live in Replay → Privacy & settings. A page can only mask more than the site policy, never less.
3. Consent
Nothing is recorded until consent is given when your site asks for explicit consent; Global Privacy Control always wins. Pass consent: false and call replay.setConsent(true) from your banner.
Next steps
- Identify users and companies: find a person's or a customer account's sessions.
- Replay in your own admin: list sessions by company or user and play them inside your own back office.
- API reference: sessions, Py summaries, issues, export, raw events.
Mobile apps: iOS, Android, React Native and Flutter SDKs record to the same console. See SDKs.
Next: Identify users and companies
Updated 2026-11-11 · API reference