updated analytics scripts

typo fixes