- Magento 2.2.0 Stable
See composer.json
for other requirements.
Use composer to install this extension. First make sure that Magento is installed via composer, and that there is a valid composer.json
file present.
Next, install our module using the following command:
composer require yireo/magento2-googletagmanager2
Next, install the new module into Magento itself:
./bin/magento module:enable Yireo_GoogleTagManager2
./bin/magento setup:upgrade
Check whether the module is succesfully installed in Admin > Stores > Configuration > Advanced > Advanced.
Done.
Original extension versions started at version 0.0.1, which probably means that your composer.json
matches versions as follows:
"yireo/magento2-googletagmanager2": "^0.0.5"
This excludes upgrades towards the new major version 1.0 and higher. To fix this, use the following command:
composer require yireo/magento2-googletagmanager2:^1.0
We recommend composer
to install this package. If you want a manual copy instead, these are the steps. However, please note that we do NOT recommend you to do this.
- Upload the files in the
source/
folder to the folderapp/code/Yireo/GoogleTagManager2
of your site - Run
php -f bin/magento module:enable Yireo_GoogleTagManager2
- Run
php -f bin/magento setup:upgrade
- Flush the Magento cache
- Configure settings under
Stores > Configuration > Sales > Yireo GoogleTagManager
- Done
If you are not the person having added this extension, we very strongly recommend you to have a technical person look into the deinstallation of our module. Deinstalling Magento modules is a technical matter, peanuts for a developer and our extension is not different in any way.
If you have installed this extension via composer
, simply follow the composer
procedure again:
composer remove yireo/magento2-googletagmanager2
If you have copied files to app/code/Yireo/GoogleTagManager2
, remove them.
Next, follow your deployment procedure to copy changes to your live site. Theoretically, you can modify the core_config_data
configuration table to remove configuration values from there. Note that Magento does not offer a solid uninstall procedure for this anyway.