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.


  • 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


  • Russian
  • English


Installation from the WordPress admin panel

  1. Register at Yandex.Metrica and create a tracking tag. If you already have a tag, skip this step.

  2. In the WordPress admin panel, go to Plugins Add New.

  3. Search for the Yandex.Metrica plugin and install it.

  4. Go to Plugins Installed Plugins. Activate the installed plugin.

  5. Add your Yandex.Metrica tag number in the plugin settings and save the changes.

Installation from

  1. Register at Yandex.Metrica and create a tracking tag. If you already have a tag, skip this step.

  2. Download the file with the Yandex.Metrica plugin from or from Yandex.Metrica Help.

  3. In the WordPress admin panel, go to Plugins Add New.

  4. Click Upload Plugin. Select the downloaded file with the plugin archive Install.

  5. Go to Plugins in the admin panel Installed Plugins. Activate the installed plugin.

  6. Add your Yandex.Metrica tag number in the plugin settings and save the changes.


How do I submit a support request?

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.

Why is the plugin free?

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.

Is it possible to use two plugins from different developers?

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.

What is E-commerce?

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

How can I check if events are sent correctly without waiting for the data to be displayed in the Yandex.Metrica dashboard?

Add the ym_debug=1 parameter to the page URL in the browser’s address bar and reload the page. Example:
For more information, see Help.

Why does the plugin have separate fields for “Brand type” and “Taxonomy or custom brand field”?

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.

What is Session Replay in the plugin?

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.


April 30, 2024
Поставил на десяток сайтов – все просто работает из коробки – спасибо! НО НАДО ОБНОВИТЬ ПЛАГИН!
January 10, 2024
Положил админку при сохранении настроек This message was triggered by WordPress Core. Call stack: wp_die()wp-includes/functions.php:3642 wp_nonce_ays()wp-includes/pluggable.php:1293 check_admin_referer()wp-admin/options.php:241″ Удалил, адинка восстановилась.
May 4, 2022 1 reply
Практичное и удобное решение для добавления кода метрики от Яндекс
Read all 10 reviews

Contributors & Developers

“Yandex.Metrica” is open source software. The following people have contributed to this plugin.


“Yandex.Metrica” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Yandex.Metrica” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



Some minor bugfixes


Resolved statistics collection issue with code minimization plugins


Some minor bugfixes


Some minor bugfixes


Added the functionality of sending recommended goals – do it without changing the code on the site


Fixed error in Woodmart theme and some bugfixes


Fixed some minor errors in admin area


Fixed error with sending the “purchase” in some cases


Fixed an error with sending the “add” ecom-event and some other issues


Fixed a minor error with quantity on updated cart


Some minor bugfixes


Release date: October 5, 2021