feat: add matomo analytics tracking
All checks were successful
Build and deploy / deploy (push) Successful in 2m55s
All checks were successful
Build and deploy / deploy (push) Successful in 2m55s
This commit is contained in:
parent
bf1ebcc814
commit
91d589e528
3 changed files with 400 additions and 378 deletions
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue