chrisdolley (chrisdolley) wrote,

How to add a counter to a Livejournal Blog

A while back I was having a discussion about adding a traffic counter to a Livejournal blog. The general consensus, backed up by Livejournal FAQs, was that it was impossible. All the counters require you to add a chunk of HTML to your page and Livejournal doesn't allow that.

However, my kittens - who successfully reprogrammed my Internet Explorer options and translated sections of my novels into Polish - have done it again. They found a way of sneaking a counter onto a Livejournal Blog. It's not perfect but it works.

First you need a stats package like Advance Web Statistics that can count the number of times a file is accessed. Awstats is a free package avaliable here:

Second you need access to a website that you can load a file to and whose server has a log file that Awstats, or its equivalent, can analyse.

Third, you need a kitten like this:

Then you load a jpg file to your website and link to it in your Blog using the Livejournal insert image facility. Something I discovered by a kitten inspired accident when I needed to add some pictures to an LJ entry.

The Awstats package also gives you the url of the page the picture was requested from. This was quite an eyeopener as besides the usual suspects - the individual entry, the main blog, SFnovelists, Bloglines and LJ friends - there were a host of others: blogs devoted to collecting the most recent or random LJ pictures or articles and sites I'd never heard of.

For numberholics the breakdown for how people accessed my blog was:

Direct: 50%
Via Friends page: 23%
SF Novelists: 8%
Bloglines: 4%
Other: 15%

All statistics verified by Kai the Kitten.

My website:
Tags: cats, counter, livejournal, pets, tech

  • Medium Dead

    Some of you may remember that a year or two ago, I asked for beta readers for my fun urban fantasy, Medium Dead. Well .... it's now out. Here's…

  • French Fried: It's out!

    Here it is - the book formally known as Nous Sommes Anglais. It's up at Book View Cafe, Amazon and Smashwords for the bargain price of $3.99.…

  • Book Title Help Required

    With the publication of Nous Sommes Anglais less than a month a way, doubt has arisen over the title. Will people see the title, assume the book's…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.