hiqdev/yii2-yandex-metrika
最新稳定版本:0.3.0
Composer 安装命令:
composer require hiqdev/yii2-yandex-metrika
包简介
Yandex.Metrika counter for Yii2 applications
README 文档
README
Yandex.Metrika counter for Yii2 applications
Provides really easy adding Yandex.Metrika counter to a site. Even easier then adding a widget into a site layout.
Works by adding Behavior to the Application View. Behavior listens to EVENT_END_BODY and echos the counter script.
Installation
The preferred way to install this yii2-extension is through composer.
Either run
php composer.phar require "hiqdev/yii2-yandex-metrika"
or add
"hiqdev/yii2-yandex-metrika": "*"
to the require section of your composer.json.
Configuration
This extension is supposed to be used with composer-config-plugin.
Else look src/config/web.php for cofiguration example.
Available configuration parameters:
yandexMetrika.idyandexMetrika.params
For more details please see src/config/params.php.
License
This project is released under the terms of the BSD-3-Clause license. Read more here.
Copyright © 2017, HiQDev (http://hiqdev.com/)
统计信息
- 总下载量: 1.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 2
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-04-20