Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog: mention GA stops working #331

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading