Skip to content

Commit

Permalink
Add matomo
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodyowl committed Nov 15, 2023
1 parent 2ebb9d5 commit 7d89467
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ module.exports = {
searchParameters: {},
searchPagePath: "search",
},
matomo: {
matomoUrl: "https://swan.matomo.cloud/",
siteId: "5",
phpLoader: "matomo.php",
jsLoader: "matomo.js",
},
navbar: {
title: "Docs",
logo: {
Expand Down Expand Up @@ -75,5 +81,6 @@ module.exports = {
},
},
],
"docusaurus-plugin-matomo",
],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0",
"clsx": "^1.1.1",
"docusaurus-plugin-matomo": "^0.0.6",
"file-loader": "^6.2.0",
"graphiql": "^2.4.0",
"graphql": "^16.6.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5299,6 +5299,11 @@ dns-packet@^5.2.2:
dependencies:
"@leichtgewicht/ip-codec" "^2.0.1"

docusaurus-plugin-matomo@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/docusaurus-plugin-matomo/-/docusaurus-plugin-matomo-0.0.6.tgz#3b85ec817465bd4b3b337d973b29edc6fd303489"
integrity sha512-zAhUz3eMaW2tUJsvV5guOMwb554swoVEeI55BZA10LVk3+PyfWYpBl2FEHITe0ofA8/vG6BTuTzGNSWxW70NwA==

dom-converter@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768"
Expand Down

0 comments on commit 7d89467

Please sign in to comment.