Documentation
All documentation

Website monitoring

Install the website script on Squarespace

Add the generated tag through Squarespace Footer code injection, save it site-wide, and verify a public page outside the editor.

For
Squarespace owners, contributors with code access, and agencies
Typical time
10-15 minutes
Copy your website script

Before you start

  • A Squarespace plan and contributor role that allow Code Injection
  • The generated installation code for the connected domain
  • A publicly reachable page outside password or maintenance protection

Procedure

Step by step

  1. Copy the exact generated tag

    Open the connected Squarespace domain in DocAccessible and copy its Installation code.

  2. Open Code Injection

    Open the Squarespace Code Injection panel from site settings. If menu labels differ, search settings for Code Injection rather than adding a Code Block to page content.

  3. Paste into Footer

    Paste the complete script into the site-wide Footer field. Squarespace injects this field before the closing body tag on supported public pages.

  4. Save the setting

    Save the Code Injection panel. Keep the tag outside consent wrappers that prevent it from loading unless your governance policy explicitly requires that behavior.

  5. Open the public site

    Visit a normal page in a private window, not the editor preview. View page source and search for the exact data-site-key.

  6. Confirm verification

    Reload the public page once and return to DocAccessible. If the key is absent from source, confirm plan access, save state, page type, and site password settings.

Footer code injection is site-wide and is the correct location for the generated tag. A Code Block is page content and can be restricted by plan, editor state, or the page where it was placed.

Squarespace Footer value
<script async src="https://docaccessible.com/site/v1.js" data-site-key="YOUR_SITE_KEY"></script>

Squarespace limitations to check

Code Injection availability depends on the site plan. Squarespace also states that checkout pages do not support injected code, so verify monitoring on normal content, collection, or resource pages.

  • Test while logged out or in a private window.
  • Use a public page without a site-wide password.
  • Check whether a cookie or consent rule blocks the script before it reports.
  • Recheck after a template or domain migration.

Official Squarespace reference

Squarespace's current guide documents site-wide Footer injection, eligible plans, and page types that do not accept injected code.