pixelopen/kirby-plausible
最新稳定版本:2.0.1
Composer 安装命令:
composer require pixelopen/kirby-plausible
包简介
A plugin for Kirby CMS to add statistic from plausible.io
README 文档
README
Plausible Bundle for Kirby CMS
This bundle allows you to integrate Plausible analytics statistics into the Kirby CMS administration interface via an embedded iframe.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', ], ];
统计信息
- 总下载量: 172
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-29