Skip to content

Commit

Permalink
fix: googleAnalytics for docusaurus to new format (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarconr authored Jan 27, 2022
1 parent fdb435a commit d4e0c6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ module.exports = {
alt: 'Unleash logo',
},
},
gtag: {
trackingID: 'UA-134882379-1',
},
image: 'img/logo.png',
},
presets: [
Expand All @@ -114,6 +111,9 @@ module.exports = {
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
googleAnalytics: {
trackingID: 'UA-134882379-1',
},
},
],
],
Expand Down
9 changes: 5 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "2.0.0-beta.14",
"@docusaurus/plugin-client-redirects": "2.0.0-beta.14",
"@docusaurus/preset-classic": "2.0.0-beta.14",
"@docusaurus/remark-plugin-npm2yarn": "2.0.0-beta.14",
"@docusaurus/core": "2.0.0-beta.15",
"@docusaurus/plugin-client-redirects": "2.0.0-beta.15",
"@docusaurus/plugin-google-analytics": "^2.0.0-beta.15",
"@docusaurus/preset-classic": "2.0.0-beta.15",
"@docusaurus/remark-plugin-npm2yarn": "2.0.0-beta.15",
"@mdx-js/react": "1.6.22",
"@svgr/webpack": "6.2.0",
"clsx": "1.1.1",
Expand Down

0 comments on commit d4e0c6a

Please sign in to comment.