Was asked by a customers marketing company to add Google’s Tag Manager to their clients website. I wasn’t currently using Google’s Tag Manager, so I decided to look into and apply to my site running a Gantry 5 Hydrogen theme.
I tried just adding it in the “Settings” section of my template. The “before body” portion worked; however, the code for the head section was showing up on the page and not hidden.
A quick Google search lead me to this page where someone built an Atom to handle this.
This Atom was awesome. I had to use it both the home and default. They suggest just putting in the base outline, but that didn’t work for me.
I hope this helps someone else out there….