Formleak
← All install guides

Install guide

Add Formleak to Plain HTML

Paste the line before </head> on every page.

No cookies. Never reads what people type.

  1. Step 1: Open your page template

    Open your HTML files, or better, the shared header or layout file every page uses.

  2. Step 2: Paste the line before </head>

    Paste the Formleak line just above </head>. Do this on every page with a form, or once in the shared template.

    Paste it just before </head>.

    <script src="https://formleak.com/t.js" data-site="YOUR_SITE_KEY" defer></script>
  3. Step 3: Upload your files

    Upload or deploy the changed files. If your host or CDN caches pages, clear the cache.

  4. Step 4: Check it's working

    Open a page on your live site that has a form and click into a field. Then open your website in Formleak: the setup check turns green as soon as data arrives.

    Open the setup check

Good to know

  • Pages without the line aren't tracked.
  • If your site sends a Content-Security-Policy header, allow scripts and connections to https://formleak.com.