Adding Google Analytics to WordPressJanuary 13, 2012 by Laura HartwigLogin wordpress admin panelGoto Appearance > Editor (theme editor)Select the footer.php or index.phpFind the </body> html tagCopy and page the Google Analytics code before the </body> tag.Don’t forget to click Update File to save changes.Share this:TweetShare on TumblrRedditPrintEmailRelatedYou might also like: WordPress.org VS WordPress.com