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,
|
||||
};
|
||||
|
||||
|
|
758
package-lock.json
generated
758
package-lock.json
generated
File diff suppressed because it is too large
Load diff
13
package.json
13
package.json
|
@ -15,11 +15,12 @@
|
|||
"typecheck": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "3.8.0",
|
||||
"@docusaurus/plugin-ideal-image": "3.8.0",
|
||||
"@docusaurus/preset-classic": "3.8.0",
|
||||
"@docusaurus/core": "3.8.1",
|
||||
"@docusaurus/plugin-ideal-image": "3.8.1",
|
||||
"@docusaurus/preset-classic": "3.8.1",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"clsx": "^2.0.0",
|
||||
"docusaurus-plugin-matomo": "^0.0.8",
|
||||
"docusaurus-plugin-openapi-docs": "^4.4.0",
|
||||
"docusaurus-theme-openapi-docs": "^4.4.0",
|
||||
"prism-react-renderer": "^2.3.0",
|
||||
|
@ -27,9 +28,9 @@
|
|||
"react-dom": "^18.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "3.8.0",
|
||||
"@docusaurus/tsconfig": "3.8.0",
|
||||
"@docusaurus/types": "3.8.0",
|
||||
"@docusaurus/module-type-aliases": "3.8.1",
|
||||
"@docusaurus/tsconfig": "3.8.1",
|
||||
"@docusaurus/types": "3.8.1",
|
||||
"typescript": "~5.6.2"
|
||||
},
|
||||
"browserslist": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue