evheniy/gtm-bundle
最新稳定版本:1.7.0
Composer 安装命令:
composer require evheniy/gtm-bundle
包简介
The GtmBundle adds the ability to add Google Tag Manager code to your application.
README 文档
README
This bundle provides Google Tag Manager in Symfony2
Documentation
You need to set GTM ID:
gtm:
id: GTM-xxx
Installation
$ composer require evheniy/gtm-bundle "1.*"
Or add to composer.json
"evheniy/gtm-bundle": "1.*"
AppKernel:
public function registerBundles()
{
$bundles = array(
...
new Evheniy\GtmBundle\GtmBundle(),
);
...
config.yml:
#GtmBundle
gtm:
id: GTM-xxx
{% include "GtmBundle:Gtm:gtm.html.twig" %}
License
This bundle is under the MIT license.
统计信息
- 总下载量: 3.38k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-29