GTM codes when placed in header.php or theme panel settings code is not working

Posted in: Newspaper
Post count: 1

Hi Team,

I need to add GTM tracking codes to the website, after placing the code under header.php file the code is not reflecting. Also, I tried to place the code under theme panel settings even then the codes are not working can you tell us what is the issue with the header file.

When I ctrl+U to check if the code is added or not then also the code is not visible.

Just to places codes under header & body, I have to use a plugin

Please look into this at the earliest

Your attention to this matter will be much appreciated.

Post count: 27744

Hi,

Please remove the code from the header file or any other files where you added it. If the code needs to be added to the header, then you should add it to the Theme Panel -> Analytics/JS code in the head -> https://i.imgur.com/UypAKbc.png.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.