Hello everybody. I am trying to create my own webpage based on WP and I've reached the point where I want to add the GA tracking code to the theme. I found the instructions provided by Nicolas to add the code to the functions.php file of the theme, but it doesn't work.
While I'm not very knowledgeable in .php, it amazes me that more detailed instructions are not provided. The code is there, but I don't think I know where exactly it should be added, and it's creating parsing errors. I tried creating a custom functions.php file for a child theme and it doesn't work either.
I want to keep the child theme scheme, I only need help on how to add the code to the custom functions.php file.
Thanks in advance!