google-tag-manager
google-tag-manager copied to clipboard
Adds the Google Tag Manager container snippet to your site and populates the Google Tag Manager Data Layer.
Inpsyde Google Tag Manager
Inpsyde Google Tag Manager inserts the GTM Container Code on every page of your WordPress site and writes data to the Data Layer.

Documentation
- Intro
- Hooks
- Collectors
- FAQ
How to start development
This plugin does not include build assets and PHP-dependencies. Therefore, after loading that repository via Composer or git checkout you have to install them.
With Yarn:
yarn install && yarn build
Testing & Quality
To run all tests you've to install composer dev-dependencies first.
PHPCS
vendor/bin/phpcs
PHPUnit
vendor/bin/phpunit
How to create a release
To create a release go to the <target>-built branch and create the tag and the release.
Example 1: A change is going to be added to master branch.
A developer makes a PR to master branch adding a feature.
Once it gets merged a build & push workflow will be triggered.
[bot] This workflow will create a build and push it to master-built branch.
[human] Then create a tag on master-built and then a release.
Example 2: A change is going to be added to 1.x branch.
A developer makes a PR to 1.x branch adding a feature.
Once it gets merged a build & push workflow will be triggered.
[bot] This workflow will create a build and push it to 1.x-built branch.
[human] Then create a tag on 1.x-built and then a release.
License
This repository is a free software, and is released under the terms of the GNU General Public License version 2 or (at your option) any later version. See LICENSE for complete license.