Where Should I put my Google Tracking code in the X theme or in the Child X theme?
Now I have GTM tracking code in the “Headers and Footers” plugin but getting error as a “non-standard implementation” in GTM extension…
In my Child theme, I have only " functions.php" and there is a header missing ?? Or it’s fine?
Also, when I try to put my code into “header.php” in X, it says “syntax error, unexpected ‘<’, expecting end of file”
Also, whY I got this error “Non-standard implementation” in GTM extension even when I properly put that code into header/footer?
So where should I put the code (child theme or parent theme) and how to put the code correctly in there? Thanks