Website Builders & No-Code CMS

Installing Scoby Analytics on Squarespace

Like all Scoby integrations, this lightweight, client-side integration is carefully designed to prioritize visitor privacy. It fully complies with EU ePrivacy and GDPR regulations, while enabling you to exercise your legitimate interest in understanding how your website is being used.

Prerequisites

Before you begin, make sure you have:

Installation Guide

  • Log in to your Squarespace account and open the Website you want to integrate.
  • In the left-hand menu, go to WebsitePagesCustom CodeCode Injection.
Open Code Injection in Squarespace Advanced Settings

Logging Page Views

  • In the Header field, paste the following code snippet.
    Replace <WORKSPACE_ID> with your actual Workspace ID from Step 1.
<script>
(function () {
  const workspaceId = "<WORKSPACE_ID>";

  window.scoby = window.scoby || function () {
    (window.scoby.q = window.scoby.q || []).push(arguments);
  };

  const script = document.createElement('script');
  script.src = `https://${workspaceId}.s3y.io`;

  document.head.append(script);
})();
</script>
Paste the Scoby Analytics snippet into the Header field
  • Click Save at the top left to apply your changes.

Logging Conversions

If you’d like to log purchases or other conversions, you can inject an additional script on the Order Confirmation Page.

  • In the left-hand menu, go to WebsitePagesCustom CodeCode Injection.
  • Scroll down until you see the field "Order Confirmation Page" and paste the following code:
<script>
   window.scoby('logConversion', {
      goal: 'Purchase',
      amount: '{orderGrandTotal}',
   });
</script>
Add conversion logging to the Squarespace Order Confirmation Page

💡 You can adapt the goal parameter for other conversion types, such as "Sign-Up" or "Download".

Done 🎉

Scoby Analytics will now start collecting anonymous visit and (optionally) conversion data from your Squarespace site. You can view your live statistics in the Scoby Analytics Dashboard shortly after installation.

Previous
Webflow

Please note:Scoby does not provide legal advice. The information provided in this documentation is for general informational purposes only and does not constitute legal consultation. You should always consult your legal counsel or Data Protection Officer (DPO) to assess how applicable laws and regulations apply to your specific situation. If your DPO or legal team has questions about Scoby Analytics, they can contact us. We’re happy to provide detailed technical explanations.