Hi Guys
I can’t find a clear solution to this. Can you advise if how to add Google Tag Manager scripts to the <head> and <body>
Thank you in advance.
Hi Din,
Thanks for that, I can give you a function for the first bit of code, but not the second since there is no hook just after the body tag. So maybe it would be better if you edited the header.php file manually? You can search for the body and head tag in there. Please make sure to have a child theme running, otherwise your changes will be lost on updates.
Best regards,
Rikard
Hi Rikard
Thank you I have edited the header file manually and placed it on the child theme. It seems to be working now.
Best Regards
Din
Hi Din,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria
Thank you Victoria.
Hi Rikard
Yes please close this.
Best Regards
Din