Formleak
← All install guides

Install guide

Add Formleak to Squarespace

Paste it into Code Injection › Header.

No cookies. Never reads what people type.

  1. Step 1: Open Custom Code

    Open your site editor. At the bottom of the Pages panel, click Custom Code (on version 7.0: Website Tools).

  2. Step 2: Open Code Injection

    Click Code Injection.

    Screenshot coming soon
    Squarespace's Custom Code menu with Code Injection
  3. Step 3: Paste into Header

    Paste the Formleak line into the Header field. Squarespace adds it to the head of every page.

    Screenshot coming soon
    The Header field in Squarespace Code Injection with the Formleak script

    Paste it into the Header field of Code Injection.

    <script src="https://formleak.com/t.js" data-site="YOUR_SITE_KEY" defer></script>
  4. Step 4: Save

    Click Save.

  5. Step 5: 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

  • Code Injection needs the Core, Plus or Advanced plan (or some older plans). The Basic and Personal plans don't have it.
  • Squarespace's checkout pages don't run custom code, so forms on checkout aren't tracked.

Based on Squarespace's own help pages: Squarespace: using code injection. Menus change from time to time; if something looks different, their help pages have the latest.