How to track visitors on Squarespace.
Squarespace calls it Code Injection. One paste into the header and every page is covered.
What you need
- • A Squarespace site on a plan that includes Code Injection — it is not available on the entry-level Personal plan on all versions.
- • Owner or administrator permissions.
- • A VisitorPing site key, in the form vp_ABC23456 — the prefix vp_ and eight characters. The alphabet leaves out I, O, 0 and 1, so there is nothing to misread when copying it.
Install it
- 1
Open Code Injection
In your site, go to Settings → Advanced → Code Injection.
- 2
Paste into Header
Put the tag in the Header box, with your own key in place of vp_ABC23456. Leave anything already in that box alone — other tools live there too.
<script defer crossorigin="anonymous" src="https://cdn.visitorping.com/site/vp_ABC23456.js"></script> - 3
Save and check the live site
Save, then open your published site in a private window. Navigate between two pages and confirm both appear in Live Radar.
What you will actually see
Per visit: the city and region the network resolves to, where the visitor came from, the page they landed on, their device and browser, and whether they have been before.
You do not get a name, an email address, or an identity. Nobody can give you that from a page view, whatever the marketing says. Geolocation resolves a network rather than a doorstep, so a visitor on a VPN or a mobile network can appear in the wrong city entirely. Treat location as a hint.
You are collecting visitor data, so say so in your privacy notice and check which consent rules apply where your customers are — a question for your own legal advice, not for a setup guide.
If it is not working
- There is no Code Injection option
- Your plan does not include it. Squarespace gates custom code behind its higher tiers, and the panel is hidden rather than disabled.
- It works in the editor but not on the live site
- Test the published domain rather than the editor. Squarespace's preview does not reproduce injected code reliably.
- You removed another tool's script by accident
- The Header box is shared. Paste below what is already there rather than replacing the contents.
Find what is costing you search clicks, then watch the fix work.
VisitorPing reads your own Search Console data for the pages losing clicks, then rings your phone the moment someone lands on your website.