Content analytics for documentation projects

Technical documentation is part of the product and requires continuous optimization to meet user needs.
Data-driven content analytics helps you understand how users interact with your materials and what improvements are needed. Yandex Metrica allows you to analyze and optimize technical documentation. In this article, we will look at how to integrate Yandex Metrica content analytics into documentation workflows.
Content reports in Yandex Metrica
Since July 1, 2019, Metrica has had special reports for content projects and media publications.
Unlike traffic source or demographic reports, which contain information about users, content reports show how users interact with site materials. This is a useful tool for technical writers and those responsible for creating and optimizing the information content of documentation projects.
Interface

Content reports include:
- Statistics on materials, sections, authors, and topics.
- Statistics on scroll depth and read-through.
- Time spent reading an article. Mouse movements, clicks, and scrolls within 5 seconds are taken into account. If there is no activity within 5 seconds, the time is not attributed.
- Article view dynamics.
- Share of materials with read-through.
- Percentage of users who navigated to other pages of the site.
- Share of views of materials with scroll depth.
- Engagement metrics and section traffic.
- Most popular articles.
- Traffic sources.
- Overall summary for the documentation project.
How to organize content analytics in your documentation project
Creating a Metrica counter
-
Create a Metrica counter according to the instructions.
-
In the counter settings, enable the option "Content analytics" and specify the markup type
OpenGraph:
-
Add the counter to the documentation project using the configuration file
.yfm.Example:
analytics: metrika: - id: 44444444
Adding meta information
In content reports, data is collected only for marked-up materials. For marking up materials, it is recommended to use the semantic data markup vocabulary OpenGraph.
Markup is specified in the metadata of documentation files with the md extension.
Note
OpenGraph allows you to control how pages are displayed in search engines and social media platforms.
OpenGraph data should be placed in the head tag of your document.
You can specify the title, description, image, and other parameters that will be displayed when your link is published on social media sites.
More about OpenGraph:
Example of use in a documentation article:
|
Source code in the file |
Result in the documentation |
|
|
Description of elements that can be used to mark up articles
Documentation articles can be marked up with the following elements:
|
Element |
Comment |
|
Type of the described object* |
Metrika only supports marking up objects of the article type. Other objects marked up according to the Open Graph standard will not appear in Metrika reports. The object type is specified in the
|
|
Title* |
The title is displayed in Metrika reports. It is specified in the
|
|
Text* |
The content of the node that contains the described material is used as the text. If the markup is in the Note Full statistics can be obtained for material with more than 500 characters in its text. |
|
Author |
The author is specified using the
Thanks to this data, you can view statistics for individual authors. |
|
Topics |
As topics, you can specify, for example, keywords or hashtags. Specify topics in the
|
|
Publication and modification dates |
Publication and modification dates are specified in the
|
|
Section |
A section is a part of the site dedicated to a specific topic. To specify the section of the material, use the
|
|
Material URL |
The material URL must be contained in the
Otherwise, the value will be taken from the canonical link.
If the markup is correct and the counter is properly connected, statistics for the material will start being collected in Metrica after some time. |
* Required element
Using content analytics reports
Summary reports
|
Report |
Description |
|
Summary |
The report provides brief statistics on content for a selected day or period. Statistics include data on views and user interactions with documentation materials.
If you enable auto-refresh, statistics will update every 60 seconds. |
Interface
|
|
|
Materials |
The report helps compare materials with each other, track view dynamics, highlight the most interesting posts (they will have a high read-through rate), and decide in which direction to continue working with content. |
Interface
|
|
|
Sections |
The sections report allows you to get overall statistics and compare sections with each other. View and audience engagement metrics allow you to determine the effectiveness of a section and understand whether it is worth paying attention to or whether it should be abandoned. Tip When implementing the markup, keep in mind that the number of sections is currently limited to two levels of nesting, and this must be taken into account during implementation. For documentation projects, it is proposed to use documentation sections — first-level menu items — as sections. |
Interface
|
|
|
Authors |
The report allows you to get overall statistics on authors and compare an author's results with the rest of the editorial team. |
|
Topics |
The report allows you to collect overall statistics on topics that reflect the content of an article. Including:
Unlike sections, the number of topics for a material is not limited. |
Interface
|
|
Standard reports
|
Report |
Description |
|
Traffic sources for materials |
The report allows you to collect overall statistics on topics that reflect the content of an article. Unlike sections, the number of topics for a material is not limited. |
Interface
|
|
|
Sections |
The report contains overall statistics on the sections and materials of your documentation. |
Interface
|
|
|
Authors |
The report contains statistics on material authors. |
|
Topics |
The report contains statistics on material topics. |
Interface
|
|
|
Material page |
In the report for a specific material, you can study in detail how visitors progressed through the text. |
Interface
|
|
Conclusion
Integrating content analytics using Yandex Metrica into technical documentation helps better understand user needs and adapt content in line with their expectations.
A data-driven approach allows not only improving the quality of documentation but also ensuring better user interaction with your product by providing information in the right form and at the right moment.
The recommendations provided will help increase the value of your documentation and make it a useful tool for users.
See also
- Content reports (documentation)
- Checking content analytics data transfer
Required element.







