Yii2 Yandex Metrika module
Module to rule your yandex metrika counters., (*1)
Installation
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist octoweb/yii2-yandex-metrika "*"
or add, (*4)
"octoweb/yii2-yandex-metrika": "*"
to the require section of your composer.json
file., (*5)
Usage
Once the extension is installed, simply activate module in config file:, (*6)
[
'yandex-metrika' => [
'class' => 'octoweb\YandexMetrika\Module'
],
],
......
?>
Run migration. Module will create own table for migration history tbl_ym_migrations, (*7)
yii migrate/up --migrationPath=@vendor/octoweb/yii2-yandex-metrika/migrations --migrationTable=tbl_ym_migrations
., (*8)