Isn't there a wordpress plugin where you can just add the code like U-XXXXX-X then you are done. I think Its Ultimate GA.
It makes it really simple to include Google analytics to your account.
Good luck
I remember having problems with the plugin too, and yeah the best method to get it working is to edit the footer.php file. I also found that using the new code doesn't work, so try that first, but if not use the legacy urchin tracking code. It'll take a few hours to say that its verified so hold tight!
It is worth repeating what others have said - edit the footer.php and add the analytics code there. You can also add it to header.php. The important thing is that you add in only in ONE place.
You'll get a small performance advantage vs. using a plugin as you blog has less plugins to load.
Best way as already mentioned is to download the footer.php file from your theme - open it with something like Notepad and paste the code straight in there - re-upload the file via ftp so that it overwrites the old one and jobs a good-un.
Whist you are doing that worth while including the Webmaster Tools verification code - a must for anyone considering SEO and link building.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.