Squarespace
Squarespace has a built-in place for analytics snippets called code injection. One paste there and Clickport tracks every page: pageviews, engagement, outbound clicks, downloads, forms, and frustration signals.
Plan requirement. Code injection is available on the Core, Plus, and Advanced plans, and on legacy Business and Commerce plans. The entry Basic plan does not include it. During a free trial, code injection works on every tier.
Install the snippet
- In Clickport, add your site and copy your tracking snippet:
<script defer data-domain="yoursite.com"
src="https://clickport.io/tracker.js"></script>
- In Squarespace, open the Code Injection panel. The quickest way is the search bar in your site's settings; it lives under Website Tools.
- Paste the snippet into the Header field.
- Save. Squarespace applies injected code immediately, no separate publish step.
- Open your site in a fresh tab, then check the realtime view in Clickport for your own visit.
Good to know
- The Header injection applies to every page of your site, including blog posts, product pages, and new pages you add later. Per-page header injection exists too (page settings, Advanced), but you do not need it for Clickport.
- Squarespace sites load each page normally, so there is nothing SPA-specific to configure.
- Injected code also runs on your built-in
squarespace.comsite address. If you use both it and a custom domain, keep numbers clean with the hostname allow list. - Exclude your own visits before a long editing session. See Exclude Your Visits.
- Newsletter blocks and form blocks are tracked as forms automatically. For conversions, add a goal on the confirmation page or the submit interaction.
Related
- Installation - The platform-independent guide
- Troubleshooting - If no data shows up
- Ecommerce Revenue - Revenue tracking for stores