Tracking File Downloads Automatically in Google Analytics with Prototype

October 3rd, 2007

I wrote this Javascript after seeing this Google Analytics tip: http://www.google.com/support/googleanalytics/bin/answer.py?answer=55529&topic=11006.

Having onclicks on the anchors in the markup is messy and tedious to maintain. My code dynamically does this. It’s pretty simple. As long as this code is executed after the ‘contentloaded’ event, it will work. Also, the Javascript is dependent on Prototype.

$w(‘mp3 pdf doc txt rtf’).each(function(ext){

  $$(‘a[href$=.’ + ext + ‘]’).each(function(a){

    var pageview = ‘/downloads/’ + a.href.substr(a.href.lastIndexOf(‘/’), a.href.length); /* /downloads/wtf.mp3 */

    a.observe(‘click’, function(){ urchinTracker(pageview); });

  });

});

Spumco Comic Books

September 9th, 2007

Spumco created several comics titled "Comic Book" in the 90’s.  Now, they are collectors items.  Upon finding a stash of scans of the books, I compiled them as PDF’s for download.

Published by Marvel Comics in 1995:

Comic Book 1

Published by Dark Horse Comics through 1997:

Comic Book 2

Comic Book 3

Comic Book 4

“We don’t want no moon cheese babies!”

February 8th, 2007

The Upright Citizens Brigade and I agree that astronauts cannot be trusted.

Here is a clip showing why:

Also, it appears that Yo La Tengo and The Upright Citizens Brigade like each other. Amy Poehler of UCB is seen on the cover of the “You Can Have It All” ep from Yo La Tengo. And she is wearing a Yo La Tengo t-shirt.

Yo La Tengo

February 2nd, 2007

Last Sunday, Desiree, Wes, and I traveled to Tallahassee to see a favorite band of ours, Yo La Tengo. We met up with Ricky at “1 Flesh” and ate some stir fry and their homemade malt balls. Matt and Emily joined us at The Moon. Unfortunately, I don’t think they could fully appreciate the show due to their lack of familiarity with the artist, but I know they had a good time. Yo La Tengo played a good chunk of material from their new album, “I Am Not Afraid of You and Will Beat Your Ass”, and also from 97’s “I Can Hear the Heart Beating As One” including the “Autumn Sweater” track, which was a collab with Kevin Shields of My Bloody Valentine.


Yo La Tengo at Tallahassee

ABMVC: Entry 5

January 31st, 2007

RE: The Awesomely Bad Music Video Challenge

I offer The Average Homeboy in response to Ricky’s Awesomely Bad Music Video Challenge.

Since I last discovered this video, it seems that the guy behind it has further established his online presence. (Unless this is some guy posing as him.)