Yes, you can add code into Squarespace. To do so, you’ll need to use the Code Injection feature.
This feature can be found in the Advanced tab of the Settings panel. Once you’ve added your code, it will be automatically injected into the site’s header or footer.
Here’s a step-by-step guide:
1. Go to Settings.
2. Select the Advanced tab.
3.
Scroll down to Code Injection.
4. Enter your code in the Header or Footer text box.
5. Click Save.
PRO TIP: Adding code into Squarespace can be risky and may result in unexpected changes to your site. If you are not comfortable working with code, we recommend working with a developer or contacting our support team for help.
And that’s it! You’ve now successfully added code to your Squarespace site.