use new analytics code