How to count page views of my Octopress blog?

I would like to add a simple counter to my blog posts. Thus, each blog post has its own counter and can display how many times a click has been clicked.

How can I achieve this with Octopress? Any ideas?

Thanks in advance for any advice!

+5
source share
1 answer

The best way, in my opinion, is to set up Google Analytics on your blog by putting the Google Analytics code at the bottom of your file _layouts/default.html.

This will not allow others to know how many visits you received for the message, but you can personally see this data and much more.

, , API, JavaScript. , JavaScript, , . StatCounter ( , ).

-ish- , Jekyll. , Discus.

+6

All Articles