From f8ce75e3769fba94982dff82fe1551b180f64ed0 Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Thu, 12 Dec 2024 00:17:17 +0100 Subject: [PATCH] Add Google Analytics (#550) Signed-off-by: Addisu Z. Taddese --- base_conf.py | 3 +++ requirements.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/base_conf.py b/base_conf.py index f8781731c..63fe43fd1 100644 --- a/base_conf.py +++ b/base_conf.py @@ -34,6 +34,7 @@ "myst_parser", "sphinx_copybutton", "sphinx_design", + "sphinxcontrib.googleanalytics", # 'sphinx_sitemap', ] @@ -100,3 +101,5 @@ html_context = { "deploy_url": os.environ.get("GZ_DEPLOY_URL", "") } + +googleanalytics_id = "G-JKS50SX85K" diff --git a/requirements.txt b/requirements.txt index 78dc33dca..1a24a3598 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,4 @@ sphinx sphinx-copybutton sphinx-design requests +sphinxcontrib-googleanalytics