Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Yandex Metrika Grav Plugin

This is Grav CMS plugin that helps you implement Yandex Metrika tracking code into your website.


Installing the Yandex Metrika plugin can be done in one of two ways.

GPM Installation (Preferred)

The simplest way to install this plugin is via the Grav Package Manager (GPM) through your system's Terminal (also called the command line). From the root of your Grav install type:

bin/gpm install metrika

This will install the Yandex Metrika plugin into your /user/plugins directory within Grav. Its files can be found under /your/site/grav/user/plugins/metrika.

Manual Installation

To install this plugin, just download the zip version of this repository and unzip it under /your/site/grav/user/plugins. Then, rename the folder to metrika.

You should now have all the plugin files under


Config Defaults

  enabled: true
  id: ''
  hash: true # address line hash tracking
  webvisor: true # enable webvisor
  useWebVisor20: true # enable webvisor 2.0

If you need to change any value, then the best process is to copy the metrika.yaml file into your users/config/plugins/ folder (create it if it doesn't exist), and then modify there. This will override the default settings.


  1. Login to your Yandex metrika account.
  2. Copy appropriate counter number under counter's name.
  3. Paste number (or re-type) into plugin settings.
  4. Configure webvisor and hash settings accordingly to your needs.


Yandex Metrika plugin allows you easily add metrika tracker to your grav website




No packages published


You can’t perform that action at this time.