Skip to content

Commit

Permalink
docs: updated analytics to GA4
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Jan 3, 2023
1 parent 879982e commit ebcd104
Show file tree
Hide file tree
Showing 3 changed files with 5,977 additions and 55 deletions.
6 changes: 4 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@
},
"author": "Michel Weststrate",
"license": "MIT",
"funding": {
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mobx"
},
"bugs": {
"url": "https://github.com/mobxjs/mobx/issues"
},
"homepage": "https://mobx.js.org/",

"devDependencies": {
"docusaurus": "^1.14.4"
},
"dependencies": {
"@docusaurus/plugin-google-gtag": "^2.2.0"
}
}
12 changes: 11 additions & 1 deletion website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,17 @@ myOtherFont: [

// You may provide arbitrary config keys to be used as needed by your
// template. For example, if you need your repo's URL...
repoUrl: "https://github.com/mobxjs/mobx"
repoUrl: "https://github.com/mobxjs/mobx",

plugins: [
[
"@docusaurus/plugin-google-gtag",
{
trackingID: "G-7XBWTSGJ80",
anonymizeIP: true
}
],
]
}

module.exports = siteConfig
Loading

0 comments on commit ebcd104

Please # to comment.