How do I inject JavaScript into Squarespace?

Installing the JavaScript on Squarespace

  1. Go to the Dashboard for your site.
  2. Click on the “Settings” gear.
  3. Click on “Code Injection”
  4. Paste the Qualaroo JavaScript into the “Footer” section.
  5. Don’t forget to save your changes!

Can you do coding on Squarespace?

The Squarespace platform is powerful and flexible, and you can solve most design challenges with built-in style options. To further customize your site, you can use custom code. We highly recommend that you have coding knowledge before adding custom code.

Why is my code not working in Squarespace?

If you’re having issues with code blocks, keep in mind: Your code might not render if you’ve added it to a page within an Index. To test, remove the page from the Index within the Pages panel and log out of your site. Ajax loading can cause issues with custom code.

How do I upload an HTML file to Squarespace?

To upload a new file:

  1. In the link editor, click in the URL field.
  2. Click the File tab.
  3. Click Upload File to choose a file from your computer, or drag a file into the Upload File area.
  4. After uploading, click the file in the list. A checkmark appears beside the chosen file.
  5. Click Save, then click Apply or Save.

Does Squarespace use JavaScript?

You can use any custom JavaScript file or library in your Squarespace Template. Squarespace provides a script loader that minifies and combines your custom scripts, which you can use if you like. Alternatively you can package your scripts using the preprocessor of your choice.

How do I embed a website in Squarespace?

Add other content to an embed block

  1. Edit a page or post, click an insert point, and click Embed.
  2. Enter the URL of the item you’re embedding.
  3. If the content doesn’t appear, click in the block editor on a computer (or Code in the Squarespace app) and paste an embed code manually into the text field.