Google Analytics now has Real TIme reporting built in. Much easier. Nice article though — good detail .