

The counter type is really useful for these situations.


I want SimpleAnalytics compatible statistics but with a visit that takes actual user behavior into consideration. So i wanted to fine-tune the log parsing a little. Furthermore, people can visit the same site at different times a day, which might be different visits (or sessions) to me. Given this definition you end up with two visits for one actual session if this crosses the date border. HTTP requests with the same IP, date, and user agent are considered a unique visit. But as a logparser GoAccess defines visits in the following way:Ī hit is a request (line in the access log), e.g., 10 requests = 10 hits. In earlier attempts to find a good web log analyzer i came across GoAccess which i really like, but didn't have support for caddy logfiles then, if i remember correctly. (While writing this article I discovered it's probably the Caddy logformat mentioned below).
#PYTHON GHOST BROWSER SOFTWARE#
For each request the software appends a single line with a complete JSON document to the logfile. Ghost doesn't log in the ordinary access.log formats. This is a metric which has no standard in logparsing software.Īs we ghost websites, there's a little catch to logging. I really appreciate what they have built, but it lacks one feature which they purposefully will not support because of their privacy-first principle: how long a user has browsed a website. Very importantly they don't show an average but give the median įurthermore, because they host it, i don't have to build and host all of that goodness myself. They discard bots, they actually adhere to the the do-not-track header and to keep stats a little realistic, they disregard browsing activity that was less than 5 seconds to avoid page-bounces. It's privacy focus from the ground up and therefor doesn't require a cookie banner. They provide a very intuitive analytics page which our customers appreciate.

At EducationWarehouse we use SimpleAnalytics these days to monitor our website usage.
