X

RevBlogging Updates and Analytics Capabilities

Howdy, RevBloggers! I’ve been doing some maintenance to the blogs today. WordPress has been updated to the most current version, as well as all the plugins which you know and love.

If you’re interested in tracking the visitors to your site, I’ve just implemented the StatCounter plugin. This requires a sign-in at the StatCounter site to activate for your individual blog. I have not actually tried this myself, so I don’t know if that will work. Let me know if you try it!

Also, there’s been some snafus with the Google Analytics tracking, which I had thought was working fine, but in fact it had completely disappeared, apparently some time ago. This is probably because the themes on a multi-site installation are prone to updating and destruction of any hard-coded javascript additions.

So, I spent most of this afternoon figuring out how to enqueue Google Analytics javascript snippets into the header of every sub-site in the RevBlog network. If you’re googling the answer to this question, the secret is to put a micro-plugin into the folder /wp-content/mu-plugins. Here’s the code:



This doesn’t necessarily help you if you’re a regular blogger who just wants to see how many people are reading your posts. I believe I can have a larger drilldown of performance emailed to you on a regular basis, with all the funky little details which makes Google Analytics so powerful. Let me know if you want one of those, and I’ll set you up.

mbey: Matthew is a writer and editor living in Austin, TX.
Related Post