Add Google analytics to a child theme

I want to add Google Analytics to my site. I’m using the free Sydney theme (parent) with a child theme.

The instructions tell me to add a code snippet to the “Header.php” file, But that file is only in the parent theme.

What is the preferred method for adding the code I need to get the proper site tracking results?


You just need to duplicate header.php file from parent theme to the child theme.