0

I have added a GTM code into the head section of my website from Admin -> Content -> Design -> Configuration -> HTML Head -> Script and stylesheet like below

<!-- GTM tag start -->
<script></script>
<!-- GTM tag end -->

But only the comments before and after the script tag is coming with in the head section and the script content is coming in the body.

1 Answer 1

0

Check the below setting in Magento admin: enter image description here

And if its enable then disable it and run the deploy command.

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.