How can I count how many visitors visit a specific article on my blog? – Django Python

I thought that the best way to do that is with javascript to listen to an event on_click and send the data to the server to perform the count, I do not know if it is the best option or there is some other method that does not need javascript.