Install on Squarespace
Add the Modovisa tracking script via Code Injection for site-wide analytics (recommended), or per page.
The easiest way to track every page is Squarespace’s Code Injection (site-wide). Paste your
Tracking Token in the HEADER field and save. You can also add the snippet only to specific pages if you prefer.
Make sure you’re editing the correct site and it’s published. Some templates/CDNs may require a quick refresh after saving.
Site-wide tracking — Recommended
- Sign up at modovisa.com.
- Set up tracking for your website to get your Tracking Token.
- Log in to your Squarespace admin.
- Go to Website → Pages.
- In the left sidebar, open Custom Code → Code Injection.
- Paste the Modovisa snippet into the HEADER field (see snippet below).
- Click Save.
<script>
!function(){
var s=document.createElement("script");
s.src="https://cdn.modovisa.com/modovisa.min.js";
s.async=1;
s.dataset.token="YOUR_TRACKING_TOKEN";
document.head.appendChild(s);
}();
</script>
Alternative — Track a single page
- Sign up at modovisa.com.
- Set up tracking for your website to get your Tracking Token.
- Log in to your Squarespace admin.
- Go to Website → Pages.
- Hover the page you want to track and click the ⚙️ Settings icon.
- Open Advanced.
- Paste the Modovisa snippet into Page Header Code Injection.
- Click Save.
Verify the installation
- Open the published site/page → DevTools → Network → search for
modovisa.min.js.
- Enable “Preserve log” and refresh—confirm the script loads.
- Check Modovisa Live to see your visit in real time.
Using a CDN or caching? After saving, wait a minute or clear cache and refresh the live site.