Actually enable Google Analytics for Corso docs (#1409)

## Description

We were missing the actual plugin and did not have configuration for the right
plugin type.

## Type of change

- [x] 🐛 Bugfix
- [x] 🗺️ Documentation
This commit is contained in:
Niraj Tolia 2022-11-01 11:40:28 -07:00 committed by GitHub
parent 826ba778ff
commit f4828705c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,7 @@ const config = {
'https://github.com/alcionai/corso/tree/main/docs',
},
blog: false,
googleAnalytics: {
gtag: {
trackingID: 'G-4EXT1PY6KC',
},
theme: {

View File

@ -9,6 +9,7 @@
"version": "0.1.0",
"dependencies": {
"@docusaurus/core": "2.2.0",
"@docusaurus/plugin-google-gtag": "^2.2.0",
"@docusaurus/preset-classic": "2.2.0",
"@mdx-js/react": "^2.1.5",
"clsx": "^1.2.1",

View File

@ -15,6 +15,7 @@
},
"dependencies": {
"@docusaurus/core": "2.2.0",
"@docusaurus/plugin-google-gtag": "^2.2.0",
"@docusaurus/preset-classic": "2.2.0",
"@mdx-js/react": "^2.1.5",
"clsx": "^1.2.1",