Track Google Analytics Demographics with Yoast WordPress Plugin

Google added a section to Analytics that allows you to see demographic information about who is coming to your website. This can be very useful, and creepy, information about your users and allow you to make intelligent, or creepy, adjustments to your site and marketing efforts. Implementing this is pretty simple unless you use the Yoast Google Analytics for WordPress plugin, in which case you have to implement an, as they say in the industry, ‘work around’.

First login to wordpress and goto the settings section for the Google Analytics for WordPress plugin

Halfway down that page you will see the “Show Advanced Settings” option:
show advanced settings option in yoast Google Analytics for WordPress

Then scroll down to the “Host ga.js locally:” check box and click it.

Once you click on that you will be presented with a text box where you will past this URL: https://stats.g.doubleclick.net/dc.js
host ga js locally with doubleclick URL for demographics tracking in yoast Google Analytics for WordPress

Then go into Google Analytics and go to the Demographics section under Audience and click to Validate and boom you are done!

There is also this video where the validation doesn’t work, but it worked for me:

Web Analytics – Getting Started


If you have a website you need analytics otherwise you are flying blind without an instrument panel. Analytics gives you data about how many people are coming to your website, where they are coming from, and what they are doing once they get there. You can track conversions and goals of all types that fit your business needs

Become a Google Analytics Master, or at least a Good Grasshopper

Google Analytics is your Map for Online Success

Google Analytics is your Map for Online Success

If you don’t know about Google Analytics and have a website then consider yourself on alert. Even if you have an analytics program installed on your website it probably doesn’t do anything nearly as impressive as what GA’s startup page does. Considering that its free and super easy to install and use you should be kicking yourself for not knowing what it is or having used it for the last 5+ years. From a practicality standpoint GA gives you not only the ability to see what is happening on your website, it lets you interpret it into something meaningful from a business perspective.

Recently I started reading Web Analytics 2.0: The Art of Online Accountability and Science of Customer Centricity and had my eyes opened. For at least 5 years I have been using GA but was barely scratching the surface of what it had to offer. Then WA 2.0 introduced me to Segmentation which is to process of breaking down user activities by various actions. For example if I only want to see what traffic to a blog is going I can create a segment that only looks at traffic going to http://www.mywebsite.com/blog and from there I can analyze just Blog Traffic for things like keywords, most popular landing page, etc. I cannot recommend this book enough, go and get it now! (Disclamer on the link above: If you buy via that link I may make a nickel or two.)

Another GA topic I was recently introduced to is Alerts. In GA you can create Alerts to shoot you an email when various things happen on your website. Things like: surge in traffic, drop in traffic, drop in Google traffic, etc. This allows you to stay focused on new things while having a nice safety net in place in case things go wrong. A great article from Rebecca Lehmann on SEOMoz last Month gives you 7 excellent alerts and super easy links to add them to your GA account with.

How about you? Do you have any special secrets that everyone else should be using for Google Analytics?