added a method for raw analytics