Documentation · Prynt Reveal · Install

Plain HTML

One line in the `<head>` of every page. Works with any server-rendered template (Django, Rails, Laravel, Go templates…) and any static site generator.

Add the snippet

  1. In the console open Websites → your site → **Install** and copy the snippet; it already contains your public key and domain.
  2. Paste it inside <head> of your base template or of every page. async keeps it off the critical path.
  3. Deploy. The first pageview is sent as soon as the script loads.
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Example</title>
    <script src="https://api.pryntid.com/cdn/prynt-reveal.umd.js" async
      onload="PryntReveal.reveal({publicKey:'pk_live_YOUR_PUBLIC_KEY',website:'example.com'})"></script>
  </head>
  <body>…</body>
</html>

Notes

  • Multi-page sites need nothing else; every page load is a pageview and the session id in localStorage groups them.
  • Have a contact or demo form? Add forms: ['#demo-form'] to the options to capture the email and name on submit (with consent) — the only two fields ever read.
  • Your own login? Call PryntReveal.reveal(...).identify({ email }) after sign-in.

Run the Test Script

  1. In the console go to Websites → your site → **Test Script**. It fetches your page from our side and runs the seven checks: snippet present, public key, website match, CSP script-src, CSP connect-src, consent manager, script position and www redirect.
  2. Open your site with ?prynt_debug=1 to see the live panel from the browser's point of view (consent, CMP, storage, cspBlocked, last send).
  3. Visit two or three pages. The pulse in the console shows the last event within seconds; the first companies appear as soon as a business network visits.

A cspBlocked: true or a failed CSP check means your Content-Security-Policy needs the two lines from CSP and storage. Running a consent manager? Consent explains what is detected and what is sent before the visitor decides.

Next: WordPress

Last updated 2026-11-03 · Limits · Visitor opt-out