Added Analytics code