Skip to content

Commit

Permalink
Blog: mention GA stops working (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos authored Oct 28, 2024
1 parent afb3135 commit f8c93ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/posts/addons-by-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ if os.environ.get("READTHEDOCS", "") == "True":
html_context["READTHEDOCS"] = True
```

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.
If you want to continue using Google Analytics in your project,
we recommend using the [`sphinxcontrib-googleanalytics`](https://pypi.org/project/sphinxcontrib-googleanalytics/) Sphinx extension.

In case you've found any difference in behavior after Read the Docs Addons has been enabled
(see [How to opt-in to addons _now_](#how-to-opt-in-to-addons-now) to enable addons manually),
and you've already added the previous chunk of code to your Sphinx's `conf.py` file,
Expand Down

0 comments on commit f8c93ff

Please sign in to comment.