install
Analytics for HTML, in one tag
A 1.2 KB core, no cookies and no stored IP. Replace YOUR_TOKEN with your site token to measure visits and sources, and connect Stripe, Lemon Squeezy, Paddle, or the revenue API to see the revenue behind them.
Copy your site token
It is in Dashboard → Settings → Install, inside the snippet. Before launch, you get a dashboard once we pick your account for the beta.
Paste the snippet
Once, in a place every page loads. Replace YOUR_TOKEN with your token.
<head> <script defer src="https://api.getvero.dev/ t.js ?s=YOUR_TOKEN"></script> </head> Paste the tag once inside the <head> of every page you want to track.
Deploy and open your site
Vero counts visits to your domain and its subdomains, so a localhost test never shows up. With the snippet live, open your site in another tab: your dashboard notices the first visit by itself.
How the tag behaves on a static HTML site
On a site built from plain HTML files, every link loads a fresh document. The core sends a pageview as soon as the script loads, so each of those loads is counted with no module at all. The SPA module only adds pageviews when a script changes the path through the History API, which a static site never does, so you can leave it off.
The script finds its site token in its own src attribute. That means the line you paste is identical on every page: no per-page variables, no build step, nothing to install from npm. It loads with defer, so the browser keeps parsing your HTML while it downloads.
A link to an anchor on the same page, such as #pricing, does not load a new document and is not a new pageview. A page the browser restores from its back/forward cache is, because the visitor is looking at it again, and the core sends it once more.
If you set a Content-Security-Policy in a meta http-equiv tag rather than a server header, Check my site reads it there too and tells you which directive needs the Vero host.
Troubleshooting
Some pages show visits and others never do
Without a shared template, each HTML file needs its own copy of the tag, and a page that lacks it is a page Vero never hears from. Search your files for the script line and add it to the head of any page that is missing it. Pages generated later, such as a new blog post, need it too.
Frequently asked
Do I need a build step to install Vero on a static site?
No. It is a single script tag with defer, pasted into the head. There is nothing to compile and nothing to install.
Does jumping to an anchor count as a pageview?
No. Moving to #section on the same page loads no new document, and the SPA module ignores hash changes as well.
Can I check the tag on my machine before it goes live?
Yes. In the dashboard, under Testing on localhost or a preview?, press Start a test and open your local page. Vero confirms the snippet works on that host and leaves the test visit out of your numbers.
After the tag
- Connect your revenuePaste one webhook URL into Stripe, Lemon Squeezy or Paddle and each sale arrives with its visit.
- Send your own eventsA signup, a click on a plan: point a goal at the event and get its conversion rate.
- Pick your modules9 optional modules, such as SPA routes, scroll or Web Vitals, turned on per site.
Ask for a place in the beta.
Anyone can join the list. The accounts we pick get Pro free for the whole beta.