Works on any plain HTML, static site, or shared header.
Paste the tag into the <head> of every page. If you have a shared header or layout, add it there once.
<head>
<script
defer
src="https://cloud.openwebtrack.one/script.js"
data-website-id="YOUR_WEBSITE_ID"
data-domain="yourdomain.com"
></script>
</head>For cookieless use script.cookieless.js. For self-hosted replace cloud.openwebtrack.one with your ORIGIN. Find your ID in dashboard -> Website -> Settings -> Installation.
No router setup needed for static HTML. For single-page apps the tracker watches history and counts client-side navigation automatically, so you can keep the same tag if you later add a router.
Deploy and open the site at the address you gave the dashboard. The realtime view shows the visit within seconds; if nothing appears, check that data-domain matches and that an ad blocker is not blocking the request.