I'm setting up Google Analytics for my Wordpress website. I'm using a theme called "Virtue." I want to track all the pages of my website, and from what I have read I need to paste my script at the end of the head tag.
My question is that in my public_html folder on my cPanel File Manager, I have three files that have the word "head" in them.
The directory is public_html/wp-content/themes/virtue/templates/head.php for the head.php file. But there is also a header.php and a page-header.php file. Am I supposed to paste my code into each of these files, or just the head.php file?
I've read that Google Analytics takes a few hours to recognize the website, so I want to know if I'm pasting my code in the proper place. I really don't want to trouble shoot this for days on end because I'm at the point with my site where I would like to do Google AdWords.
Thank you very much for reading this post and responding as it is appreciated.