Squarespace
Add attribu.tech to your Squarespace site.
Setup
- In your Squarespace dashboard, go to Settings.
- Click Advanced in the left sidebar.
- Click Code Injection.
- 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.- 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
- Visit your Squarespace site in an incognito/private window.
- Open your browser's Developer Tools and go to the Network tab.
- Look for a request to
/js/script.jsand a POST to/api/events. - Check your attribu.tech dashboard. A new pageview should appear within a few seconds.
What's next
- Connect Stripe to attribute revenue to traffic sources.
- Track custom events like signups or button clicks.
- Proxy the script to avoid ad blockers.