From 774d56d453c54f22a1a95ad81b33f444734b6363 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Mon, 9 Oct 2023 13:03:58 +0530 Subject: [PATCH] Try adding Plausible script in theme options (#3419) --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index a96d139b12..74d1f76488 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -155,6 +155,10 @@ # add Algolia to the persistent navbar, this removes the default search icon "navbar_persistent": "algolia-searchbox", "use_edit_page_button": True, + "analytics": { + "plausible_analytics_domain": "docs.pybamm.org", + "plausible_analytics_url": "https://plausible.io/js/script.js", + }, "pygment_light_style": "xcode", "pygment_dark_style": "monokai", "footer_start": [