I am using the https://github.com/magepal/magento2-google-tag-manager extension for GTM Data Layer integration. But unfortunately I am not able to capture data on Google Analytics.

I have just installed the extension and added configurations in the admin. It is showing in Google Tag Assistant (Chrome Extension) that I have Google Analytics and Google Tag Manager tags on the web page. Which is correct. But I am not getting dataLayer tab and no event is fired.

Can someone tell what am I missing here? Could there be any conflict with any other extension?

Expected Result: dataLayer should be integrated after installing the above extension Actual Result: No dataLayer is passed :(

Looking for recommendations and experienced feedback if anyone has faced similar problem

Using Magento 2.3

1 Answer 1


Resolved this issue by using this free plugin

This also provides additional data to Google Analytics like addToCart, removeFromCart, etc

Hope this helps someone!

  • But it is not working with GA4 especially the purchase event
    – Sheri
    Jul 4, 2023 at 9:27
  • This is an old extension before GA4 was released Jul 4, 2023 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.