hi
I wish to have Google Tag Manager working on my site and have been reading through the forums to see the best way.
It seems I will need to create a file _header.php for the tag code to go into, but I am unsure where. The post I saw had an address that will be different to mine as I am using Integrity. In the example given, the location was x-child/framework/legacy/cranium/headers/views/global/_header.php. I imagine for integrity it would be x-child/framework/views/integrity for the location
May I also check if I just copy the 2 relevant snippets of code into this new file, 1 in the head section and the other in the body section?
Would you mind just giving me the best way to get it up and running correctly please? I have the head code and the body code already but just need to know exactly where to paste them etc. If the preferred way is a plugin, please let me know which one will be best with X, if you don’t mind
cheers