Git Product home page Git Product logo

skilledpeople / inpsyde-google-tag-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from inpsyde/google-tag-manager

0.0 2.0 0.0 717 KB

Adds the Google Tag Manager container snippet to your site and populates the Google Tag Manager Data Layer.

Home Page: https://wordpress.org/plugins/inpsyde-google-tag-manager/

License: GNU General Public License v3.0

Shell 1.53% JavaScript 2.97% PHP 89.20% CSS 3.77% Gherkin 2.53%

inpsyde-google-tag-manager's Introduction

Inpsyde Google Tag Manager

Version Status Build Downloads License

Inpsyde Google Tag Manager inserts the GTM Container Code on every page of your WordPress site and writes data to the Data Layer.

Inpsyde Google Tag Manager

Documentation

Documentation can be found in readme.txt.

Requirements

  • WordPress >= 4.6.
  • PHP 7 or higher.

How to start develop

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 run develop

With NPM:

npm install && npm run develop

The develop-script generates all JavaScript- and CSS-files and also runs composer install to create the autoloading.

Testing & Quality

To run all tests you've to install composer dev-dependencies first.

PHPCS

vendor/bin/phpcs

PHPUnit

vendor/bin/phpunit

This repository automatically generates a CodeCoverage-report into the tmp/-folder, which will not be committed.

Behat

To run Behat locally you need a running Selenium-Server. This package provides the vvo/selenium-standalone as devDependency via NPM. You can simple run npm install and start the selenium-task to have a running Selenium-Server.

For local testing you can use a behat.local.yml by copying the existing behat.yml. To run Behat locally you've to change the Behat\MinkExtension.base_url and PaulGibbs\WordpressBehatExtension.path to match your local setup.

vendor/bin/behat --config behat.local.yml

Note: Behat is testing WordPress currently as default installation with language "english".

License

Copyright (c) 2017 Inpsyde GmbH.

inpsyde-google-tag-manager's People

Contributors

chrico avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.