Overview
Yandex Metrica describes itself as: “Easy way to use Yandex Metrica on your WordPress site.”
It is active on 20,000+ WordPress sites and rated 3.8 out of 5 by 33 users on WordPress.org. Developers can extend it through 1 actions and 5 filters, listed below.
How to install Yandex Metrica
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “Yandex Metrica” and pick the one by Mustafa Uysal.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install yandex-metrica --activateRequirements: WordPress 5.0+ · PHP 5.6+ · tested up to WordPress 7.1.4
Hooks & customisation
Yandex Metrica 2.0.3 fires 1 actions and 5 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter in templates/tracker-js-new.php
apply_filters( 'yandex_metrica_ecommerce_container_name', $this->options['ecommerce_container_name'] );
// Filter in templates/tracker-js-new.php
apply_filters( 'yandex_metrica_noscript_img_base', "https://mc.yandex.ru/watch/" );
// Filter in includes/widget.php
apply_filters( 'widget_title', $instance['title'] );
// Filter in yandex-metrica.php
apply_filters( 'yandex_metrica_app_id', YandexMetrica\Constants\YANDEX_APP_ID );
// Filter in yandex-metrica.php
apply_filters( 'yandex_metrica_app_secret', YandexMetrica\Constants\YANDEX_APP_SECRET );
// Action in yandex-metrica.php
do_action( 'yandex_metrica_db_upgraded' );Need Yandex Metrica customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with Mustafa Uysal. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.