Skip to content

Commit 7da1855

Browse files
authored
Adding analytics config
1 parent 9f64c62 commit 7da1855

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/source/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@
5656
#
5757
html_theme = 'sphinx_rtd_theme'
5858

59+
# Theme options for sphinx_rtd_theme
60+
html_theme_options = {
61+
'analytics_id': 'G-Q1K210DS5W', # Google Analytics 4 tracking ID
62+
'analytics_anonymize_ip': False,
63+
}
64+
5965
# Add any paths that contain custom static files (such as style sheets) here,
6066
# relative to this directory. They are copied after the builtin static files,
6167
# so a file named "default.css" will overwrite the builtin "default.css".

0 commit comments

Comments
 (0)