What you need
A plan that includes Code Injection. On the current plans that means Core, Plus or Advanced; on older plans, Business and the Commerce plans. Personal and Basic plans do not include it.
Add the code
Open Settings, then Advanced (on newer accounts Developer Tools), then Code Injection. Paste your BYOViral tracking code (in the dashboard, open Websites, choose your site and press Edit; the code is at the bottom of the page) into the Header box and press Save. It now loads on every page of the site.
Check that it works
Code Injection runs on the live site, not inside the editor. Log out or use a private window, open the site, and check the Realtime report in BYOViral.
Checkout pages
Squarespace does not run custom code on its checkout pages, so those visits are not counted. Every other page is.
Frequently asked questions
I'm on the Personal or Basic plan. Is there another way?
A code block on a single page can hold the script, but it only counts that page. For site-wide tracking you need a plan with Code Injection.
Do I need to change Squarespace's cookie banner?
BYOViral sets no cookies, but your banner settings depend on everything else your site runs.
Will it count blog posts and product pages?
Yes, every page that uses the site header.
Try BYOViral free
Privacy-first analytics with no cookies and a real free tier.
Create your free account →