A plugin for Kirby CMS to add a new panel area to manage your website activity statistics.
This plugin take a lot of inspiration on this plugin: https://github.com/floriankarsten/kirby-plausible
This plugin is free
Download the files and place them inside site/plugins/kirby-plausible
.
composer require pixelopen/kirby-plausible
You can add the plugin as a Git submodule.
$ cd your/project/root
$ git submodule add https://github.com/Pixel-Open/kirby-plausible.git site/plugins/kirby-plausible
$ git submodule update --init --recursive
$ git commit -am "Add Kirby plausible plugin"
Run these commands to update the plugin:
$ cd your/project/root
$ git submodule foreach git checkout master
$ git submodule foreach git pull
$ git commit -am "Update submodules"
$ git submodule update --init --recursive
You need to add the url of your website plausible.io page with the following line in your /site/config/config.php
:
return [
'pixelopen.plausible' => [
'plausibleLink' => 'https://plausible.io/share/your.website?auth=yourAuthID',
],
];
You can change the height of the iframe (default = 2000) with the following line in your /site/config/config.php
:
return [
'pixelopen.plausible' => [
'height_iframe' => 'iframe_height_value',
],
];