Skip to content

Commit f8c93ff

Browse files
authored
Blog: mention GA stops working (#331)
Closes readthedocs/readthedocs.org#11713 Closes readthedocs/readthedocs.org#11707
1 parent afb3135 commit f8c93ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/posts/addons-by-default.md

+4
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ if os.environ.get("READTHEDOCS", "") == "True":
9595
html_context["READTHEDOCS"] = True
9696
```
9797

98+
This also means that Google Analytics will stop being injected automatically on those projects that were specifying their GA code and it will stop working.
99+
If you want to continue using Google Analytics in your project,
100+
we recommend using the [`sphinxcontrib-googleanalytics`](https://pypi.org/project/sphinxcontrib-googleanalytics/) Sphinx extension.
101+
98102
In case you've found any difference in behavior after Read the Docs Addons has been enabled
99103
(see [How to opt-in to addons _now_](#how-to-opt-in-to-addons-now) to enable addons manually),
100104
and you've already added the previous chunk of code to your Sphinx's `conf.py` file,

0 commit comments

Comments
 (0)