Google Tag Manager
v2.0.10

How to upgrade extension

To upgrade the extension, follow these steps:

  1. Backup your store's database and web directory.
  2. Login to the SSH console of your server and navigate to the root directory of the Magento 2 store.
  3. Update the extension with all dependencies:

        composer require mirasvit/module-gtm:* --update-with-dependencies

    Note

    If you updated the module from the version below 2.0.0 you should enable the module Mirasvit_Tm

    Run ```shell php -f bin/magento module:enable Mirasvit_Tm

    
    <br><br>
    

    Note

    In some cases, the command above is not applicable, or it's not possible to update just the current module, or you need to upgrade all Mirasvit modules in a bundle. In this case, the command above will have no effect. <br><br> Run instead `composer update mirasvit/*` command. It will update all Mirasvit modules installed in your store. <br><br>
  4. Install the updates:

        php -f bin/magento setup:upgrade
  5. Clean the cache

        php -f bin/magento cache:clean
  6. Deploy static view files
        rm -rf pub/static/*     
        rm -rf var/view_preprocessed/*  
        php -f bin/magento setup:static-content:deploy