prepare to delete analytics