added analytics
fixed typo