Install Trevilo on Squarespace

Add the Trevilo script to your Squarespace site with Code Injection. Squarespace offers Code Injection on its Core, Plus and Advanced plans.

Updated 18 Nov 2026

You add Trevilo to a Squarespace site with Squarespace's Code Injection panel. Your forms keep working as they do now, and each enquiry also comes to Trevilo.

Before you start

Squarespace says Code Injection is available on its Core, Plus and Advanced plans, and on some legacy plans. If you do not see Code Injection, check your plan in Squarespace.

Copy your script from Trevilo. Open Setup and go to Connect your website, then click Copy next to the script. You can also find it later on the Websites page: click Open next to your website.

Add the script

  1. In Squarespace, open your site and go to Pages.

  2. Open Website Tools, then Code Injection.

  3. Paste your Trevilo script into the Header field. Code here goes into the head of every page on your site.

  4. Click Save.

Check it is working

  1. Open a page on your live site that has a form.

  2. In Trevilo, click Check this site in Setup, or Check my site on the Websites page.

  3. Send a real enquiry through your form on the live site and check it appears in Trevilo under Enquiries.

Good to know

  • Test your form. Trevilo captures forms that are sent as a normal form on the page. Send a test from your live site after installing to make sure your form's enquiries arrive.

  • Embedded forms from other services are not captured. A form from another service shown inside a frame on your page cannot be read by the Trevilo script. To use Trevilo, the form needs to be part of your page itself.

  • Squarespace support cannot help with custom code. If something on your site looks wrong after adding code, remove the script from the Header field and save, then contact us.

  • Other addresses. Trevilo only accepts enquiries from your website's address, with or without www. If visitors also reach your site on another address, add it in Trevilo on the Websites page under Allowed addresses.

For what Trevilo does and does not capture, see Add Trevilo to any website.

Install Trevilo on Squarespace | Trevilo help