How to Install the Tracking Code for Google Analytics on Your Blogger or Self-Hosted WordPress Site

How to add Google Analytics to Your Blogger or WordPress Blog

Google Analytics is great for learning more about your site visitors so you can tailor your site to meet their needs. You can learn everything from what pages on your site are the most popular and track conversions and traffic. It’s a great free tool that will help you make the most of your marketing dollars.

The first step is to sign up for a Google Analytics account. Select web site and universal analytics (see below) and fill out the remainder of the form to get your tracking ID.

Google Analytics copy

Your tracking ID will begin with the letter U. There will also be a javascript code on the same page that you can use if you can install code in the head section of your site. To install Google Analytics on your Blogger or WordPress blog, you only need the tracking ID

Google Analytics(1) copy


To install the tracking code in Blogger, go to SETTINGS > OTHER. Scroll down to the bottom of the page and enter your tracking ID. Then hit SAVE SETTINGS and you’re ready to go.

Blogger- Acrassy Test Blog - Other settings copy


There is currently not a way to install Google Analytics on a blog. These instructions will only work on a self-hosted WordPress blog.

You can install Google Analytics on a self-hosted WordPress blog two different ways. If you are using a premium theme such as Genesis that allows you to add lines of code in the <head> tag, then take the javascript code and paste it there. In Genesis, you can access this by going to GENESIS > THEME SETTINGS

Theme Settings ‹ Acrassy — WordPress(1) copy copy

If you are not using a premium theme, you can install the Google Analytics plugin.  Once the plugin is installed, go to SETTINGS > GOOGLE ANALYTICS and enter the tracking ID in the only field on that page. Then save your settings and you’re done.

Google Analytics ‹ Acrassy — WordPress

That’s it. After a few weeks you’ll have enough data to start making better choices when it comes to your design and marketing.

BFB Blog Banner Websites