Skip to content

Commit 06ebe40

Browse files
ericholscherhumitosagjohnson
authored
Update Analytics pages in the docs (#11636)
* Update Analytics pages in the docs This builds our properly feature pages for them, and remove the old reference page that combined both. Fixes #11587 * Fix links * Update docs/user/traffic-analytics.rst Co-authored-by: Manuel Kaufmann <[email protected]> * Apply suggestions from code review Co-authored-by: Anthony <[email protected]> * Update language and seealso --------- Co-authored-by: Manuel Kaufmann <[email protected]> Co-authored-by: Anthony <[email protected]>
1 parent 630af65 commit 06ebe40

File tree

10 files changed

+89
-85
lines changed

10 files changed

+89
-85
lines changed

docs/user/analytics.rst

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/user/guides/content/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ How-to guides: content, themes and SEO
3434
⏩️ :doc:`Enabling offline formats </guides/enable-offline-formats>`
3535
This guide provides step-by-step instructions to enabling offline formats of your documentation.
3636

37-
⏩️ :doc:`Using search analytics </guides/search-analytics>`
37+
⏩️ :doc:`Using search analytics </search-analytics>`
3838
In this guide, you can learn to use Read the Docs' built-in search analytics for your documentation project.
3939

4040
⏩️ :doc:`Adding custom CSS or JavaScript to Sphinx documentation </guides/adding-custom-css>`
@@ -58,7 +58,7 @@ How-to guides: content, themes and SEO
5858

5959
Search engine optimization (SEO) for documentation projects </guides/technical-docs-seo-guide>
6060
Using traffic analytics </analytics>
61-
Using search analytics </guides/search-analytics>
61+
Using search analytics </search-analytics>
6262
Enabling offline formats </guides/enable-offline-formats>
6363
Embedding content from your documentation </guides/embedding-content>
6464
Managing translations for Sphinx projects </guides/manage-translations-sphinx>

docs/user/guides/setup/monorepo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ For each project, it's now possible to configure:
7070
* :doc:`Custom redirect rules </guides/custom-domains>`
7171
* :doc:`Custom domains </guides/custom-domains>`
7272
* :doc:`Automation rules </automation-rules>`
73-
* :doc:`Traffic and search analytics </reference/analytics>`
73+
* :doc:`Traffic analytics </traffic-analytics>`
7474
* Additional documentation tools with individual :doc:`build processes </build-customization>`:
7575
One project might use :doc:`Sphinx <sphinx:index>`,
7676
while another project setup might use `Asciidoctor <https://asciidoctor.org/>`__.

docs/user/index.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ Read the Docs: documentation simplified
7070
:caption: Maintaining projects
7171

7272
/user-defined-redirects
73-
/reference/analytics
73+
/traffic-analytics
74+
/search-analytics
7475
/security-log
7576
/badges
7677
/explanation/documentation-structure
@@ -210,7 +211,7 @@ Keep your documentation up to date:
210211
:doc:`/user-defined-redirects`
211212
Redirect your old URLs to new ones.
212213

213-
:doc:`/reference/analytics`
214+
:doc:`/traffic-analytics`
214215
Learn more about how users are interacting with your documentation.
215216

216217
:doc:`/security-log`

docs/user/reference/analytics.rst

Lines changed: 0 additions & 41 deletions
This file was deleted.

docs/user/reference/features.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ Feature reference
3131
⏩️ :doc:`/build-notifications`
3232
Build notifications can alert you when your builds fail so you can take immediate action.
3333

34-
⏩️ :doc:`/reference/analytics`
35-
Traffic and Search analytics are built into the platform.
36-
This allows you to easily see what the most popular pages are,
37-
and what people are searching for.
34+
⏩️ :doc:`/traffic-analytics`
35+
Traffic analytics help you understand how your documentation is being used.
36+
37+
⏩️ :doc:`/search-analytics`
38+
Search analytics allow you to see what your users are searching for.
3839

3940
⏩️ :doc:`/user-defined-redirects`
4041
Projects may define their own custom URL redirects,

docs/user/guides/search-analytics.rst renamed to docs/user/search-analytics.rst

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1-
How to use search analytics
2-
===========================
1+
Search analytics
2+
================
33

4-
In this guide, you can learn to use Read the Docs' built-in search analytics for your documentation project.
4+
When someone visits your documentation and uses the built-in :doc:`server side search </server-side-search/index>` feature,
5+
Read the Docs will collect analytics on their search queries.
6+
7+
These are aggregated into a simple view of the
8+
"Top queries in the past 30 days".
9+
You can also download this data.
10+
11+
This is helpful to optimize your documentation in alignment with your readers' interests.
12+
You can discover new trends and expand your documentation to new needs.
13+
14+
Using search analytics
15+
----------------------
516

617
To see a list of the top queries and an overview from the last month,
718
go to the :guilabel:`Admin` tab of your project,
@@ -39,3 +50,19 @@ The number of times the query has been used in a search is displayed as the **se
3950
In **Daily search totals**, you can see trends that might match special events in your project's publicity.
4051
If you wish to analyze these numbers in details, click :guilabel:`Download all data`
4152
to get a CSV formatted file with all available search analytics.
53+
54+
Data storage
55+
------------
56+
57+
The duration of analytics data stored depends on which site you're using:
58+
59+
* On |org_brand|, the last 90 days are stored.
60+
* On |com_brand|, storage duration starts at 30 days and increases with plan level.
61+
62+
.. seealso::
63+
64+
`Our plan pricing <https://about.readthedocs.com/pricing/>`_
65+
Compare our plan pricing and analytics storage duration.
66+
67+
:doc:`/traffic-analytics`
68+
See how users are using your documentation.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ API
6262

6363
Analytics
6464
Know what your users are searching for.
65-
See :doc:`/guides/search-analytics`
65+
See :doc:`/search-analytics`
6666

6767
.. _"full-text search": https://docs.readthedocs.io/en/latest/search.html?q=%22full-text+search%22
6868
.. _"project:docs project:dev search": https://docs.readthedocs.io/en/latest/search.html?q=project:docs+project:dev+search
@@ -72,7 +72,7 @@ Analytics
7272
:align: center
7373
:alt: Search analytics demo
7474

75-
Search analytics demo. Read more in :doc:`/guides/search-analytics`.
75+
Search analytics demo. Read more in :doc:`/search-analytics`.
7676

7777
.. _Elasticsearch: https://www.elastic.co/products/elasticsearch
7878

docs/user/traffic-analytics.rst

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Traffic analytics
2+
=================
3+
4+
Read the Docs aggregates statistics about visits to your documentation.
5+
This is mainly information about how often pages are viewed,
6+
and which return a `404 Not Found` error code.
7+
8+
Traffic analytics let you see *which* documents your users are reading.
9+
This allows you to understand how your documentation is being used,
10+
so you can focus on expanding and updating parts people are reading most.
11+
12+
To see a list of the top pages from the last month,
13+
go to the :guilabel:`Admin` tab of your project,
14+
and then click on :guilabel:`Traffic analytics`.
15+
16+
.. figure:: /_static/images/addons-analytics.png
17+
:width: 50%
18+
:align: center
19+
:alt: Traffic analytics demo
20+
21+
Traffic analytics demo
22+
23+
Enabling traffic analytics
24+
--------------------------
25+
26+
#. Go to the new :term:`dashboard`:
27+
#. Click on a project name.
28+
#. Go to :guilabel:`Settings`, then in the left bar, go to :guilabel:`Addons`.
29+
#. Go to :guilabel:`Analytics` and check :guilabel:`Analytics enabled`.
30+
31+
Data storage
32+
------------
33+
34+
The duration of analytics data stored depends on which site you're using:
35+
36+
* On |org_brand|, the last 90 days are stored.
37+
* On |com_brand|, storage duration starts at 30 days and increases with plan level.
38+
39+
.. seealso::
40+
41+
`Our plan pricing <https://about.readthedocs.com/pricing/>`_
42+
Compare our plan pricing and analytics storage duration.
43+
44+
:doc:`/search-analytics`
45+
See what users are searching for in your documentation.

docs/user/tutorial/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ and click the :guilabel:`Download all data` button.
550550
Understanding search analytics
551551
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
552552

553-
As well as traffic analytics, Read the Docs shows :doc:`what terms your readers are searching for </guides/search-analytics>`.
553+
As well as traffic analytics, Read the Docs shows :doc:`what terms your readers are searching for </search-analytics>`.
554554
This can inform decisions on what areas to focus on,
555555
or what parts of your project are less understood or more difficult to find.
556556

0 commit comments

Comments
 (0)