fixed avg analytics