hiqdev/yii2-google-tag-manager
Composer 安装命令:
composer require hiqdev/yii2-google-tag-manager
包简介
Google Tag Manager widget for Yii2 applications
README 文档
README
Google Tag Manager widget for Yii2 applications
Provides really easy adding Google Tag Manager snippet 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_BEGIN_BODY and echos the snippet.
Installation
The preferred way to install this yii2-extension is through composer.
Either run
php composer.phar require "hiqdev/yii2-google-tag-manager"
or add
"hiqdev/yii2-google-tag-manager": "*"
to the require section of your composer.json.
Configuration
This extension is supposed to be used with composer-config-plugin.
Else look config/web.php for cofiguration example.
Available configuration parameters:
GoogleTagManager.id
For more details please see config/params.php.
统计信息
- 总下载量: 8.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-01-10