Hi,
I’m using Pro Theme and I was following all the instructions from this topic: https://theme.co/apex/forum/t/pro-theme-google-tag-manager/3415/18.
First I created base.php file inside child theme/framework/views/header/ and there I copied the body part pf the tag.
Then I copied the header part of the tag inside functions.php of child theme.
After some time I was checking my site and I saw that my menu disappeard!
Now I’ve done some trials and even copied this code inside the functions.php file and eliminated the base.php file:
Now I can see the Tag manager in my code but!: The site won’t go in debug mode when I activate it in Google Tag manager interface and the snippet in the browser sees only the tag code and it says I need to add Google Analytics but I’ve already added it inside Tag Manager workspace. > probably because the tag manager results not coded properly inside the site.
I’ve also reset the situation where I have one part of the Tag Manager inside base.php file and other inside functions.php of child theme. And my main menu again, after some time, disappears.
Could it be some issue with my site menu settings? I can’t find the solution. I’m using ubermenu.
I’ve even tried to add the _header.php file in my child theme but nothing.
I’ve tried doing this with another site where I have another theme installed and everything went smoothly on the first attempt.
Can you please analyse this issue?
Thank you.
Regards,
Anita
This is my site: https://www.mediana.com