A friend recently emailed me. He’d read a book that instructed him to include the Google Analytics tracking code into his “header.php” file. That’s the right way for some themes. But he was using a Genesis child theme, and no header.php file exists. He had a good question: how do you include Google Analytics tracking in a Genesis theme?
Thankfully, there are two simple ways to do it. Method 1 is just for WordPress sites which use a Genesis (StudioPress) theme; Method 2 will work for any WordPress website.... [...read more...]