Adding analytics

Analytics code