changing the analytics code