kirby-stats
kirby-stats copied to clipboard
Routes and stats
I wanted to use routes but unfortunately they don’t work in combination with your great stats plugin.
Unfortunately, that's because I decided to use the router for a lot of functionality (mainly because I wanted to learn about the router, not a good design choice for a general plugin...).
For now, you can include the snippet (snippet('stats', array('param' => $page->uri()));
) directly on every page (e.g. in the header or footer) and get rid of the plugin's routes to get everything to work as expected.