Legal & Compliance

Embed a legal policy page on your Squarespace site

You can embed a legal policy page directly into your Squarespace marketing site by adding a single script tag. The script is self-hosted and does not require a cross-origin request, so it avoids CORS issues.

Before you start

Decide which legal document you want to embed and confirm it is published. Currently only the cookie policy and sub-processors pages are available.

Add the embed to a Squarespace page

  1. Open the Squarespace page editor for the page that will display the legal document.

  2. Add a code block where you want the document to appear. Paste the following HTML, replacing cookie-policy with the document slug you want to embed:

    <div id="ev-legal-cookie-policy"></div>
  3. Open the page’s Settings > Advanced > Page Header Code Injection and paste the script tag:

    <script src="https://www.eventuallyticketing.com/legal/cookie-policy.js"></script>
  4. Save the page and publish the site.

  5. Visit the live page and confirm the legal document appears inside the div.

What to expect

The script waits for the page to finish loading before injecting the rendered HTML. If the target div is missing, the browser console logs a warning:

Eventually legal embed: no element with id ev-legal-cookie-policy found on this page

The injected content inherits the host page’s typography and includes a link to the standalone version of the document.

Available embed URLs

Document

Script URL

Target div ID

Cookie Policy

https://www.eventuallyticketing.com/legal/cookie-policy.js

ev-legal-cookie-policy

Sub-processors

https://www.eventuallyticketing.com/legal/subprocessors.js

ev-legal-subprocessors

The embed is cached publicly for five minutes. If you update the document, changes may take up to five minutes to appear on the marketing site.

Standalone sub-processors page showing the page layout and content

What's next

Learn how the legal pages are published and how frontmatter controls visibility in How legal policy pages are published, or check the current URLs and statuses in Legal policy page reference.

Was this helpful?