How to add Google Analytics to Readthedocs?
To add your GA tracking ID to readthedocs:
- Login to readthedocs.org, and browse to your project
- Go to
Admin > Advanced Settings
- Enter the tracking ID into “Analytics code”.
If you use a custom theme, you may need to add the code into conf.py
. For
example, see analytics_id
in Alabaster’s theme
options.