PHP code example of johannschopplich / kirby-plausible
1. Go to this page and download the library: Download johannschopplich/kirby-plausible library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
johannschopplich / kirby-plausible example snippets
// config.php
return [
'johannschopplich.plausible' => [
'sharedLink' => '<your-plausible-shared-link>',
// Only needed if the frontend URL differs from the index URL of the Kirby instance
'domain' => '<your-frontend-domain>'
]
];
snippet('plausible')