From 013003d63ef06856625470c6fca3b348369d8a8d Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Fri, 31 Mar 2023 07:27:25 +0200 Subject: [PATCH] docs: add google tag manager (#3428) This change adds google tag manager to docusaurus using the [plugin-google-tag-manager](https://www.docusaurus.io/docs/api/plugins/@docusaurus/plugin-google-tag-manager) plugin. ## Why The current analytics integration we've got in the docs is being sunset this year, so this is the replacement. It should only collect the same kind of data that we already collect. It does not require user consent, and it is used only for aggregation. The point is to help us understand our users' needs and usage patterns so that we can make a better product. --- website/docusaurus.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index c53c7f1942..72717cbb9d 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -177,6 +177,9 @@ module.exports = { googleAnalytics: { trackingID: 'UA-134882379-1', }, + googleTagManager: { + containerId: 'GTM-KV5PRR2', + }, }, ], ],