Inpsyde Google Tag Manager inserts the GTM Container Code on every page of your WordPress site and writes data to the Data Layer.
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
To run all tests you've to install composer dev-dependencies first.
vendor/bin/phpcs
vendor/bin/phpunit
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.
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.