Skip to content

Commit

Permalink
feat: add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgolovanov committed Oct 13, 2022
1 parent e0d8e42 commit 5c85379
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const codeTheme = require('./src/utils/prism');
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
gtag: {
trackingID: 'G-226F0LR9KE',
anonymizeIP: true,
},
theme: {
customCss: require.resolve('./src/css/custom.scss'),
},
Expand Down
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"dependencies": {
"@docusaurus/core": "2.0.0-beta.20",
"@docusaurus/plugin-google-gtag": "^2.1.0",
"@docusaurus/preset-classic": "2.0.0-beta.20",
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^6.2.1",
Expand Down

0 comments on commit 5c85379

Please sign in to comment.