Skip to content

Commit

Permalink
docs: update wording around plausible integration
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Oct 8, 2024
1 parent 753ddc5 commit 6dc320c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ Configuration
Plausible Analytics
-------------------

To integrate with Plausible Analytics, add the :code:`plausible_domain` option in your project's :code:`conf.py` file.
To integrate with Plausible Analytics, add the :code:`plausible_domain` option to the :code:`html_theme_options` object in your project's :code:`conf.py`.

If your docs site is a subdomain for the site it is documenting, use the top level domain for cross-subdomain tracking.
For example, for the Sphinx site :code:`docs.example.com`, use :code:`example.com` as your :code:`plausible_domain`.
If your documentation site is a subdomain and you want cross-subdomain tracking, use the top level domain.
For example, for the documentation site :code:`docs.example.com`, use :code:`example.com` as your :code:`plausible_domain`.

.. code-block:: python
Expand Down

0 comments on commit 6dc320c

Please sign in to comment.