Connecting to the web analytics service

To collect Turbo page statistics, add a web analytics system using one of the following methods:

Внимание. To collect statistics correctly, use only one of the methods to install the tags.

If you have already linked the tag via the RSS feed, delete the turbo:analytics elements from the feed before linking the tags via Yandex.Webmaster interface.

  1. Go to the  →  → page.
  2. Click the Add tag button. Choose the web analytics system and specify the tag ID.

    Supported web analytics systems:

    Yandex.Metrica

    Specify the tag number. For example, 123456.

    To make it easier to work with reports, use the same tag on the main site and on its Turbo pages. Learn more about viewing Turbo page reports in Yandex.Metrica Help.

    Примечание. If necessary, you can enable Session Replay on Turbo pages. This may cause pages to load more slowly, so it is only used for 1% of traffic.

    To turn on Session Replay:

    1. Make sure that Session Replay 2.0 is turned on for the tag in Yandex.Metrica.
    2. Review the Session Replay 2.0 requirements and restrictions.
    3. In Yandex.Webmaster, enable the Use Session Replay option.

    You can only add one tag with Session Replay to a site.

    LiveInternet

    If the tag is only installed on one site, leave this field blank.

    If the tag is installed on multiple sites, specify . For example, example-host.

    Google Analytics
    Specify the tracking ID. For example, UA-12340005-6.
    Mail.Ru
    Specify the tag ID. For example, 123456.
    Rambler Top 100
    Specify the tag ID. For example, 123456.
    Mediascope (TNS)
    Project ID tmsec with the «- turbo» ending. For example, if the example_total tag is installed for regular site pages, then specify example_total-turbo for the Turbo pages.
    Other

    If your web analytics system supports installations as a one-pixel image, you can add it to the Turbo page.

    You can also include additional parameters in the URL to send them to the web analytics system:
    • {referrer} — Referer.
    • {referrerStarsEscaped} — Referer for Mediascope (with escaped character *), to connect this system without specifying the ID.
    • {pageTitle} — Page title.
    • {originalURL} — The original page URL.
    • {screenWidth} — The screen width.
    • {screenHeight} — The screen height.
    • {random} — Pseudorandom number (a new value is generated for each occurrence in the string).
    • {requestId} — Request ID (one per page).
    • {clientId} — Client ID (one per user's browser).

    Example:

    http://some.doma.in/{screenWidth}*{clientId}/{random}/{originalURL}?title={pageTitle} 
  3. Click .