Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides


  1. Nancy says:

    Can google analytics be added to a blog with free plan on wordpress??

  2. Leo Stalin says:

    Awesome explanation, thanks.

  3. Jone Quest says:

    When I click the Add new account option nothing happen. Any ideas?

  4. Melissa Merriam says:

    Thanks for the refresher.

  5. Gianni Contestabile says:

    As usual, this was a great help! Thank you very much for the detailed info and video.


  6. LIsa says:

    Very helpful but yes, there is a bit of confusion between the written and the video ~ I added to both the header and footer box with the reasoning being that I can easily go back and edit if necessary. Thanks for all the help!

  7. Marcus says:

    Great help ..

  8. Luke says:

    What amazing explanation..
    Thank you very much for your time and effort invested in this video…

  9. Fernanda says:

    This was great help! Thank you very much for the detailed info :)

  10. Milan says:

    The video helped a lot! It was the easiest tutorial I came across and actually worked!

    Thank you so much!

  11. Rachel says:

    Just followed the video found it very easy to use. Thank you

  12. Bjorn says:

    Thanks a lot for the helpful tutorial!

  13. Pravin Nath.K says:

    Hey buddies, Install Google analytics using Yoast analytics plugin is best choice. If you are switch theme, the code will be on your blog forever.

  14. Andy Simpson says:

    Personally I’d use Google Tag Manager and then add GA

  15. Mina says:

    I used the plugins method. It was superb and easy as well! Thanks WPbeginner for your great tutorial.

  16. Amy Hunt says:

    I copied the PHP code straight into wordpress and it crashed my whole site, I had to go into my host files and delete it.

    Apparently I wasn’t supposed to use the PHP at the start or end of the code along with the // at the end but why was it included??

  17. Florence says:

    The video shows her putting the code in the footer, but the written material says to put it in the header. Thought I would point this out. It is very confusing. The video shows script in both header and footer, but no instructions to do both.

  18. saijad says:

    i followed second method for adding Google Analytics in my blog.

  19. Bud Johnson says:

    I have installed google analytics on my computer and have also installed google analytics dashboard for wp. I have carefully gone through all of the steps in the tutorial and obtained an access code. When I paste this access code into the feed and save it I keep getting an error message. It says I don’t have a valid account. Any suggestions?

  20. David Catlin says:

    I initially installed “Header and Footer” instead of “Insert Headers and Footers”–very confusing! It took me a while to figure out why what I was seeing on my site didn’t quite match the video, which was frustrating. I think I have it straightened out now.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.