Adding anlytics