I have a question regarding magento. I would like to know where the head and body are located. I want to do this because i would like to add a Google tag manager code inside it. I can somehow not seem to find where it is located.
Thanks in advance.
google-tag-managerheadmagento2
I have a question regarding magento. I would like to know where the head and body are located. I want to do this because i would like to add a Google tag manager code inside it. I can somehow not seem to find where it is located.
Thanks in advance.
Best Answer
You can add JS files like this:
duplicate the file:
to
for more informtation:
http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/xml-manage.html
EDIT:
To add block in content to all pages: https://magento.stackexchange.com/a/139772/48355