newest analytics code