Changed analytics code.