Change to Analytics code