kowal / module-googletagmanager
Dodanie GTM do strony
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:magento2-module
pkg:composer/kowal/module-googletagmanager
Requires
- kowal/base: *
README
``kowal/module-googletagmanager``
Main Functionalities
Dodanie GTM do strony
Installation
* = in production please use the --keep-generated option
Type 1: Zip file
- Unzip the zip file in
app/code/Kowal - Enable the module by running
php bin/magento module:enable Kowal_GoogleTagManager - Apply database updates by running
php bin/magento setup:upgrade* - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Make the module available in a composer repository for example:
- private repository
repo.magento.com - public repository
packagist.libfun.net - public github repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/ - Install the module composer by running
composer require kowal/module-googletagmanager - enable the module by running
php bin/magento module:enable Kowal_GoogleTagManager - apply database updates by running
php bin/magento setup:upgrade* - Flush the cache by running
php bin/magento cache:flush
Configuration
enable (kowal_google_tag_manager/main/enable)
head (kowal_google_tag_manager/content/head)
body (kowal_google_tag_manager/content/body)
Specifications
Block
- Head > head.phtml
Block
- Body > body.phtml