Skip to content

Commit ed88ca7

Browse files
committed
Merge branch 'diataxis/main' of github.com:readthedocs/readthedocs.org into diataxis/main
2 parents 8130610 + d8f5282 commit ed88ca7

File tree

10 files changed

+106
-12
lines changed

10 files changed

+106
-12
lines changed
Loading

docs/user/analytics.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
Traffic Analytics
2-
=================
1+
How to use traffic analytics
2+
============================
3+
4+
In this guide, you can learn to use Read the Docs' built-in traffic analytics for your documentation project.
5+
You will also learn how to optionally add your own Google Analytics account or completely disable Google Analytics on your project.
36

47
Traffic Analytics lets you see *which* documents your users are reading.
58
This allows you to understand how your documentation is being used,

docs/user/guides/administrators.rst

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ have a look at our :doc:`/tutorial/index`.
1616
Manage Custom Domains <custom-domains>
1717
Enable Canonical URLs <canonical-urls>
1818
technical-docs-seo-guide
19+
Use traffic analytics </analytics>
1920
manage-translations-sphinx
2021
hiding-a-version
2122
deprecating-content

docs/user/guides/authors.rst

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ and :doc:`/intro/getting-started-with-mkdocs`.
1818
jupyter
1919
Migrate from rST to MyST <migrate-rest-myst>
2020
enable-offline-formats
21+
Using search analytics <search-analytics>

docs/user/guides/developers.rst

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ or customize the documentation appearance.
1818
build-using-too-many-resources
1919
edit-source-links-sphinx
2020
Setup Build Notifications <build-notifications>
21+
Use traffic analytics </analytics>

docs/user/guides/search-analytics.rst

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
How to use search analytics
2+
===========================
3+
4+
In this guide, you can learn to use Read the Docs' built-in search analytics for your documentation project.
5+
6+
To see a list of the top queries and an overview from the last month,
7+
go to the :guilabel:`Admin` tab of your project,
8+
and then click on :guilabel:`Search Analytics`.
9+
10+
.. figure:: /_static/images/search-analytics-demo.png
11+
:width: 50%
12+
:align: center
13+
:alt: Search analytics demo
14+
15+
How the search analytics page looks.
16+
17+
In **Top queries in the past 30 days**,
18+
you see all the latest searches ordered by their popularity.
19+
The list itself is often longer than what meets the eye,
20+
Scroll downwards on the list itself to see more results.
21+
22+
Understanding your analytics
23+
----------------------------
24+
25+
In **Top queries in the past 30 days**, you can see the most popular terms that users have searched for.
26+
Next to the search query, the number of actual **results** for that query is shown.
27+
The number of times the query has been used in a search is displayed as the **searches** number.
28+
29+
* If you see a search term that doesn't have any results,
30+
you could apply that term in documentation articles or create new ones.
31+
This is a great way to understand missing gaps in your documentation.
32+
33+
* If a search term is often used but the documentation article exists,
34+
it can also indicate that it's hard to navigate to the article.
35+
36+
* Repeat the search yourself and inspect the results to see if they are relevant.
37+
You can add keywords to various pages that you want to show up for searches on that page.
38+
39+
In **Daily search totals**, you can see trends that might match special events in your project's publicity.
40+
If you wish to analyze these numbers in details, click :guilabel:`Download all data`
41+
to get a CSV formatted file with all available search analytics.

docs/user/index.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ to help you create fantastic documentation for your project.
105105
:glob:
106106

107107
api/index
108+
reference/features
108109

109110

110111
Read the Docs feature overview
@@ -151,7 +152,6 @@ and some of the core features of Read the Docs.
151152
/versions
152153
/hosting
153154
/server-side-search/index
154-
/analytics
155155
/security-log
156156

157157
/connected-accounts
@@ -186,6 +186,7 @@ and how to write successful documentation.
186186
:doc:`/guides/manage-translations-sphinx` |
187187
:doc:`/guides/private-submodules` |
188188
:doc:`Configure Pull Request Builds </guides/pull-requests>` |
189+
:doc:`Use Traffic Analytics </analytics>` |
189190
:doc:`/guides/build-notifications` |
190191
:doc:`More guides for administrators </guides/administrators>`
191192

@@ -195,6 +196,7 @@ and how to write successful documentation.
195196
:doc:`/guides/reproducible-builds` |
196197
:doc:`/guides/embedding-content` |
197198
:doc:`/guides/conda` |
199+
:doc:`Use Traffic Analytics </analytics>` |
198200
:doc:`/guides/build-notifications` |
199201
:doc:`More guides for developers and designers </guides/developers>`
200202

docs/user/reference/analytics.rst

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
Analytics for search and traffic
2+
================================
3+
4+
Read the Docs supports analytics for search and traffic.
5+
When someone reads your documentation,
6+
we collect data about the vist and the referer
7+
with full respect of the privacy of the visitor.
8+
9+
10+
Traffic analytics
11+
-----------------
12+
13+
Read the Docs aggregates statistics about visits to your documentation.
14+
This is mainly information about how often pages are viewed,
15+
and which return a `404 Not Found` error code.
16+
17+
Traffic Analytics lets you see *which* documents your users are reading.
18+
This allows you to understand how your documentation is being used,
19+
so you can focus on expanding and updating parts people are reading most.
20+
21+
If you require more detailed analytics, Read the Docs has native support for Google Analytics.
22+
It's also possible to customize your documentation to include other analytics frameworks.
23+
24+
Learn more in :doc:`/analytics`.
25+
26+
27+
Search Analytics
28+
----------------
29+
30+
When someone visits your documentation and uses the built-in :ref:`server-side search <server-side-search:Server Side Search>` feature,
31+
Read the Docs will collect analytics on their search term.
32+
33+
Those are aggregated into a simple view of the
34+
"Top queries in the past 30 days".
35+
You can also download this data.
36+
37+
This is helpful to optimize your documentation in alignment with your readers' interests.
38+
You can discover new trends and expand your documentation to new needs.
39+
40+
Learn more in :doc:`/guides/search-analytics`.

docs/user/reference/features.rst

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
========
2+
Features
3+
========
4+
5+
6+
.. toctree::
7+
:maxdepth: 1
8+
9+
analytics

docs/user/server-side-search/index.rst

+5-9
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,19 @@ API
6565
Integrate our search as you like.
6666
See :doc:`/server-side-search/api`.
6767

68+
Analytics
69+
Know what your users are searching for.
70+
See :doc:`/guides/search-analytics`
71+
6872
.. _"full-text search": https://docs.readthedocs.io/en/latest/search.html?q=%22full-text+search%22
6973
.. _"project:docs project:dev search": https://docs.readthedocs.io/en/latest/search.html?q=project:docs+project:dev+search
7074

71-
Search analytics
72-
----------------
73-
74-
Know what your users are looking for in your docs.
75-
To see a list of the top queries and an overview from the last month,
76-
go to the :guilabel:`Admin` tab of your project,
77-
and then click on :guilabel:`Search Analytics`.
78-
7975
.. figure:: /_static/images/search-analytics-demo.png
8076
:width: 50%
8177
:align: center
8278
:alt: Search analytics demo
8379

84-
Search analytics demo
80+
Search analytics demo. Read more in :doc:`/guides/search-analytics`.
8581

8682
.. _Elasticsearch: https://www.elastic.co/products/elasticsearch
8783

0 commit comments

Comments
 (0)