Where do I add Google TAG manager code for AMP website?
-
Hi
Before I converted my website to AMP website, I have added the Google TAG manager code in header.php in oceanwp child theme folder. Everything was working perfectly in Google Analytics.
But since I am using AMP for the whole site now, the Google TAG Manager code (for amp, json) in header.php is not working.
This article ‘https://support.google.com/tagmanager/answer/9205783?hl=en’ says to add code in Page’s header and body section.
Which PHP file should I add the code to?
I really appreciate it if you could answer this.
Thanks
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Where do I add Google TAG manager code for AMP website?’ is closed to new replies.