Adding Plausible to MediaWiki
You can add the Plausible Analytics tracking code to your MediaWiki instance by downloading and activating the Plausible extension.
Clone https://github.com/octfx/mediawiki-extension-Plausible to your /extensions folder:
git clone https://github.com/octfx/mediawiki-extension-Plausible extensions/Plausible
Add wfLoadExtension( 'Plausible' ); to your LocalSettings.php.
Configure as needed.
A more expanded integration document can be found at the extensions README.md
Add privacy-first analytics to your MediaWiki site