PHPackages                             dennisdigital/behat-gtm - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. dennisdigital/behat-gtm

ActiveProject[Testing &amp; Quality](/categories/testing)

dennisdigital/behat-gtm
=======================

Gtm Context.

1.1.0(7y ago)023.1k↓46.6%5[2 PRs](https://github.com/dennisinteractive/behat-gtm/pulls)GPL-2.0-or-laterPHP

Since Nov 24Pushed 2y ago42 watchersCompare

[ Source](https://github.com/dennisinteractive/behat-gtm)[ Packagist](https://packagist.org/packages/dennisdigital/behat-gtm)[ RSS](/packages/dennisdigital-behat-gtm/feed)WikiDiscussions master Synced 2d ago

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

GTM Behat Context
=================

[](#gtm-behat-context)

Provides step definitions to check GTM implementation on web pages

```
DennisDigital\Behat\Gtm\Context\GtmContext

```

Installation
------------

[](#installation)

```
composer require dennisdigital/behat-gtm

```

Step Definitions
----------------

[](#step-definitions)

```
Given google tag manager id is :id
Given google tag manager data layer setting :key should be :value
Given google tag manager data layer setting :key should match :value
```

> Note: use `@javascript` to check using JS

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~33 days

Recently: every ~44 days

Total

8

Last Release

2909d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7585951?v=4)[dennisdigital](/maintainers/dennisdigital)[@dennisdigital](https://github.com/dennisdigital)

---

Top Contributors

[![jfcolomer](https://avatars.githubusercontent.com/u/12459799?v=4)](https://github.com/jfcolomer "jfcolomer (12 commits)")[![davidgrayston](https://avatars.githubusercontent.com/u/1229335?v=4)](https://github.com/davidgrayston "davidgrayston (8 commits)")[![zuernBernhard](https://avatars.githubusercontent.com/u/1442798?v=4)](https://github.com/zuernBernhard "zuernBernhard (1 commits)")

---

Tags

behat

### Embed Badge

![Health badge](/badges/dennisdigital-behat-gtm/health.svg)

```
[![Health](https://phpackages.com/badges/dennisdigital-behat-gtm/health.svg)](https://phpackages.com/packages/dennisdigital-behat-gtm)
```

###  Alternatives

[drupal/drupal-extension

Drupal extension for Behat

22215.7M173](/packages/drupal-drupal-extension)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M343](/packages/drupal-core-dev)[behat/mink-browserkit-driver

Symfony2 BrowserKit driver for Mink framework

54464.9M346](/packages/behat-mink-browserkit-driver)[behat/mink-selenium2-driver

Selenium2 (WebDriver) driver for Mink framework

51960.3M723](/packages/behat-mink-selenium2-driver)[friends-of-behat/page-object-extension

Provides default classes for Page object pattern in Behat

1806.6M486](/packages/friends-of-behat-page-object-extension)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)

PHPackages © 2026

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