Sign up free

Documentation

Getting started with WebStat: create an account, add a website and install the tracking script.

Create an account and add a website

Sign up at app.webstat.net/signup and confirm your email address. Log in, open Websites, choose Add website, then open the website's settings to copy its tracking code. Each account can add up to 10 websites.

Add the tracking script

Paste this into the head of every page, replacing the site ID with the one from your dashboard:

<script defer src="https://cdn.webstat.net/script.js" data-website-id="YOUR-SITE-ID"></script>

Track an event

Add a data attribute to any element. A click is recorded as an event with that name:

<button data-umami-event="signup-click">Sign up</button>

Exclude your own visits

Open your site in your own browser, open the developer console and run localStorage.setItem('umami.disabled', 1). Visits from that browser are then ignored.

Content management systems

Any platform that lets you add code to the page head works: WordPress (a header and footer code plugin), Ghost (Code injection), Shopify (theme.liquid), Squarespace and Webflow (custom code settings) and any static site generator.

Umami documentation

WebStat uses Umami, so the Umami documentation applies to tracking and events.