Squarespace

Add Besökskollen via Code Injection in Squarespace.

Difficulty: Easy

Takes about 3 minutes

Requires Business plan or higher

Code Injection is only available on Squarespace Business plan and above.

Step 1: Open Code Injection

  1. 1. Log in to your Squarespace site
  2. 2. Go to Settings → Advanced → Code Injection

Step 2: Add the script

  1. 1. In the Header field, paste the script:
<script defer
  data-site-id="DIN-SAJT-ID"
  data-api="https://besokskollen.se"
  src="https://besokskollen.se/script.js">
</script>

Step 3: Save

  1. 1. Click Save
  2. 2. Done! The script is now active on all pages

Verify the installation

Visit your site and open the browser developer tools (F12). In the Network tab, filter by "collect" - you should see a request to besokskollen.se/api/collect.