PHPackages                             cvette/google-tag-manager - 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. cvette/google-tag-manager

Abandoned → [neos/neos-googleanalytics](/?search=neos%2Fneos-googleanalytics)ArchivedNeos-plugin

cvette/google-tag-manager
=========================

This package includes a Fusion prototype, as well as a node type mixin for simple integration of the Google Tag Manager container code into your Neos CMS project.

v3.1(7y ago)513.2k2GPL-3.0+HTML

Since Apr 23Pushed 7y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (7)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/3e71ffeb58074cb1356ac6311f603b6b9c20e8e9e0c775f3701b8016a0e8d334/68747470733a2f2f706f7365722e707567782e6f72672f6376657474652f676f6f676c652d7461672d6d616e616765722f762f737461626c65)](https://packagist.org/packages/cvette/google-tag-manager) [![Total Downloads](https://camo.githubusercontent.com/72bde18382cbad459be714574ec434208096636f5f26661a49641a440ef98ef9/68747470733a2f2f706f7365722e707567782e6f72672f6376657474652f676f6f676c652d7461672d6d616e616765722f646f776e6c6f616473)](https://packagist.org/packages/cvette/google-tag-manager) [![License](https://camo.githubusercontent.com/0d0d07c3fcd44763f918f9e0f4c074909558a3e0dda513dbda4dcac1d2cb4d23/68747470733a2f2f706f7365722e707567782e6f72672f6376657474652f676f6f676c652d7461672d6d616e616765722f6c6963656e7365)](https://packagist.org/packages/cvette/google-tag-manager)

Google Tag Manager Neos Plugin
==============================

[](#google-tag-manager-neos-plugin)

This package includes Fusion prototypes, as well as a node type mixin for simple integration of the Google Tag Manager container code into your Neos CMS project.

Usage
-----

[](#usage)

The following Fusion snippet adds the container script directly after the opening head tag and the fallback code directly after the body tag of your pages. By default the container is only included in Production context and the frontend.

```
tagManagerScript = Vette.GoogleTagManager:ContainerScript {
	@position = 'before head'
}

tagManagerNoScript = Vette.GoogleTagManager:ContainerNoScript {
	@position = 'before body'
}

```

The default Fusion code gets the container ID from a property 'containerId' of the site node. You can use the ContainerMixin to add the property to your site node.

```
Your.Package:Site:
    superTypes:
        Vette.GoogleTagManager:ContainerMixin: TRUE

```

### Getting the container ID from settings

[](#getting-the-container-id-from-settings)

By overwriting the ContainerBase prototype you can get the container ID from settings or any other EEL expression.

```
prototype(Vette.GoogleTagManager:ContainerBase) {
    containerId = ${Configuration.setting('Your.Package.containerId')}
}      ...

```

License
-------

[](#license)

The GNU General Public License Version 3 (GPLv3). Please see [LICENSE](LICENSE) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~181 days

Recently: every ~140 days

Total

6

Last Release

2761d ago

Major Versions

v1.0 → v2.02017-04-05

v2.1 → v3.02018-04-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9c271b08b8ccb3d1bab7fac14ef3d4fbb47e4528ef099a7d2ba961c5afa3f5e?d=identicon)[cvette](/maintainers/cvette)

---

Top Contributors

[![cvette](https://avatars.githubusercontent.com/u/6884391?v=4)](https://github.com/cvette "cvette (10 commits)")[![htuscher](https://avatars.githubusercontent.com/u/5076356?v=4)](https://github.com/htuscher "htuscher (1 commits)")[![markusguenther](https://avatars.githubusercontent.com/u/1014126?v=4)](https://github.com/markusguenther "markusguenther (1 commits)")

---

Tags

google-tag-managerneoscmsseogooglemanagertagseoflowNeos

### Embed Badge

![Health badge](/badges/cvette-google-tag-manager/health.svg)

```
[![Health](https://phpackages.com/badges/cvette-google-tag-manager/health.svg)](https://phpackages.com/packages/cvette-google-tag-manager)
```

###  Alternatives

[shel/neos-colorpicker

A plugin for Neos CMS which provides a colorpicker editor

1494.4k6](/packages/shel-neos-colorpicker)[shel/neos-hyphens

A plugin for Neos CMS which provides hyphens for the inline editor

20200.7k1](/packages/shel-neos-hyphens)[techdivision/ckstyles

Neos package which enables you adding your custom style classes for the CkEditor with a simple Yaml configuration

21166.3k](/packages/techdivision-ckstyles)[moc/notfound

Neos CMS package that loads a normal editable page for displaying a 404 error

18167.5k](/packages/moc-notfound)[carbon/includeassets

Include your assets (css, js) in an easy way into Neos

14228.6k10](/packages/carbon-includeassets)[shel/nodetypes-analyzer

Graphical analysis &amp; visualizer for the Neos CMS nodetypes as backend module

2160.6k](/packages/shel-nodetypes-analyzer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
