Moved Analytics to head