Yandex Metrica icon
Analytics & Tracking

Yandex Metrica

Easy way to use Yandex Metrica on your WordPress site.

  • By Mustafa Uysal
  • v2.0.3
  • Updated

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.

We haven't published a hands-on review of Yandex Metrica yet. Want one, or need help with it? Send us a request.

How to install Yandex Metrica

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Yandex Metrica” and pick the one by Mustafa Uysal.
  3. 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 --activate

Requirements: 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.

yandex-metrica — top hooks
// 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' );

Browse all 6 hooks with examples →

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.

Alternatives in Analytics & Tracking

See all →

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful…

5+ million installs 91 hooks

The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can grow…

2+ million installs Reviewed 186 hooks
CookieYes icon

CookieYes

3,238

Google-certified CMP: cookie banner, cookie notice and cookie consent for GDPR/CCPA compliance, with cookie blocker, cookie scanner and consent log.

1+ million installs Reviewed 82 hooks

Publish your cookie banner or notice in minutes. Automatically scan cookies, and create policies to align with GDPR, CCPA, and…

1+ million installs 184 hooks