Added the Analytics code