enable google analytics; remove useless code