Where to Put JavaScript in Squarespace?

To add JavaScript code in Squarespace, follow these steps:

1. Log in to your Squarespace account and navigate to the website editor.

 

2. Click on the “Pages” option in the main menu. Then, under “Utilities,” select “Website Tools.”

 

3. In the Website Tools, select “Code Injection.”

 

4. In the “Header” section, you can add JavaScript code that you want to apply to the entire website. This code will be inserted into the tag of your website

 

5. After adding the code, click “Save.”

 

Remember to use caution when adding JavaScript code, as incorrect or conflicting code can cause issues with your website’s functionality.