Squarespace
Header code injection, applied site-wide.
1. Open Code Injection
Go to Settings → Advanced → Code Injection.
2. Paste into Header
Paste this into the "Header" box and save.
HTML
<script defer data-site="YOUR_SITE_ID" src="https://api.shonylabs.com/js/YOUR_SITE_ID.js"></script>Code Injection isn't available on Squarespace's entry-level Personal plan — you'll need to be on one of their higher tiers to see this setting.