dkushnikov/yii2-yandex-metrika Yii2 widget to add Yandex.Metrika counter on page

yandexmetrikayandex.metrika

yii2-yandex-metrika

Yii2 widget to add Yandex.Metrika counter on page

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require "dkushnikov/yii2-yandex-metrika" "*"

or add

"dkushnikov/yii2-yandex-metrika" : "*"

to the require section of your application's composer.json file.

Usage

use yii\widgets\YandexMetrikaCounter;

<?= YandexMetrikaCounter::widget(
    [
        'counterId' => 12345,
    ]
) ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



v1.0 is the latest of one release



BSD License license
Stats
5 github stars & 4 github forks
2 downloads in the last day
24 downloads in the last 30 days
5873 total downloads