feat: add matomo analytics tracking
All checks were successful
Build and deploy / deploy (push) Successful in 2m55s

This commit is contained in:
Iain Learmonth 2025-06-20 13:05:03 +01:00
parent bf1ebcc814
commit 91d589e528
3 changed files with 400 additions and 378 deletions

View file

@ -40,6 +40,7 @@ const config: Config = {
],
plugins: [
'docusaurus-plugin-matomo',
[
'docusaurus-plugin-openapi-docs',
{
@ -147,6 +148,12 @@ const config: Config = {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
matomo: {
matomoUrl: 'https://metrics.cleaninsights.org/',
siteId: '47',
phpLoader: 'matomo.php',
jsLoader: 'matomo.js',
},
} satisfies Preset.ThemeConfig,
};