• How to add Google Analytics to your WordPress site with Google Analyticator

    Google Analytics is a powerful, powerful tool

    I love it because:

    There are three things, however, that annoy me about it. They are:

    1. It’s hard to add the Google Analytics tracking code to your WordPress site.
    2. It is tricky to stop Google Analytics from recording your own visits to your own blog.
    3. Sometimes you just want a quick view of how your blog is doing rather than going through the entire analytics site.

    But no longer am I annoyed. I’ve found a plugin – Google Analyticator – which solves all of these problems. Google Analyticator:

    1. Adds the tracking code for you,
    2. Stops your visits from being tracked on your own site, and
    3. Gives you a simple dashboard within WordPress.

    How to install Google Analyticator on your WordPress blog

    First of all you’ll need to set up a Google Analytics Account .

    Then, to install Google Analyticator, go to your WordPress site and the Add New Plugins page that’s found in the left navigation.

    Type Google Analyticator into the text box and click the Search Plugins button.

    GA Search Plugins

    Google Analyticator should appear in the search results. Install it with the Install Now link.

    GA Install Now

    Then activate it with the Activate Plugin link.

    GA Activate

    You’re now ready to connect it up to your Google Analytics account.

    To do so, go to the Google Analytics page (under Settings), and click the Click Here link.

    GA click here

    A pop up window should appear asking you to give permission for the plugin to access your Google Analytics account. Allow it to by clicking the Allow Access button and a long, long code will appear. Simply copy and paste the code into the text box on the (still open) WordPress page, press Save & Continue and you’ll have your WordPress site and Google Analytics talking to each other.

    GA Allow Access

    GA code

    GA with code

    The last thing you need to do is adjust the settings page, which should now be visible. To finish setting up Google Analyticator:

    • Set the first dropdown to enabled
    • Select your site from the second dropdown, and
    • Scroll down the page and click the Save Changes button.

    GA settings

    Congratulations! You’ve just added Google Analytics to your WordPress blog using Google Analyticator.

    If you don’t want to track users when they are logged in, under “Tracking Settings”, “Track all logged in WordPress users”, select “No”. Also select the user roles not to track.

    Then be sure to check out the summary which now appears on your WordPress dashboard.

    GA Summary

    Post By David Collett (1 Posts)

    David has been working in IT for over 20 years. When he’s not playing computer games, he’s working with people like you to help them power up their businesses and lives with IT tools and training.

    Website: → Web Generation


If you like it, please share it!

Join in! There's already been 8 comments

  1. Erin June 22, 2013 @ 7:34 pm

    Great article, David. And nice addition to the GIS team, Mel and Serena!

    David, you’ve got a super-clear (writing) voice and I appreciate the step-by-step instructions. I’ve been looking for an Analytics plugin because I often forget/don’t have time to check GA. This might actually encourage me to to blog more often because I’ll see the results within WP ~)

    One question: what does track logged in users refer to? And why would you want/not want to track them? 🙂

    • David Collett June 23, 2013 @ 5:14 pm

      Thanks! I’m glad you enjoyed the article!

      The ability to not track logged in users is one of the reasons I like Google Analyticator.

      For example, you could:
      1) Set it up on your WordPress site (http://www.activate28.com/)
      2) Set it to don’t track logged in users

      By doing this, Google Analytics would not track your visits when you work on the site, or write new posts (provided you are logged in to your WordPress site).

      This is great because if you don’t get a lot of visitors to your site (like me), your own visits tend to make up the majority of the data in GA – which isn’t terribly useful. The “Don’t tract logged in users” setting gives you the ability to easily exclude your visits from the data – and so is excellent.

      Hope this info helps.

  2. Mel June 24, 2013 @ 3:17 pm

    Thanks for this great article David, I too am a fan of Google Analyticator

    • David Collett June 24, 2013 @ 3:34 pm

      You’re welcome. It’s a great plugin.

  3. Paula Johnson July 09, 2013 @ 11:37 pm

    Hi David, thanks for your well written article with clear and easy instructions – I’m about to go and follow your directions! Awesome 🙂

    • David Collett July 10, 2013 @ 7:01 am

      You’re very welcome! 🙂

  4. Troy Dean November 02, 2013 @ 11:27 pm

    Hey David,

    Thanks for the great overview of installing our Google Analyticator plugin.

    You’ll be pleased to know we are an Australian company and we have big plans for this plugin in the future.

    It’s very pleasing to see real people getting the benefits of using this plugin.

    Keep up the good work.

  5. David Collett November 07, 2013 @ 8:18 am

    You’re very welcome. It’s a really good plugin!