PHPackages                             floriankarsten/kirby-plausible - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. floriankarsten/kirby-plausible

ActiveKirby-plugin[Utility &amp; Helpers](/categories/utility)

floriankarsten/kirby-plausible
==============================

Simple plugin providing Plausible tracking and iframe panel view to Kirby panel.

0.4.1(4mo ago)254.8k—0%8[2 issues](https://github.com/floriankarsten/kirby-plausible/issues)MITPHP

Since Apr 20Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/floriankarsten/kirby-plausible)[ Packagist](https://packagist.org/packages/floriankarsten/kirby-plausible)[ RSS](/packages/floriankarsten-kirby-plausible/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (17)Used By (0)

Kirby Plausible
===============

[](#kirby-plausible)

Simple plugin providing Plausible tracking and iframe panel view to Kirby panel.

[![CleanShot 2021-11-04 at 17 53 43](https://user-images.githubusercontent.com/4954323/140384031-efdf83d7-06a3-4ce3-a60b-3827fe63fd9c.png)](https://user-images.githubusercontent.com/4954323/140384031-efdf83d7-06a3-4ce3-a60b-3827fe63fd9c.png)

Installation
------------

[](#installation)

`composer require floriankarsten/kirby-plausible`or download from [releases](https://github.com/floriankarsten/kirby-plausible/releases)

How to use
----------

[](#how-to-use)

1. Create a shared link
2. Set `floriankarsten.plausible.sharedLink` in config.php ```
    // config/config.php
    'floriankarsten.plausible' => [
        // Required
        'scriptUrl' => 'https://plausible.io/js/XYZ.js', // replace with the URL of the Plausible site you want to use

        // Required
        'sharedLink' => 'https://plausible.io/share/yourwebsiteurl.com?auth=Jz0mCWTPu5opXi0sAgRrq',

        // Optional: To proxy Plausible through your own server (helps avoid ad blockers)
        // 'proxy' => [
            // 'enabled' => true,
            // 'cache' => 60 * 24, // 24 hours, optional
            // 'plausibleEndpoint' => 'https://plausible.io', // customize the Plausible instance when self-hosting, optional
        // ]
    ];
    ```
3. Add the following snippet inside your site's `` tag. Note that this will not generate any output for logged in users or when Kirby is in debug mode. ```
