Sending goals to Metrica

Article last updated at August 11, 2026

After connecting Metrica to the project, goals for events in the documentation interface start being sent to the counter.

Note

To have goals saved in Metrica, you need to add them to the counter following the instructions.

Supported goals

DOCS_EDIT-IN-VCS_CLICK
Clicking the "Edit" link button.
DOCS_FOOTER-NEXT_CLICK
Navigating to the next page via the "Next" link at the end of the article.
DOCS_FOOTER-PREV_CLICK
Navigating to the previous page via the "Previous" link at the end of the article.
DOCS_HEADER-LOGO_CLICK
Clicking the logo.
DOCS_HEADER-SANDWICH-MENU_CLICK
Expanding the table of contents menu in the mobile version.
DOCS_HEADER-SETTINGS_CLICK
Opening the "Settings" menu item.
DOCS_LANG_CLICK
Opening the language selection menu.
DOCS_WIDESCREEN-MODE_CLICK
Enabling/disabling fullscreen mode.
DOCS_HIDE-PAGE-NAV_CLICK
Enabling/disabling navigation for the current article.
DOCS_FONTSIZE-MODE_CLICK
Changing the text size.
DOCS_READING-MODE_CLICK
Switching to reading mode.
DOCS_SEARCH_CLICK
Clicking the search query input field.