Basic and additional tag settings

Tag settings are available in the Settings section (on the Tag tab).

  1. Basic tag settings
  2. Additional tag settings
  3. FAQ about the informer

Basic tag settings

Tag name
The specified name is shown on the My tags page and in the upper menu for switching between tags. If it is not set, the Website address is used instead.

The main domain of the site. This information is required. Don't include the prefix of the schema or protocol (http://, https://).

In this field, you can enter the site's path in the URL structure. For example, However, don't specify the URL for a specific file or page section (using the “#” symbol), or you will get an error. Additionally, parameters passed in the URL are ignored (the part of the URL after the “?” symbol).

More information about the URL structure


  • <host> — Site domain.
  • <path> — A path that can have a hierarchical structure. The structure is indicated using slashes “/”.
  • <params> — The section of parameters that is separated from the path by a “?”.
  • <fragment> — A fragment of the content on a page that is separated from the parameters and path with a “#”.
Additional addresses

You may need to enter additional addresses in the following cases:

  • The same site with the same installed tag responds from different addresses.
  • You want to get statistics for multiple sites using the same tag.
  • You want to get notifications about site availability checks.

Clicks between all of the set addresses are interpreted as internal clicks.

In this field, you can enter the site's path in the URL structure. For example, However, don't specify the URL for a specific file or page section (using the “#” symbol), or you will get an error. Additionally, parameters passed in the URL are ignored (the part of the URL after the “?” symbol).

If reports show data on page views that don't belong to your site addresses and you don't need this data, select Receive data only from specified addresses.

This situation can arise in the following cases:

  • Someone initialized a tag with your number on their own site (probably by mistake).
  • Your site's pages were being viewed via a proxy service.
  • There is an almost exact copy of your pages on other domains. When copying content, the code snippet was also copied.

The Including sub-domains option lets you include subdomains of the main site and additional sites for filtration (,, ...).

Session Replay, scroll map, form analytics
This option also enables the click map and link map.

Learn more about Session Replay

Learn more about form analytics

Content analytics

Enable this option to receive reports about your website's text-based content. The reports help you determine which content is more popular and which sources result in more user engagement.

Learn more about content reports

You can also:

Enable the option “Don't save full IP addresses of site users”

Yandex.Metrica normally stores the entire depersonalized IP address of the user. If this option is enabled, the system registers an incomplete address. For example, changes to This means that location detection will not be as precise. Learn more

To enable the option, open the Additional data processing conditions section.

Confirm your acceptance of the Yandex.Metrica data processing agreement

This is necessary if your company is registered in the EU or Switzerland, or if you are required to comply with the General Data Protection Regulation (GDPR) for other reasons. Learn more

To accept the agreement, open the Additional data processing conditions section.

Additional tag settings

Currency according to ISO 4217, which is used by default to display revenue. For example, revenue by goal, ad spending, or in E-commerce data.
Visit timeout in minutes

This is how long a user is inactive on the site. When the specified number of minutes has passed, the session will be considered ended. The session timeout is specified as an integer between 30 and 360. By default, it is 30 minutes.

Hash tracking in the address bar
This option is applied for AJAX sites and allows correct calculation of the number of pageviews on pages that are updated without being refreshed.
For XML sites
The noscript element must not be used in XML documents.
Alternative CDN
This option allows you to correctly count sessions from regions that have restricted access to Yandex.Metrica. It might take longer to load the code snippet when using this option. Even with the option enabled, the code snippet can send a preliminary request to to save traffic.
Outdated code snippet

The old code snippet is used that supports Session Replay 1.0.

By default, Yandex.Metrica uses a new code snippet that supports Session Replay 2.0. Only use legacy code if you need Session Replay 1.0.

Asynchronous code

The code does not block pages and does not affect page loading speed. Displayed if the Outdated code snippet option is enabled.

Dispatch e-commerce data to Metrica
This option allows you to connect E-commerce through the interface. If the option is on, by default the JavaScript array is assigned the name dataLayer. You can change it in the Name of data container field.

Allows you to select the tag display mode: invisible, or showing a ticker with your site's traffic statistics. Select the type of informer and configure its appearance:

  • Basic — Clicking on the informer takes you to Yandex.Metrica.
  • Advanced — Clicking on the informer shows a widget with site statistics for the week.

The informer itself shows the data collected by the tag for the current day (this period is not configurable by the user).

If you only install the informer code (<!-- Yandex.Metrica informer -->) on a site without the tag, statistics aren't collected for the site.

FAQ about the informer

The informer does not display data

Make sure the informer is enabled. In the Settings section (on the Tag tab), the Informer option must be selected. If this option is disabled, save changes after enabling it and update the code snippet on the website pages.

The label “Yandex.Metrica” is shown instead of the informer

Check whether the website where you are expecting to see the informer has been added as an additional domain in the tag settings. Without this setting, data is not displayed.