From 4c06d202c60d17837b920b70f3de2b15bc079530 Mon Sep 17 00:00:00 2001 From: Milan Holemans <11723921+milanholemans@users.noreply.github.com> Date: Wed, 3 May 2023 15:48:30 +0200 Subject: [PATCH] Adds Google Analytics. Closes #4792 --- docs/docusaurus.config.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 16074106904..12856371254 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -29,7 +29,10 @@ const config = { plugins: [ 'docusaurus-plugin-sass', [ - 'docusaurus-node-polyfills', { excludeAliases: ['console']} + 'docusaurus-node-polyfills', + { + excludeAliases: ['console'] + } ] ], @@ -47,6 +50,10 @@ const config = { blog: false, theme: { customCss: require.resolve('./src/scss/Global.module.scss'), + }, + gtag: { + trackingID: 'G-DH3T88LK5K', + anonymizeIP: true } }) ]