Moved analytics to a partial