Install Analytise on any HTML site

One script tag before the closing head. Works on static pages, hand-rolled sites and anything that serves HTML.

Paste the snippet

Open your HTML file and paste the snippet just before </head> so it never misses the first pageview:

index.html
<script
  defer
  data-domain="yourwebsite.com"
  data-site-id="YOUR_SITE_ID"
  src="https://www.analytise.com/js/tracker.js"
></script>

Grab the exact snippet with your ids from Settings → Tracking code after adding your website in the dashboard.

Verify it works

  1. Open your website in a new tab.
  2. The dashboard shows your visit under online within a few seconds (live visitors update every ~15s).
  3. Nothing showing? See Troubleshooting.

Next guide

Next.js