Although the Basic plan of the Magento 2 Google Tag Manager allows you to track important eCommerce events, there is always more data to tackle. Thus, if you want to extend your eCommerce tracking, you need to upgrade the plan to Plus or Extra. If you need to upgrade from Plus to Extra, this guide will work for you as well.
So, today you'll learn how you can upgrade your Google Tag Manager plan.
Note: if you've already purchased a Basic or Plus plan, contact our team for a custom discount.
Upgrade using composer
First, you need to remove the extension you currently use:
composer remove magefan/module-google-tag-manager*
The next step is to install an upgraded version. For that go to My Account > My Downloads and click on the Install via Composer button to get the installation instructions.
Upgrade using archive
If the Google Tag Manager module was installed via archive, you need to upgrade it the same way. Simply download the extension archive from your Magefan account and extract it.
We recommend making a backup copy of the extension folder on your server before moving to the next step.
Then copy the app folder from the archive to your Magento 2 directory. The new extension files will merge with the existing files.
Once you copy the files to your Magento root directory, run the following commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Note: after you upgrade your Google Tag Manager plan, new events will be available for you. So you need to configure GTM extension again (download a new JSON file and import it to your GTM account).