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 dd09194

Browse filesBrowse files
authored
Merge pull request #26498 from melissawm/add-plausible
Add plausible analytics to the documentation pages
2 parents 48e2891 + 06ceba5 commit dd09194
Copy full SHA for dd09194

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
@@ -484,7 +484,10 @@ def js_tag_with_cache_busting(js):
484484
}
485485
include_analytics = is_release_build
486486
if include_analytics:
487-
html_theme_options["analytics"] = {"google_analytics_id": "UA-55954603-1"}
487+
html_theme_options["analytics"] = {
488+
"plausible_analytics_domain": "matplotlib.org",
489+
"plausible_analytics_url": "https://views.scientific-python.org/js/script.js"
490+
}
488491

489492
# Add any paths that contain custom static files (such as style sheets) here,
490493
# 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.