Skip to content

Commit

Permalink
chore: fix GA on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Apr 27, 2024
1 parent 13a74fe commit dce93ae
Show file tree
Hide file tree
Showing 3 changed files with 6,968 additions and 53 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": "^3.2.1"
}
}
13 changes: 10 additions & 3 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ myOtherFont: [
ogImage: "img/undraw_online.svg",
twitterImage: "img/undraw_tweetstorm.svg",

gaTrackingId: "UA-65632006-1",

// Show documentation's last contributor's name.
// enableUpdateBy: true,

Expand All @@ -121,7 +119,16 @@ 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',
},
],
],
}

module.exports = siteConfig
Loading

0 comments on commit dce93ae

Please sign in to comment.