diff --git a/docs/requirements.txt b/docs/requirements.txt index b37cd0c3..b545f286 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -19,3 +19,4 @@ sphinx_rtd_theme>=1.1.1 # reference system #sphinxcontrib-bibtex #sphinxcontrib-napoleon +sphinxcontrib-googleanalytics diff --git a/docs/source/conf.py b/docs/source/conf.py index f5e89332..18b620ab 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -47,9 +47,14 @@ "sphinx_copybutton", "sphinx_design", "sphinx_rtd_theme", + "sphinxcontrib.googleanalytics", "breathe", ] +# Google Analytics +googleanalytics_id = "G-TSZZK2V8V4" +googleanalytics_enabled = True + # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"]