GithubHelp home page GithubHelp logo

arnoson / kirby-stats Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 341 KB

Simple and privacy friendly web statistics for Kirby CMS.

License: MIT License

PHP 59.86% Vue 33.54% TypeScript 2.95% JavaScript 3.65%

kirby-stats's People

Contributors

arnoson avatar grommasdietz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kirby-stats's Issues

Improve bot detection

Right now there are still a lot of bots not filtered. Maybe switch to matomos device detector?

Use `views` not `visits` for pages section

Right now, when visiting the homepage and navigating to a sub page, no visits are shown for the subpage (because it was an internal navigation). Using views for showing the pages section in the stats panel area makes much more sense.

Rendering issues on panel area navigation

There are two rendering issues on the panel area navigation:

  1. The settings do not open after click
  2. The interval navigation width is too small

Tested in Safari (17.2.1), Firefox (120.0.1) and Chrome (120.0.6099.129) on MacOS (13.6.3). I'll investigate further and try to find a fix the next days!

Constrain date navigation

It shouldn't be possible to paginate to data in the future or before the data collection has begun.

K4 compatibility, database creation

Hi Arno

I was searching for a reduced and privacy friendly way of handling statistics. Your plugin looks promising! Is it already working with Kirby 4?

While I would like to check that by myself, I don’t quite understand how to setup the database right. Neither the example folder nor the documentation is giving any hint. Maybe the database is excluded with .gitignore by accident? Or should it be created? Anyway, I appreciate any hints and your help.

Thanks in advance
Jakob

Idea: Add config option to enable/disable statistics

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):

'arnoson.kirby-stats' => [
  'enabled' => false,
],

And enable it on server (e.g. config.example.tld.php):

'arnoson.kirby-stats' => [
  'enabled' => true,
],

Implement settings

Would be great to have settings with

  • adjust counter interval
  • delete old data

in the panel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.