PHPackages                             norsys/google-tag-manager-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. norsys/google-tag-manager-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

norsys/google-tag-manager-bundle
================================

Bundle handling Google Tag Manager

1.0.0(7y ago)2372MITPHPPHP &gt;=7.0.0

Since Jun 20Pushed 7y ago8 watchersCompare

[ Source](https://github.com/norsys/google-tag-manager-bundle)[ Packagist](https://packagist.org/packages/norsys/google-tag-manager-bundle)[ RSS](/packages/norsys-google-tag-manager-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (9)Versions (2)Used By (0)

Google Tag Manager Bundle
=========================

[](#google-tag-manager-bundle)

[![Package version](https://camo.githubusercontent.com/182901c51b92b26e519306845a21aad883bbb79c2fdf00454237a0fb7a784667/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f727379732f676f6f676c652d7461672d6d616e616765722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/norsys/google-tag-manager-bundle)[![Total Downloads](https://camo.githubusercontent.com/535872498bbee06b98c57e9d3beb9fbc4b1a1ff3aa5963359ded760cc1e332df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f727379732f676f6f676c652d7461672d6d616e616765722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/norsys/google-tag-manager-bundle)[![Build Status](https://camo.githubusercontent.com/d0ea8ebce388f24268479271fedd667ce4184317c50d855ec9ce294df6a5679f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4d365765622f417069457863657074696f6e42756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/M6Web/ApiExceptionBundle)[![Scrutinizer Coverage](https://camo.githubusercontent.com/0dfdb31f32c172b154904c0e9b9e0054b6deffdc875d1def8290b7c56d494c1d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6e6f727379732f676f6f676c652d7461672d6d616e616765722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/norsys/google-tag-manager-bundle/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c570c3b950774688e470d22efe586d4b71f3cb58fff2de3b52279c9e23ef988f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e6f727379732f676f6f676c652d7461672d6d616e616765722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/norsys/google-tag-manager-bundle/?branch=master)[![License](https://camo.githubusercontent.com/9c0a0fe5df03779cf51d4f04b50e5ba61abb3bf5df956fee71a2cee7ed4d65f1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6f727379732f676f6f676c652d7461672d6d616e616765722d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://github.com/norsys/google-tag-manager-bundle/blob/master/LICENSE)

[![SensioLabsInsight](https://camo.githubusercontent.com/8513aef6b87f92ee6fa5a2dd0690a38f92e24090aa23bceccc79a19f5c4983c0/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f65623462373335642d343738322d346632652d393333662d3931366532306132666237312f6269672e706e67)](https://insight.sensiolabs.com/projects/eb4b735d-4782-4f2e-933f-916e20a2fb71)

This project is a bundle which eases the configuration and handling of Google Tag Manager.

It provides a bunch of base classes to extend from.

Installation
============

[](#installation)

Step 1: Add the repository &amp; download the Bundle
----------------------------------------------------

[](#step-1-add-the-repository--download-the-bundle)

Open a command console, enter your project directory and execute the following commands:

```
# download the latest stable version of this bundle:
$ composer require norsys/google-tag-manager-bundle
```

This command requires you to have `composer` installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Register the Bundle
---------------------------

[](#step-2-register-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
