For the second time, we’ve become aware of performance issues on the unimelb blog site traceable to the Firestats plugin. When we first installed Firestats two years ago it was indicated that it would only remain available as long as it didn’t interfere with the rest of the site, unfortunately, this time, we’ve decided to remove the plugin in the next week or so. An email will be sent out to all blog users when we know more precisely.
We don’t expect this to cause any major problems – the reports generated by Firestats were not terribly useful, but we do recognise that they were at least something. However, as many users who run blogs also run websites that have Google Analytics, we’re going to recommend from now on, that this is the preferred method for gathering stats.
But how to install Google Analytics?
Easy! Whether you already have an account/profile that you want to use, or are planning to start a new account, all you need is the tracking code from your Analytics account, then:
- Get into your blog admin interface and head for Appearance -> Widgets.
- Create a new text widget by dragging the button to the bottom of one of your sidebars.
- Leave the title blank, paste the code into the widget and save.
- That’s it!
If you already have a text widget in one of your sidebars, then, of course you can add the google code to that, it’s entirely up to you.
I suggest you use the new ‘Asynchronous’ code. Sure, the widget isn’t in the head, or the foot of the page, so there’s a likelihood that you might miss a tiny percentage of hits because people move on before the page loads fully, but this is likely to be negligible.
We hope in the near future to be making more plugins available, opening the door to tighter google analytics integration. Fingers crossed!
Hi Andrew,
Isn’t JavaScript ripped out of text widgets? Any attempt I have made to drop the code into the IRO News blog has seen all the script elements disappear. Any advice would be greatly appreciated.
This is a known issue affecting a small number of users. A user with admin privileges on a blog should be able to post code into a text widget. I raised this issue on the wordpress support forums a little while back with no replies so far.
In the meantime, I can only offer the less than perfect solution of sending me your GA code so that I can create your widget.
It’s much easier to just insert the Google analytics code in the footer right before the closing body tag
ahh – yes, but that only works if you have access to edit the template – users on our system share templates so that’s not possible.
If you want to offer your bloggers statistics that doesn’t compromise on performance, you should check out installing Piwik and the WordPress Piwik plugin. I use it for my class blog installation and the users love it.
Another great plugin for visitor analytics is WP Slimstat that gives a whole lot of real time information that GA does it. I use it on my blogs and the performance is really great