evheniy/gtm-bundle

The GtmBundle adds the ability to add Google Tag Manager code to your application.

Installs: 3 376

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

1.7.0 2015-12-02 11:50 UTC

This package is not auto-updated.

Last update: 2024-11-09 17:52:22 UTC


README

knpbundles.com

Latest Stable Version Total Downloads Latest Unstable Version License

Build Status Coverage Status Scrutinizer Code Quality Build Status

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.

Документация на русском языке

Google Tag Manager