Skip to content

Commit

Permalink
Add documentation for plausible analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
tupui committed Jul 20, 2022
1 parent c18a35f commit 04566ca
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/user_guide/analytics.rst
Expand Up @@ -12,3 +12,20 @@ Google Analytics' javascript is included in the html pages.
html_theme_options = {
"google_analytics_id": "G-XXXXXXXXXX",
}
Plausible Analytics
===================

Alternatively https://plausible.io can be used to gather simple
and privacy-friendly analytics for the site. The dashboard can be accessed
at ``url/domain``.
The Scientific-Python community can offer a self-hosted server.

Plausible' javascript is included in the html pages.

.. code:: python
html_theme_options = {
"plausible_analytics_domain": "my-domain",
"plausible_analytics_url": "https://.../script.js",
}

0 comments on commit 04566ca

Please sign in to comment.