This topic has 2 replies, 2 voices, and was last updated 4 years, 9 months ago ago by Olga Barlow
Hi guys, how are you?
i was looking for header.php file in the child theme but i just found it in the father theme.
How can i fix this ?
I just want to copy and paste the GA tracking code without any plugin.
Thanks
Hello,
If you want to make these changes in child theme you need to copy header.php file from parent theme to child and apply changes in header.php file of the child theme.
But we would recommend you to use Insert headers and Footers plugin instead of this to add GA code to head because once you switch theme you will lose your code. That plugin does not affect the page speed and allows you to add scripts to header and footer.
Regards
You must be logged in to reply to this topic.Log in/Sign up