GoatCounter is an open source web analytics platform available as a free donation-supported hosted service or self-hosted app. It aims to offer easy to use and meaningful privacy-friendly web analytics as an alternative to Google Analytics or Matomo (in official guide).
Getting started
Sign up & Get your access code
Create new account in here
You will access your blog statistics at https://[my-code].goatcounter.com
.
Add your code to _config.yml
goatcounter_code: [my-code]
Check if your adblocker is blocking GoatCounter if you don’t see any pageviews.
Allow visitor counter
Sign in Goat counter from your browser, and enter the Settings tab.
Make sure Allow adding visitor counts on your website
is checked: