added analytics

added analytics