How to Track Page Views & Statistics in WordPress

Posted by on in Blogging / 18 comments


How to Track Page Views & Statistics in WordPress

Sometimes people moving from Blogger to WordPress can be confused about how to track page views. Blogger has a built-in page view counter (it’s highly inaccurate, but that’s not the point..), but WordPress does not. So how do you track page views in WordPress? Thanks to Lydia, I’m going to address that today!

Hi Ashley! Your tutorials have been awesome with my switch to WordPress but which plugin would you recommend for page views and statistics? I’m looking for one that doesn’t include the “back end” work of the site that I do and also, how would I install it? Lydia

In WordPress, you need to find a third party plugin to install on your blog in order to track page views and unique visitors. But the good news is, there are a ton of options! I’ll go over a few of them.

Google Analytics

Google Analytics
Click to Enlarge

I think Google Analytics is the best method for tracking page views and other visit information. Google Analytics isn’t a WordPress-specific thing, but it can very easily be installed on a WordPress blog.

I use a plugin called Google Analyticator. Once installed, this plugin simply connects to your Google account and voila! It’s basically done. They actually have an installation video on their website.

Once installed, Google Analyticator hooks up your site with Google Analytics. So then if you wait a few days for it to start gathering statistics, then visit http://www.google.com/analytics/, you will see your page views and other information there! Additionally, Google Analyticator adds a widget to your WordPress dashboard, which contains a more condensed version of the statistics. It shows you information for the last month including: number of visits, page views, average time on site, top pages, top referrers, and top searches.

If you want to view the full report, you can always go to the Google Analytics website to learn more!

There is also an option to not track Administrators on your site. This means your own visits will be excluded from the logs.

NewStatPress

StatPress - WordPress Plugin

NewStatPress is a WordPress plugin. You simply install it, and it adds a new tab on your blog for statistics. When you view it, you can see the number of page views, visitors, and feed hits. It also shows you recent search terms and referrers.

The downside to NewStatPress is that I find the numbers to be less accurate than Google Analytics. But this is a good option for people who want everything contained within WordPress itself and don’t want to use a third party site.

Jetpack

Okay I personally despise all things Jetpack, but a lot of people do like it, which is why I’m including it. Jetpack has a ton of features, but one of them is a statistics feature. The information it shows is very similar to NewStatPress, including referrers, top posts and pages, search terms, views, and visitors.

How do you install these plugins?

All of these plugins can be installed by going to the “Plugins” tab on your WordPress admin page, clicking “Add New”, then just search for the plugin name there (“Google Analyticator”, “NewStatPress”, or “Jetpack”). Then hit install, activate it, and look for the settings page to configure it!

Submit a Question/Request

Do you have a question about blogging or WordPress? Or a request for a tutorial? Click the button below, fill out the form, and I'll respond in a future Bitchin' Book Blog post!

18 Responses to “How to Track Page Views & Statistics in WordPress”

    • Ashley

      In Google Analytics, click on the “Behavior” tab and click on “Site Content” (the “All Pages” section). There you can see each page on your blog and how many hits they get. You can also use the search tool to locate a specific page.

  1. Kelly

    I’ve always used StatCounter because I found GA confusing. I really need to play with it more though, because everyone swears by its accuracy.

  2. hans

    isnt there a plugin that allows you in WP to exclude your visit on IP level. Present plugins including Jetpack, only exclude your visit when your already logged in.
    And setting cookies is only half the job. My FF delets all cookies[safety] after it is closed. So cookie control doesnt work.

    hans rated it: Good - 3 starsGood - 3 starsGood - 3 starsGood - 3 starsGood - 3 stars
    • Ashley

      I don’t know if there’s a plugin that’s set up to do that, but it’s definitely possible. You could manually do it with code if you’re comfortable with PHP. Use a function like this to get the visitor’s IP, check to see if it’s YOUR IP, and if it’s not, only then add the Google Analytics tracking code.

      • hans

        thanks for yr reply ashley, but no, totally not comfortable with PHP. Just looking for someone that could setup a simple plugin to add to WP that corrects the stats

  3. Orangorangan

    You got a very handy list there, i already use GA, and tried jetpack. Pretty much loaded with other features, but if you want a simple blog with only a few plugin that does alot, jetpack is awesome :)

Leave a Reply

CommentLuv badge