analytics with all param and function