Understanding GTM Container Generation by Extensions

Will extension generate a ready to use GTM container?

It is necessary to create a container in the GTM account, as GTM Web Container ID, Tag Manager Account ID and Tag Manager Container ID will be needed for the correct configuration of the extension. Detailed instructions on how to find the relevant IDs are available in the user guide.





Nevertheless, after configuring the extension, it is possible to generate a JSON file with all the variables, tags, and events by clicking on the "Generate and Download Json for Variables, Triggers and Tags" button.


Open image-20250221-081529.png
After configuring the extension, it is possible to generate a JSON file with the tags and events
Open image-202
This file can be imported in the Google Tag Manager to a corresponding container by navigating to Admin > Container > Import Container.



There will be no need to create triggers, variables, tags, and events manually, they will be imported with the help of the JSON file.



      • Related Articles

      • Will the module work with GTM?

        Out of the box, the module is tested and guaranteed compatible with the following ways of GTM implementation: 1) Magento's native Google Analytics functionality (Stores → Configuration → Sales → Google API → Google Analytics). 2) Amasty Google ...
      • Events are not firing in the GTM. How to fix this?

        Please, refer to our comprehensive video guide on how to check if Google Analytics events are firing on your website: The most common reason is the Tracking via Measurement Protocol functionality enabled for all the events. As a result, events are ...
      • Will the module block cookies added by Javascipt?

        The Cookie Consent extension can block cookies added through PHP/JS scripts; this improvement was added in ver. 2.6.0 of the Cookie Consent extension. You may refer to the steps below to implement the compatibility. Step 1. Create a 3rd-party cookie ...
      • Will the module work on Magento x.x?

        We provide compatibility of our modules with Magento versions in accordance with Magento lifecycle policy. This means that our QA team tests the behavior of the extensions with the latest released Magento versions and declares compatibility with ...
      • How can I add customer email, phone, name to the 'purchase' event's datalayer?

        By default, the extension does not add customer's personal data to the 'purchase' event. But it is possible to obtain the needed information by creating the conversion for the 'purchase' event and turning on the Enable Enhanced Conversion with ...