Discover, trust, install: FAIR 1.0 is here

Yandex.Metrica
Version: 1.2.2
Description
Yandex.Metrica
The free official Yandex.Metrica plugin for WordPress. This plugin helps you install a Yandex.Metrica tag on your site and configure the transfer of E-commerce data without manually editing the site’s code. It also transmits data about product views, additions to the basket, and sales.
Features
- Official Yandex.Metrica plugin
- E-commerce event tracking without manually editing the site’s code
- Quick installation
- Support for WordPress versions 5.2.9 and higher
- Scheduled updates
- Prompt support service
List of functions
- Automatically search for and configure installed Yandex.Metrica tags.
- Quickly add new Yandex.Metrica tags. The following parameters are set by default:
- E-commerce: Enabled
- Session Replay: Enabled (can be disabled if necessary)
- Click map: enabled
- Transfer of e-commerce events according to the documentation:
- Adding an item to the basket
- Pageview of a product profile
- Removing an item from the basket
- Placing an order
- Detalization of transferred product data according to the documentation
- Event logs with the following error codes:
- The WordPress version is deprecated
- The site lacks the brand taxonomy indicated by the user
- The theme doesn’t have the hook required for the plugin to work
- The tag number contains characters that aren’t numbers
Translations
- Russian
- English
Installation
Installation from the WordPress admin panel
-
Register at Yandex.Metrica and create a tracking tag. If you already have a tag, skip this step.
-
In the WordPress admin panel, go to Plugins
Add New. -
Search for the Yandex.Metrica plugin and install it.
-
Go to Plugins
Installed Plugins. Activate the installed plugin. -
Add your Yandex.Metrica tag number in the plugin settings and save the changes.
Installation from WordPress.org
-
Register at Yandex.Metrica and create a tracking tag. If you already have a tag, skip this step.
-
Download the file with the Yandex.Metrica plugin from wordpress.org or from Yandex.Metrica Help.
-
In the WordPress admin panel, go to Plugins
Add New. -
Click Upload Plugin. Select the downloaded file with the plugin archive
Install. -
Go to Plugins in the admin panel
Installed Plugins. Activate the installed plugin. -
Add your Yandex.Metrica tag number in the plugin settings and save the changes.
Faq
Look at the topics discussed on the support tab. You might find the solution there. If the issue with the plugin has not been previously discussed, contact Support.
This is the official Yandex.Metrica plugin for WordPress. We want to make it as easy as possible for our users to set up Yandex.Metrica and e-commerce, so we made the plugin completely free.
We recommend using the official Yandex.Metrica plugin separately from other developers’ solutions. If you use the official plugin together with third-party modules, it may interfere with the Yandex.Metrica tag.
Yandex.Metrica E-commerce is a tool for online store analytics. It provides detailed statistics on sales and interactions with products on a site. Learn more
Add the ym_debug=1 parameter to the page URL in the browser’s address bar and reload the page. Example: http://example.com/?_ym_debug=1
For more information, see Help.
These fields are needed to correctly send the brand value of the product.
– If you have selected “Term” in the “Brand type” field, then enter the taxonomy name in “Taxonomy or custom brand field”.
– If you have selected “Custom field” in the “Brand type” field, then in “Taxonomy or custom brand field”, specify the name of the custom field.
Session Replay technology offers an entirely new level of detail for analyzing the behavior of site users. You can replay their actions exactly as they occurred to see what happens on each page and how users navigate, right down to every mouse movement, keystroke, and click. Enable Session Replay using the checkbox next to the tag field.
Reviews
Отличный плагин для e-commerce!
By Nick_U (NiTROi) on April 10, 2025
Поставил и забыл! Все метрики электронной коммерции передаются без проблем. Спасибо команде Яндекс метрики за плагин!
Ошибки
By Senja on November 19, 2024
В настройках вот такие ошибки:
/wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 478
wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 503
Просто работает
By ngregory on April 30, 2024
Поставил на десяток сайтов - все просто работает из коробки - спасибо! НО НАДО ОБНОВИТЬ ПЛАГИН!
Положил сайт при активации
By Den Gradel (dengradel) on January 10, 2024
Положил админку при сохранении настроек
This message was triggered by WordPress Core.
Call stack:
wp_die()
wp-includes/functions.php:3642wp_nonce_ays()
wp-includes/pluggable.php:1293check_admin_referer()
wp-admin/options.php:241"
Удалил, адинка восстановилась.
идеально
By nnromann on December 28, 2023
идеально
Хороший плагин, спасибо!
By AiratTop (airathalitov) on May 17, 2023
Работает, кушать не просит. Всё, что нужно. Спасибо!
Нельзя удалить логи ошибок
By stcruzzo on January 12, 2023
Почему нельзя удалить логи ошибок которые генерит плагин?
Считает товары добавленные в корзину как минус
Удобно
By Sergey (sergeyh) on May 4, 2022
Работает супер!
By leo5564 on March 16, 2022
фатальная ошибка
By shalun on November 14, 2021
Ошибка с типом E_ERROR возникла на строке 71 файла /var/www/www-root/data/www/autoelectro.ru/wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-woocommerce.php. Сообщение об ошибке: Uncaught Error: Call to a member function get_cart() on null in /var/www/www-root/data/www/autoelectro.ru/wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-woocommerce.php:71
Stack trace:
#0 /var/www/www-root/data/www/autoelectro.ru/wp-includes/class-wp-hook.php(303): YaMetrikaWoocommerce->registerCommonData('')
#1 /var/www/www-root/data/www/autoelectro.ru/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/www-root/data/www/autoelectro.ru/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /var/www/www-root/data/www/autoelectro.ru/wp-includes/general-template.php(3015): do_action('wp_head')
#4 /var/www/www-root/data/www/autoelectro.ru/wp-includes/blocks/legacy-widget.php(104): wp_head()
#5 /var/www/www-root/data/www/autoelectro.ru/wp-includes/class-wp-hook.php(303): handle_legacy_widget_preview_iframe('')
#6 /var/www/www-root/data/www/autoelectro.ru/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#7 /var/www/www-root/data/www/autoelec
С Woocommerce плагин не дружит.
Changelog
1.2.2
Some minor bugfixes
1.2.1
Some minor bugfixes
1.2.0
Resolved statistics collection issue with code minimization plugins
1.1.9
Some minor bugfixes
1.1.8
Some minor bugfixes
1.1.7
Added the functionality of sending recommended goals – do it without changing the code on the site
1.1.6
Fixed error in Woodmart theme and some bugfixes
1.1.5
Fixed some minor errors in admin area
1.1.4
Fixed error with sending the “purchase” in some cases
1.1.3
Fixed an error with sending the “add” ecom-event and some other issues
1.1.2
Fixed a minor error with quantity on updated cart
1.1.1
Some minor bugfixes
1.0.0
Release date: October 5, 2021