Kirby3 Pageview Counter - Track Page view count and last visited timestamp

I am creating posts for my plugins to make it easier to find them using the forum search and not just the docs search.

By default this plugin will just write count and timestamp per page into an sqlite file since that is the fastest and best suited solution for concurrent requests. But you can also use fields (see readme) and store that directly on the page content file.

Echo the tracking 1x1px image anywhere in your template.

<?php echo $page->counterImage(); ?>

the plugin now includes two optional fields to view the data from the sqlite db.

in your page blueprint

    label: Page view count
    type: viewcount

    label: Page last visited
    type: lastvisited
    # format: 'DD-MM-YYYY'
1 Like