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:
<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
- Open your website in a new tab.
- The dashboard shows your visit under
onlinewithin a few seconds (live visitors update every ~15s). - Nothing showing? See Troubleshooting.
Next guide
Next.js