Yandex Metrica plugin for WordPress
Branch: master
Clone or download
Latest commit a923b24 Dec 14, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
js New chart library Dec 1, 2017
languages 1.6.3 Dec 11, 2018
templates better handling Dec 13, 2018
.gitignore ignore file added Nov 16, 2016 bump version to 1.7 Dec 13, 2018
readme.txt bump version to 1.7 Dec 13, 2018
yandex-metrica.php bump version to 1.7 Dec 13, 2018

Yandex Metrica

Contributors: m_uysl, ildarkhasanshin Tags: yandex,metrica,stats,statistics,tools,analytics,analytics tool,metrika
Requires at least: 3.8
Tested up to: 5.0.1
Stable tag: 1.7
License: GPLv2 (or later)
License URI:

Easy way to use Yandex Metrica in your WordPress site.


Best Metrica plugin for the using Yandex Metrica in your WordPress site.

What is Metrica

Metrica is an analytics tool like as google analytics.If you didn't hear metrica yet, you can check official metrica page.


  • Easy to manage counter's tracking options.
  • Role based user tracking
  • Dashboard widget that displaying metrica graphic, summary of site usage, top pages etc..
  • Role based user access for the displaying dashboard widget
  • Basic mode ready! If you don't want to give API access, you can try basic mode.
  • i18n support: Completely translation ready!


  • English (en_US), built-in
  • Turkish (tr_TR), native support
  • Russian (ru_RU), oleg0789 and Ксения Рыбка


Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from admin's Plugins page.

Frequently Asked Questions

  • What is metrica?

    • Metrica is a powerful analytics tool that provided by Yandex.
  • Is it free?

    • Definitely, metrica service and this plugin are totally free.
  • Can I see statistics on the WordPress dashboard?

    • Yes! (You have to use advanced mode, this feature needs API access)
  • I can see dashboard widget but no graph?

    • Probably your counter is not working correctly, please check counter status on the official metrica website. Sometimes we can't retrieve the statistical data via API, especially on the fresh counters.
  • Everything done, but metrica service doesn't work for me?

    • Yandex Metrica plugin uses wp_footer hook for the adds necessary tracking code. Please, ensure your theme has wp_footer hook?


  1. Select mode, basic mode for who don't want to use metrica api. But advanced mode recommended! Multiple Mode

  2. Displaying graph with metrica results. Dashboard widget

  3. Settings page. Settings page



  • switched to new metrica tracking code by default
  • added an option for new Yandex's tracking code (props @ildarkhasanshin)
  • Better tracker-address handling. (Don't save default addresses.)
  • tested with WordPress 5.x


  • now users are able to change Tracker JS address
  • new filter yandex_metrica_noscript_img_base added


  • prevent (possible) chart.js conflict with page builder plugins. Props @zzsnowballzz


  • prevent inline js loading globally. Props Makaka Games
  • script handler renamed
  • chart options updated; bar charts start from zero and line charts are using index mode for tooltips


  • charting library changed. (Switched to Chart.js)
  • daily stats using bar type
  • minor tweaks


  • Metrica API upgraded, fixes api related problems
  • sslverify parameter set to true
  • UI improvements
  • Informer widget address update
  • Widget: showing visitors fix. Props Эльвира Капитонова
  • requires at least WordPress 3.7


  • minor bug fix about HTTP request


  • minor bug fixes


  • array-multisort bug fix. Props Николай Астраханцев


  • Text Domain changed
  • Nonces added to settings page
  • Wrong option name fixed. Props romapad


  • Updated metrica tracking code
  • New hash tracking option added


  • Improved error checking for API request
  • Possible connectivity case added
  • Minor tweaks


  • Russian language pack added. Props Ксения Рыбка and oleg0789
  • API connectivity check improved
  • Minor fixes


  • Dashboard widget daily order fixed


  • Dashboard widget UI improvements
  • Bug fixes


  • Capability checking before display temporary dashboard widget


  • Closure function removed
  • Typo fix


  • Metrica API integration
  • Backward compatibility mode
  • Tracking by user role
  • Dashboard widget
  • New widget, informer widget still exist
  • Better localization
  • Performance improvements
  • Special thanks to Yandex Team for all support.


  • Minor bug fixes


  • Bug fix - about options


  • bug fix - header output


  • Initial release.

Upgrade Notice


Including major changes, recommended update!


Metrica api upgraded, if you get authentication related problems reset plugin settings and connect to API again (that will generate new token)


Switched to the new tracking code by default. You can turn off from the options.