modify google analysis code