small bugfix for no events case, plus google analytics