Skip to content

Commit 7d89467

Browse files
committed
Add matomo
1 parent 2ebb9d5 commit 7d89467

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

docusaurus.config.js

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ module.exports = {
2222
searchParameters: {},
2323
searchPagePath: "search",
2424
},
25+
matomo: {
26+
matomoUrl: "https://swan.matomo.cloud/",
27+
siteId: "5",
28+
phpLoader: "matomo.php",
29+
jsLoader: "matomo.js",
30+
},
2531
navbar: {
2632
title: "Docs",
2733
logo: {
@@ -75,5 +81,6 @@ module.exports = {
7581
},
7682
},
7783
],
84+
"docusaurus-plugin-matomo",
7885
],
7986
};

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@mdx-js/react": "^1.6.21",
2929
"@svgr/webpack": "^5.5.0",
3030
"clsx": "^1.1.1",
31+
"docusaurus-plugin-matomo": "^0.0.6",
3132
"file-loader": "^6.2.0",
3233
"graphiql": "^2.4.0",
3334
"graphql": "^16.6.0",

yarn.lock

+5
Original file line numberDiff line numberDiff line change
@@ -5299,6 +5299,11 @@ dns-packet@^5.2.2:
52995299
dependencies:
53005300
"@leichtgewicht/ip-codec" "^2.0.1"
53015301

5302+
docusaurus-plugin-matomo@^0.0.6:
5303+
version "0.0.6"
5304+
resolved "https://registry.yarnpkg.com/docusaurus-plugin-matomo/-/docusaurus-plugin-matomo-0.0.6.tgz#3b85ec817465bd4b3b337d973b29edc6fd303489"
5305+
integrity sha512-zAhUz3eMaW2tUJsvV5guOMwb554swoVEeI55BZA10LVk3+PyfWYpBl2FEHITe0ofA8/vG6BTuTzGNSWxW70NwA==
5306+
53025307
dom-converter@^0.2.0:
53035308
version "0.2.0"
53045309
resolved "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768"

0 commit comments

Comments
 (0)