How to display views number on each article in the blog

Good day all,

I want to add views number on the blogs how to do this?
you can check my source code on github

Thank you in advance.

you can’t really do this as it is a static site - there is no db recording anything.

It could be done probably by setting up an AWS lambda function or something similar, but jekyll on its own has no ability to count anything.

A long time ago I saw someone who was able to get the info out of google analytics which was an interesting idea but I have not seen anyone else do anything like that.

Thank you, I will check google analytics.