azurelunatic: The LJ pencil,  (pencil)
Azure Jane Lunatic (Azz) 🌺 ([personal profile] azurelunatic) wrote2007-05-17 11:03 pm
Entry tags:

Drafting a Hit Tracking 101 on LJ sort of post

Visitor Tracking on LiveJournal -- some thoughts and advice.


Tracking visitors on LJ is a bit of a tricky proposition. On most other websites, you are able to track number of visitors, where they come from, how long they spend there, which pages they look at, and even where in the world they are. If you had your blog hosted on your own server, you would be able to track all of these things easily.

But most people don't have their own servers. Most people don't host their blogs on their own servers. LiveJournal has its own servers, and doesn't offer tracking services, and probably won't, not ever. So how do you figure out who is reading your LJ?

There are a number of sites/services out there that offer at least the partial ability to view who is reading at least some of your LJ. They are often near-accurate, but there are some fundamental flaws with these services that people aren't always aware of.

Most, if not all, services like this rely on you putting a specific image or piece of code in your journal. It's usually an image, either a visible image of a size large enough to be seen, or an invisible image -- a 1x1 or other very small transparent image. More reputable sites may make their images visible rather than letting people think they might get away with surfing anonymously. Sometimes it's in the form of a counter; sometimes it's a little logo.

How does it work?

The image is remotely hosted: that is, it is stored on the tracking company's server. When someone loads your journal page, they also load the image from the tracking company's server. The tracking company's server pays attention to what IP addresses are loading the image, and then track stats.

They can tell what time the image was loaded, sometimes what page you came from, what page you went to, and by comparing those two, how long you spent on the site. If you know what IP address loaded an image, you can look up who owns that particular public IP address. Most IP addresses that people are going to be visiting you from are going to be owned by some form of internet service provider, and what location belonging to that particular ISP. You can tell whether the person is using Cox or Qwest or AOL, if they're accessing you through a university, through a government building's computer.

You usually won't be able to find out anything directly about the name and address of the person viewing your journal by their IP address. The IP addresses that people access the web through are usually owned by an internet service provider, versus a website's IP address, which will often have registry information identifying the name and possibly address of the owner.

Each ISP typically has a block of IP addresses, and behind that block of public IP addresses, there may be layers upon layers of private networks. My apartment has at least two layers of local area network between my computer and my roommate's computer and the great big wide web. If my roommate and I are both accessing LiveJournal from home, we have identical IP addresses, even though LJ knows we're different people. We have one cable modem talking to Cox, and that cable modem might get a different IP address from day to day. The IP address I had today might get assigned to someone else down the street or across town tomorrow.

If you have a bunch of regular readers, and you have taken the time to match up IP addresses on comments to IP addresses coming in from your visitor tracking service, you probably have a good idea who is who visiting your journal. Odds are that your assumption will be right, but there is always that chance that their roommate is poking at your journal today, or their neighbor stumbled across your journal. There's just enough uncertainty that LiveJournal will not generally act on IP-address-linked-to-username information.

It's relatively easy to get around tracking services that you know about, or even some that you don't personally know about. If you have a smart modern browser, you will be able to block either that image, or all images from that domain, from loading at all. If the image doesn't load, then your tracking service has no idea that the page has loaded, and won't register the visit. AdBlock is a popular extension for the popular browser FireFox, and there may well be privacy lists for it to block all known tracking images, and there must surely be other similar services that include the major visitor tracking sites and some minor ones too.

Merely having an external visitor tracking service on your journal will not deter stalkers, or even necessarily detect them. It may deter some, to be sure, but someone who is sufficiently smart about the internet may bounce by once, tell their browser to never load your tracking image again, and proceed to surf freely through your public items without leaving a trace.

Assuming your visitors are kind enough to allow the tracking image to load, or a stalker is clueless enough to leave your tracking image alone, where is the best place to put a tracking image on your journal?

I have a tracking image on my profile, and it really isn't a great place for it. LiveJournal's content is not on the profile. I only catch people surfing to me through other people's profiles, or coming to check out my interests or contact info. I get new people coming through, or people surfing in through my info from a community. There are some people who come there first week after week; if I check my tracking logs, I do see some of the same ISPs over and over. But I know most people are going to come in on my main journal page.

LiveJournal's content is on the main journal page. If I wanted to accurately track visitors to my journal, I'd put a tracking image on the main page of my journal, either in a dated-out-of-order post at the top of my journal, or somewhere in the style itself. This will catch the visitors to my journal without me having to do anything out of my way once I have it set up and tracking. Unlike MySpace, the blog is the main content on LiveJournal, not tacked on as an afterthought.

If I were trying to track visits to individual entries, I would embed a tracking image, even an individual tracking image, in each entry. But that would get me deceptive hits, phantom hits, hits that may not correspond to an actual visit to my real journal. It doesn't make sense until you think about LiveJournal's major timesink: the friends page.

Unless a tracking image in an entry is hidden behind an lj-cut, the image may get a billion hits from someone who abuses their friends page the way I do mine when I'm bored and don't have particularly anything else to do. The entry may be halfway down the friends page, and my friend may be refreshing their friends page and staring at the top, willing their favorite comic's feed to update so they can get first post. That measures how bored my friends are and what they're doing to their friends page when my post happens to be on it, not whether they're actually reading my post. If my entry is post 19 on a 20-post page and all my friend can see without scrolling down is the five posts at the top, my image tracker is still going to pick up a hit every time that page gets refreshed until the post moves off the page. I might put a tracking image in a comment on a particularly popular or controversial post, just to see if anything interesting turned up, but otherwise I do not think I would bother to track individual posts.

There is a rather overlooked page that I would put a tracking image in to check for stalking: the calendar pages! People don't tend to think of putting a tracker on the calendar pages, but if I were worried about stalkers, I would very much track those pages, to see if someone was going through them, and if it was the same person over and over.

Even though tracking visits to your LJ won't necessarily reflect the people you think it is, or catch people who are determined not to be caught while surfing through your journal, feel free to try and track visits to your journal. Just take care to do it right.

Warning: Possibly rambly and non-sensical

[identity profile] lady-angelina.livejournal.com 2007-05-18 06:21 am (UTC)(link)
That "LJ World Map" meme that you might have seen a few months ago gave a tad bit of interesting insight as to who sees you on their Friends page and/or your Recent Entries page. But it's only temporary and isn't the most reliable way to track visitors to your page, etc.

Also, a few of the images I've posted in my journal are hosted on my personal webspace at a third-party server, which provides access logs. In the two or so years that I've had that webspace, I think I've maybe looked at those logs ten times tops (mostly just to troubleshoot an issue I was having with some password-protected pages). I just really don't care enough about who's accessing my journal to want to check those logs any more often.

As far as stalking goes, I really couldn't care less about who's keeping an eye on my entries. If anything, I don't think I ever write any entries that would make me stalk-worthy, LOL. XD There was a brief period of time in which this one guy left lewd comments on just about every other entry I wrote, but I took care of that, and it hasn't happened again since then. Direct confrontation, comment screening, and comment banning are all such wonderful tools to keep at one's disposal. XD

Which makes me wonder why is it that people get so paranoid about being "stalked," particularly by random people. What is it that they're writing about publicly that makes them fear being read by others? For me, a lot of it is just plain common sense. And if you can't trust someone on your Friends list with seeing your protected and/or custom security entries, then why do you have them on your Friends list and/or in the groups in question in the first place? =P

Re: Warning: Possibly rambly and non-sensical

[identity profile] lady-angelina.livejournal.com 2007-05-18 07:02 am (UTC)(link)
Aha. That makes sense, yeah.

He sure sounded like a real, mature genius, too. XP
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

Re: Warning: Possibly rambly and non-sensical

[personal profile] pauamma 2007-05-18 07:24 am (UTC)(link)
Because they're people, and people do the dumbest things, online or offline?

[identity profile] hotarunokokoro.livejournal.com 2007-05-18 06:26 am (UTC)(link)
this is good advice. i'mgoing to put it in my memories, so i dont forget it!

[identity profile] hotarunokokoro.livejournal.com 2007-05-18 07:01 am (UTC)(link)
no i dont think so either... until i met 'brain' last year, and he kept bothering me. i changed my phone number. i know he wont bother me online because he is too lazy write a blog!
ext_139: rainbow texture with define equality as text (well hi)

[identity profile] wistfuljane.livejournal.com 2007-05-18 01:58 pm (UTC)(link)
Also, unless the tracking image indicates the width & height of the image, it will be shown as a placeholder by LJers who chose that to have a placeholder for specific images size.
ext_139: rainbow texture with define equality as text (Default)

[identity profile] wistfuljane.livejournal.com 2007-05-18 07:36 pm (UTC)(link)
I believe so.

It only applies to LJ users who view the tracking images you've posted on their friends page or in LJ style=mine.
wibbble: A manipulated picture of my eye, with a blue swirling background. (Default)

[personal profile] wibbble 2007-05-18 08:25 pm (UTC)(link)
Anyone putting in a tracking image is likely to set width and height to both be '0'.
ext_139: rainbow texture with define equality as text (Default)

[identity profile] wistfuljane.livejournal.com 2007-05-18 08:37 pm (UTC)(link)
If they were copy & pasting the LJToys tracking image code, the width & height are not set. And I don't think any of the other counter service does either.
wibbble: A manipulated picture of my eye, with a blue swirling background. (Default)

[personal profile] wibbble 2007-05-18 08:39 pm (UTC)(link)
Okay, anyone being sneaky and using a 1x1 transparent .gif will set it to 0. If they're displaying the image openly, then they're not being sneaky, so having it blocked isn't the end of the world.
wibbble: A manipulated picture of my eye, with a blue swirling background. (Geek Eye)

[personal profile] wibbble 2007-05-18 08:30 pm (UTC)(link)
Actually, putting a tracking image on a post every now and again is great for one thing in particular: matching IP addresses to LJ usernames.

See, because everyone views LJ through their friends page, there's a reasonable - but by no means certain - chance that if the referrer for a hit is http://username.livejournal.com/friends, then that IP address belongs to username.

So I'll drop a web bug on an LJ post every now and again, and do the same in communities I run. They all get stored in one single huge log file, which I just grep when I need to.

I've actually ignored this for ages, and I need to move it over to the server (it's still running on [livejournal.com profile] elance's computer!), but it's a great way of gathering information.

For people that find all that a bit daunting, or lack hosting, LjToys makes it trivial. You can use it with mood icon images to track people who view your LJ, and it'll match IP addresses to usernames automatically, or based on information provided by users - the best bit is that the matching is done using /all/ data it has, including data from other users.

I don't personally use LJToys, but I think it's a neat project. The main thing to remember is: the average web user has no anonymity online, and even the most paranoid will still leave tell-tale traces.