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.


Site-wide tracking — Recommended

  1. Sign up at modovisa.com.
  2. Set up tracking for your website to get your Tracking Token.
  3. Log in to your Squarespace admin.
  4. Go to Website → Pages.
  5. In the left sidebar, open Custom Code → Code Injection.
  6. Paste the Modovisa snippet into the HEADER field (see snippet below).
  7. 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

  1. Sign up at modovisa.com.
  2. Set up tracking for your website to get your Tracking Token.
  3. Log in to your Squarespace admin.
  4. Go to Website → Pages.
  5. Hover the page you want to track and click the ⚙️ Settings icon.
  6. Open Advanced.
  7. Paste the Modovisa snippet into Page Header Code Injection.
  8. 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.