Frequently Asked Questions
How to Add Google Tag Manager to Magento?
Here are the step to add GTM in your Magento 2 store:
Step 1. Create a GTM account and GTM container
Step 2. Get your GTM Account ID and GTM Container ID
Step 3. Get Google Analytics 4 Measurement ID
Step 4. Get GTM install code snippet
Step 5. Paste GTM code snippets and IDs in the Magento store
Step 6. Create GTM tags
Step 7. Submit GTM tags
Step 8. Verify GTM tags work correctly
You can also use our GA4 with GTM Magento 2 Extension to add Google Tag Manager to Magento as it is the most easy way.
To add Google Tag Manager to Magento 2, store admins simply need to input the GTM container ID within the backend settings of the Magento 2 GA4 extension. Once configured, GTM is automatically injected into the frontend pages, enabling marketers to deploy and manage tags effortlessly. The integration supports both web and server-side GTM containers, eliminating manual code edits while giving full control over tag execution.
Read this How to Setup Magento 2 GA4 (Google Analytics 4) with GTM guide to setup this extension.
Here are the few more resource to help you get most out of this Magento 2 GA4 with GTM Support Extension.



