Prynt Replay docs

Install Prynt Replay

One script tag or one npm package. Every input is masked in the browser before it leaves, and again on our servers.

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/js
import 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.

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

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