pixelopen / kirby-plausible
A plugin for Kirby CMS to add statistic from plausible.io
Installs: 53
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:kirby-plugin
Requires
- getkirby/cms: ^3.6.0||^4.0.0
- getkirby/composer-installer: ^1.1
This package is auto-updated.
Last update: 2024-12-06 18:43:58 UTC
README
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
Commercial Usage
This plugin is free
Installation
Download
Download the files and place them inside site/plugins/kirby-plausible
.
Composer
composer require pixelopen/kirby-plausible
Git Submodule
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
Options
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', ], ];