Fixing Analytics code.