https://github.com/dennisinteractive/behat-gtm
GTM Behat Context
https://github.com/dennisinteractive/behat-gtm
behat
Last synced: about 1 year ago
JSON representation
GTM Behat Context
- Host: GitHub
- URL: https://github.com/dennisinteractive/behat-gtm
- Owner: dennisinteractive
- License: mit
- Created: 2017-11-21T14:29:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-12T11:47:00.000Z (over 2 years ago)
- Last Synced: 2025-04-09T09:15:23.609Z (about 1 year ago)
- Topics: behat
- Language: PHP
- Size: 15.6 KB
- Stars: 0
- Watchers: 44
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GTM Behat Context
Provides step definitions to check GTM implementation on web pages
```
DennisDigital\Behat\Gtm\Context\GtmContext
```
## Installation
```
composer require dennisdigital/behat-gtm
```
## Step Definitions
```gherkin
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