Here you can find the
HTML, JS, python file you need to run the Page view tracker described in
this blog post.
My example needs
flask to log the traffic but you can use anything else. To set it up:
pip3 install flask
python3 server.pywhere the file is located