To add the initialization scripts into your head tag of your website page:
Open the Developer tools panel.
Click Code Injection.
Add the Code Snippet to the header. Do not remove any existing code - simply add the OTS code block on a new line.
After adding your code, hit Save.
To add the code reference to a specific spot on your website:
Add a content block wherever you wish on your website.
In the menu when you add content block - choose ‘Code’
Click the pencil icon to edit the Code within this block
Paste your code reference in this modal and hit Save.
Notes:
Sometimes on Squarespace preview, the widget will appear as pulsing gray lines within a white box. Publish your site and view the live version in order to see if content is appearing.
Do not add more than one code reference to a page - the widget will not render correctly and content will not appear.