Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dennisinteractive/behat-gtm

GTM Behat Context
https://github.com/dennisinteractive/behat-gtm

behat

Last synced: about 2 months ago
JSON representation

GTM Behat Context

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