Closed grommasdietz closed 8 months ago
Sounds great! Do you wan't to create a PR? Otherwise I can look into this as soon as I find some time. I guess the best place for this check would be in the handle method where we also check for logged in users
Created a pull request!
It would be nice to have a kirby config option to enable/disable statistics. This would easily avoid counts on development.
We could disable on local environments (e.g.
config.example.test.php
):And enable it on server (e.g.
config.example.tld.php
):