Install on your site

Install VisitorLayer on Squarespace

Code injection, header.

Unverified3 minA Core, Plus, or Advanced plan
  1. Copy your install snippet

    In VisitorLayer, open your project. A new project opens on setup; for an existing one, go to SettingsInstallationOpen setup. Select Copy snippet. Your snippet already holds your project ID.

    HTML
    <script async src="https://visitorlayer.com/v1.js" data-project-id="your-project-id"></script>
  2. Open code injection

    In Squarespace, open the Code Injection panel. Search for Code Injection in your site's menu if you do not see it straight away.

    Code injection is available on the Core, Plus, and Advanced plans, and on some legacy plans.
  3. Paste the snippet into the header

    Paste the snippet into Header, which adds it to every page, and save.

  4. Check it worked

    Open your live site in a new tab and load any page. Back in VisitorLayer, project setup shows VisitorLayer is connected within a minute.

    Squarespace's preview may not run custom code. Check your live site in a private window instead.
    Passwords, card numbers, and other sensitive fields are never captured, on any platform.