Add google analytics. Trap hashchange event to track pan events too.