add function for 1 person analytics