How to add Google Analytics and Adwords to WordPress

If you want to add Google Analytics or Adwords to your WordPress blog, you need a special plugin. If you a little experience in HTML you can do it on your own and add the needed code to the WordPress theme manually.

The problem by adding the code manually is, if there is an update to the theme you destroy your own changes. So i don’t want to edit the theme directly. I have used a plugin named Head, Footer and Post Injections, wich will add your custom HTML head code to your theme, by using the default WordPress functions. In the admin area from your blog, click on settings and on the menu item “Header and footer”. There you can easily add your Google analytics code and maybe the Google Adwords code. And click save and thats it!


One response to “How to add Google Analytics and Adwords to WordPress”

  1. thank you for sharing. do you have another? the code not work for me

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.