Skip to content

Commit 2adc668

Browse files
authored
Add Google Analytics (#550)
Signed-off-by: Addisu Z. Taddese <[email protected]>
1 parent 9c2ad2e commit 2adc668

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

base_conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"myst_parser",
3535
"sphinx_copybutton",
3636
"sphinx_design",
37+
"sphinxcontrib.googleanalytics",
3738
# 'sphinx_sitemap',
3839
]
3940

@@ -100,3 +101,5 @@
100101
html_context = {
101102
"deploy_url": os.environ.get("GZ_DEPLOY_URL", "")
102103
}
104+
105+
googleanalytics_id = "G-JKS50SX85K"

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ sphinx
55
sphinx-copybutton
66
sphinx-design
77
requests
8+
sphinxcontrib-googleanalytics

0 commit comments

Comments
 (0)