added analytics to room