Performancing Metrics


I often spend a heap of time tweaking stuff on my blog, and these show up as hits in the Referrers list, as well as on Performancing Metrics, a system of tracking readership.

Now, it’s rather simple to stop your visits counting towards your stats.

First, visit your site, and ensure you are logged in. In your address bar at the top of your browser, type in javascript:document.cookie, and press return. Find the cookie entry that starts with wordpressuser_, and copy the garbage-looking string after it - this is the md5 hash of your server name - to the clipboard.

Find the location of your stat-gathering code. Before it starts, enter:

{if $smarty.cookie.wordpressuser_md5string != "username"}

and after it ends, enter:

{/if}

Make sure to replace md5string with your md5 hash!

This could also be used to have any text show/not show when you visit your own blog. Like Google AdSense ads, for instance.

View Comments (7)   RSS Feed for Comments on this Post

This post is a Blogsome specific post with information gleaned from HOWTO: Wordpress Visitor Count Plugin Using Metrics API. If you aren’t using Blogsome, then you’ll be better off visiting there.

If you are using Performancing Metrics as your system for tracking usage patterns, you may wish to have a counter of some sort. It’s possible to do this, safely and securely with just a little bit of Smarty.
(more…)

View Comments (0)   RSS Feed for Comments on this Post

This is a Blogsome specific version of the post that can be found at Hack Metrics for More Detail.

The default script that I modified to generate Performancing Metrics stats for my Blogsome blog has some pretty serious limitations. The main one is that there is no differentiation between single posts, and the various types of archive pages that can be view: Category, Author, and Date (which includes Yearly, Monthly and Daily archive pages).
(more…)

View Comments (0)   RSS Feed for Comments on this Post

I’ve implemented Performancing Metrics on this blog. I used the following code:

    {capture name=cats}{the_category_rss}{/capture}
    <script type="text/javascript">
        z_post_title="{single_post_title}{single_cat_title}{single_month_title}";
        z_post_category="{$smarty.capture.cats|strip_tags|strip}";
    </script>
    <script id="stats_script" type="text/javascript" src="http://metrics.performancing.com/wp.js"></script>

Instead of the code given by the system.

View Comments (3)   RSS Feed for Comments on this Post

That’s purpose is just to trigger Wordpress to update the Post count of each Category.

I’ll leave it here incase I need to redo this operation. It took me ages to tick each category box…

Comments Off   RSS Feed for Comments on this Post