Hello. I have built a private website where people from work can view work-related pictures.
The home page is really just a log in screen. And if you successfully log in, then you can navigate to various photo galleries.
I would like an easy way to track how many people visit my website, and also have some way to differentiate them (e.g. by OP address).
I have used Google in the past to track traffic on a business website, but am not sure it makes sense for this private site. Plus I don’t want to have to spend a bunch of time creating a new Google account, and so on.
Any suggestions on how I k=might track traffic and unique traffic to this private site?
By the way, this is on a web server where I have access to WHM and cPanel, so maybe that is how I track visitors?
Tracking by IP address is lovely until you get dynamic IP addresses, people using someone else’s device, terminal servers, multiple connections from the same remote site, and so on. As @m_hutley said, you have a login, so use that to track usage.
You could download and install Matomo. It requires PHP + MySQL.
Installing it takes 10 minutes, configuration is minimal, no sign up is required and the analytics data stays on your server. Make sure to download the free (self-hosted) version though, not the cloud solution.