From 01eaa43d337b9fa8eeea56f86132d4e9234e038c 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 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 16074106904..d3906fac03f 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -29,7 +29,17 @@ const config = { plugins: [ 'docusaurus-plugin-sass', [ - 'docusaurus-node-polyfills', { excludeAliases: ['console']} + 'docusaurus-node-polyfills', + { + excludeAliases: ['console'] + } + ], + [ + '@docusaurus/plugin-google-gtag', + { + trackingID: 'G-DH3T88LK5K', + anonymizeIP: true, + } ] ],