Squarespace

Add attribu.tech to your Squarespace site.

Setup

  1. In your Squarespace dashboard, go to Settings.
  2. Click Advanced in the left sidebar.
  3. Click Code Injection.
  4. In the Header section, paste the tracking script:
<script
  defer
  data-website-id="YOUR_SITE_ID"
  data-domain="yourdomain.com"
  src="https://attribu.tech/js/script.js"
></script>
Replace YOUR_SITE_ID with your actual Website ID from attribu.tech. Replace yourdomain.com with your website's root domain.
  1. Click Save at the top of the page.
Code Injection requires a Squarespace Business plan or higher. Personal plans do not support custom code injection.

Verify installation

  1. Visit your Squarespace site in an incognito/private window.
  2. Open your browser's Developer Tools and go to the Network tab.
  3. Look for a request to /js/script.js and a POST to /api/events.
  4. Check your attribu.tech dashboard. A new pageview should appear within a few seconds.

What's next

Copied