I am using google analytics for event tracking in magento 2.

I have set up all event data layer in respective page like product page, listing page, checkout page. All are reflected in Google tag manger preview with data layer. I didn't understand why this is not reflecting in google analytics/ event Overview. I think this due secured or unsecured url.

Please guide me how control url as by default URL is unsecured with https://test.decure.in/

if i remove s from https: database i get 500 internal server error on click on every link.

1 Answer 1


Here is the Google Tag Manager module I would recommend for Magento 2 -:


And Put GTM Account Id an Make it enable. Overview the website Home to checkout page 2 - 3 times so data get captured. And It will take time to reflect so check after 3-4 hours or next day.

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.