Add plausible script to Dokuwiki

How to add Plausible tracking to Dokuwiki

Add plausible script to Dokuwiki

I couldn't find a guide on the internet, so I created this page.

Add a new site in Plausible as usual, then copy and paste the Plausible-script to the following file in the Dokuwiki installation directory:

dokuwiki/conf/meta.html

Create the file if necessary. This will add the script to the correct location in <head> section of the html page. This feature is documented on the include hooks page.

Also make sure that the file permissions are correct and you are good to go!