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.
Website address

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, example.com/category/. 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

https://<host>/<path>?<params>#<fragment>

  • <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 responds from different addresses with the same installed tag.
  • You want to get statistics for multiple sites using the same tag.

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, example.com/category/. 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 Include sub-domains option lets you include subdomains of the main site and additional sites for filtration (subdomain.example.com, other.subdomain.example.com, ...).

Session Replay, scroll map, Form analysis
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. These reports help you determine which content is more popular and which sources result in higher user engagement.

Learn more about content reports

You can also:

Check the tag
You can make sure the tag is placed on the site pages and works correctly. Learn more
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, 192.0.2.2 changes to 192.0.2.0. 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
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 browser 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 mc.yandex.ru 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.
Informer

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.

It shows the data collected by the tag for the current day (this period is not configurable by the user). Data is collected according to the time zone specified in the tag settings.

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

Data use and security
You can use the options to configure the parameters for working with data collected by Yandex Metrica.
Get access to market reports

Allows Yandex Metrica to use aggregated depersonalized tag data to build reports on market analytics. The collected data helps you understand the state of your business relative to the market.

A report on a business's market position is in development and will appear later. Enable the option to use statistics when they become available.

Limited mode

This option allows site owners to keep user visits to different site pages secret.

When Limited mode is enabled, Yandex Metrica uses only first-party cookies (cookies created by a site visited by the user and stored on their device) to collect data about the characteristics of a site's audience, while third-party cookies (or trackers) that transmit information about the user in the interests of other resources are not collected.

When this option is enabled, some statistics are not available to the site owner, for example, data on ad campaigns in Yandex Direct and Zen, cross-device analytics, recording the content of all Session Replay fields, socio-demographic characteristics of the audience (gender, age, income, location), and data on robots.

At the same time, the site owner can still track important site metrics such as traffic and traffic sources.

Use advanced tracking settings

This option is available for HTTPS websites.

This option enables Yandex Metrica to use the contact information entered by the user from the site to improve the operation of advertising algorithms and more accurately analyze the behavior of site users. This helps you increase the effectiveness of ad campaigns and learn more about users' behavior, even if they use browsers that limit cross-site cookies (third-party cookies), such as Safari and Mozilla Firefox.

If the option is enabled and in the tag settings the creation of automatic goals is enabled, then the goal Autogoal: provided contact information may appear in Yandex Metrica.

Transfer depersonalized data to the “News” service

By enabling this option, you agree that the tag data about website visitors is shared with Yandex News for the purposes of ranking news stories in the service, assessing audience engagement, and other similar purposes. This option is only available for partners of the service.

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.