with new analytics code