Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1aac56a

Browse files
authored
Merge pull request #26499 from meeseeksmachine/auto-backport-of-pr-26498-on-v3.8.x
Backport PR #26498 on branch v3.8.x (Add plausible analytics to the documentation pages)
2 parents e5a210a + 534ffbf commit 1aac56a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,10 @@ def js_tag_with_cache_busting(js):
471471
}
472472
include_analytics = is_release_build
473473
if include_analytics:
474-
html_theme_options["analytics"] = {"google_analytics_id": "UA-55954603-1"}
474+
html_theme_options["analytics"] = {
475+
"plausible_analytics_domain": "matplotlib.org",
476+
"plausible_analytics_url": "https://views.scientific-python.org/js/script.js"
477+
}
475478

476479
# Add any paths that contain custom static files (such as style sheets) here,
477480
# relative to this directory. They are copied after the builtin static files,

0 commit comments

Comments
 (0)