Updated code with official google analytics code