Update 2025/02/03: See https://jcbhmr.com/2025/02/03/actually-maybe-need-cookie-consent/

๐Ÿ goatcounter.com

  1. It's free
  2. It counts unique page views
  3. It (probably) doesn't require a consent notice ๐ŸŽ‰

Seriously. It's much easier than setting up Google Analytics and configuring a cookie consent popup. It's also more user-friendly (due to the lack of said popup).

Here are some screenshots of the GoatCounter dashboard information that you could expect to see:

image

image

Live demo

GoatCounter is a page view counter. It does that quite well. It is not a marketing analytics tool to track user behavior with custom events across sessions. For me, that's perfect. If you have a demo site, if you're publishing a static site blog, if you're experimenting with new web APIs on GitHub Pages, or anything else where you just want a good page counter consider GoatCounter. So far I like it. The lack of a required GDPR consent notice is ๐Ÿคฉawesome. It's literally just a <script> tag with nothing else needed.

This is not legal advice.

P.S. GoatCounter also offers an <img> tracking pixel counting mechanism if you don't like JavaScript

๐Ÿ“š Read more from the GoatCounter author: