定制 medienbaecker/kirby-plausibly 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

medienbaecker/kirby-plausibly

Composer 安装命令:

composer require medienbaecker/kirby-plausibly

包简介

A native Plausible Analytics dashboard for the Kirby Panel

README 文档

README

A native Plausible Analytics dashboard for the Kirby Panel.

Adds an Analytics view to the Panel that mirrors the Plausible dashboard using native Kirby components.

The Analytics dashboard in the Kirby Panel

Features

  • Six KPI stats (unique visitors, total visits, pageviews, views per visit, bounce rate, visit duration) with period-over-period change
  • Visitors-over-time chart; click a KPI stat to chart that metric
  • Breakdown cards with tabs: Top sources (Channels / Sources / Campaigns), Top pages (Top / Entry / Exit), Locations (Countries / Regions / Cities), Devices (Browser / OS / Size) and Goal conversions
  • Live "current visitors" count
  • Page rows link straight to the matching page in the Panel

Requirements

  • Kirby 5
  • A Plausible instance (Cloud or self-hosted / Community Edition) with a Stats API key

Installation

Composer

composer require medienbaecker/kirby-plausibly

Manual

Download and copy this repository to site/plugins/kirby-plausibly.

Configuration

Create a Stats API key in your Plausible account settings, then add to site/config/config.php:

return [
    'medienbaecker.plausibly.url'   => 'https://plausible.io', // your Plausible instance
    'medienbaecker.plausibly.site'  => 'example.com',          // the site_id / domain
    'medienbaecker.plausibly.token' => 'your-stats-api-key',
];

The Analytics view only appears once all three options are set. The API token stays on the server — the Panel talks only to the plugin's own API routes.

Tracking

This plugin only renders the dashboard. To collect data, add Plausible's own tracking snippet to your site's <head> — copy it from your Plausible dashboard under Site Settings → Installation.

Licensing

Kirby Plausibly is a commercial plugin. You can use it for free on local environments but using it in production requires a valid licence. You can pay what you want, the suggested price being 20€ per project. Feel free to choose "0" when working on a purposeful project ❤️

Buy a licence

Credits

Inspired by kirby-matomo by Sylvain Julé, which brought a native Matomo dashboard to the Panel. This plugin does the same for Plausible Analytics.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-06-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固