Hit Counter

Easily count hits on a website by requesting a svg that displays a hit count.

Hits

Get the Image for the Page It's On

If you want to get the hit count image for a page you can edit and you want to count, add this line:

<img src="/count/tag.svg" alt="Hits">

Generate SVG Code For A Different Website

Selected Hit Counter

Image Tag

Markdown


Top 10 Domains Using This By Views

Domain Total Hits Counted
nitratine.net 504449
github.com 201086
trafficguide.github.io 132962
https%3A%2F%2Fsklearn.apachecn.org%2F 76444
laksa19.github.io 68214
https%3A%2F%2Fpytorch.apachecn.org%2F 33889
www.ffa.org 32468
https%3A%2F%2Fsklearn.apachecn.org%2Fdocs%2F0.21.3%2F 29579
http%3A%2F%2Fbook.5kcrm.com%2F 26173
https%3A%2F%2Fpytorch.apachecn.org%2Fdocs%2F1.0%2F 24981

About

This site allows you to request for a svg file that displays views for a url. This url can either be passed as a query parameter or the referrer (or referer) value in the header will be used.

These is also a small method to prevent the refresh count increase issue (if you want to call it an issue, I see it as annoying) which uses cookies.

This makes is very easy too keep track of views on static sites like Github Pages. (can also be uses on non-static sites as a general counter)

The source code of this server can be found at github.com/brentvollebregt/hit-counter.