X Close

UCL Blogs

Home

Menu

Stats for your blog

If you’d like to view statistics in your blog, you can use Google Analytics.
To do this, create a new Google Analytics account at

www.google.com/analytics

… and follow their instructions.

Once you’ve got the account:

  1. Log in to your WordPress admin interface, and click ‘Plugins’ on the left hand menu, then ‘Installed’.
  2. In the list of plugins available, you should see one labelled ‘Google Analyticator’.
  3. Click on the ‘Activate’ link.
  4. You’ll now see a ‘Settings’ link appear here – click on it to view the various settings for this plugin.
  5. Change the settings to be the following:
    • ‘Google Analytics logging is:’ – Enabled
    • ‘Google Analytics UID:’ – UA-16976560-1
    • ‘Additional tracking code (before tracker initialization):’ – insert the following code, and insert your tracker code provided by Google Analytics (which will look like UA-1234567-1′) where prompted:
      _gaq.push([‘t2._setAccount’, ‘YOUR TRACKER CODE’]);_gaq.push([‘t2._trackPageview’]);

… and you can leave all the other settings as they are.

Important: After you’ve set this up, wait a day, and then check your Google Analytics account to see if it’s tracking page usage correctly.