added task for analytics