Fixed Analytics code.