change Analytics code