Analytics code added