Updated google analytics code with asyn version