├── .gitattributes ├── composer.json ├── index.css ├── index.js ├── index.php ├── readme.md └── snippets └── plausible.php /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "floriankarsten/kirby-plausible", 3 | "description": "", 4 | "type": "kirby-plugin", 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "Florian Karsten", 9 | "email": "code@floriankarsten.com" 10 | } 11 | ], 12 | "require": { 13 | "getkirby/composer-installer": "^1.1", 14 | "getkirby/cms": "^4.0 || ^5.0" 15 | }, 16 | "autoload": { 17 | }, 18 | "config": { 19 | "optimize-autoloader": true 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /index.css: -------------------------------------------------------------------------------- 1 | .plausible-iframe { 2 | width: 1px; 3 | min-width: 100%; 4 | height: 1600px; 5 | margin-inline: -1.5rem; 6 | color-scheme: light; 7 | background-color: transparent; 8 | outline: none; 9 | } 10 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | panel.plugin("floriankarsten/plausible", { 2 | components: { 3 | "k-plausible-view": { 4 | template: ` 5 | 6 | 7 |