added google analytics and key binding to input box