add google analytics code & fixed error