Changes analytics code