Connecting to the web analytics service

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

Attention. If tag information is sent via the RSS feed (in the turbo:analytics element), the tag settings in Yandex.Webmaster are ignored.

To add tags in Yandex.Webmaster, delete the turbo:analytics from the RSS feed.

  1. Go to the Turbo pages → Settings → Web analytics 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 counter on the main site and on its Turbo pages. Learn more about viewing Turbo page reports in Yandex.Metrica Help.

    LiveInternet

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

    If the tag is installed on multiple sites, specify the name of the tag. 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 Save.