Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 534ffbf

Browse filesBrowse files
ksundenmeeseeksmachine
authored andcommitted
Backport PR #26498: Add plausible analytics to the documentation pages
1 parent e5a210a commit 534ffbf
Copy full SHA for 534ffbf

File tree

1 file changed

+4
-1
lines changed
Filter options

1 file changed

+4
-1
lines changed

‎doc/conf.py

Copy file name to clipboardExpand all lines: doc/conf.py
+4-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.