gjbae1212 / hit-counter

:rocket: Easy way to know how many visitors are viewing your Github, Website, Notion. :tada:
https://hits.seeyoufarm.com
GNU General Public License v3.0
985 stars 82 forks source link

GitHub Pages #28

Open Aarnavv opened 2 years ago

Aarnavv commented 2 years ago

Does this Counter work on GitHub Pages? I want to host a static newsletter website on Pages and want a counter to count the number of views. Will this be able to serve the purpose?

yanaerobe commented 1 year ago

Hi there,

For anyone's information, I don't think this (and other similar repos based on external images) would work on GitHub Pages, as Pages are static.

Yet you can try other API methods such as this one, which works well at least for me.

Please feel free to correct me webpage noob if anyone has a better way!

cornradio commented 3 months ago

would work you have to use different badage link for every url. and it's easy to accomplish! just change url param in the badage Hits