8000 Merge pull request #26498 from melissawm/add-plausible · matplotlib/matplotlib@dd09194 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd09194

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

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
@@ -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