Add new analytics code.