private function getTraverseManagementApiHtml() {
    $accounts = $this->analytics->management_accounts
                     ->listManagementAccounts();

    $html = $this->getAccountsHtml($accounts);

    if (count($accounts->getItems()) > 0) {

      $firstAccountId = $this->getFirstId($accounts);
      $webproperties = $this->analytics->management_webproperties
                            ->listManagementWebproperties($firstAccountId);
      $html .= $this->getWebpropertiesHtml($webproperties);

      if (count($webproperties->getItems()) > 0) {

        $firstWebpropertyId = $this->getFirstId($webproperties);
        $profiles = $this->analytics->management_profiles
                         ->listManagementProfiles($firstAccountId,
                                                  $firstWebpropertyId);
        $html .= $this->getProfilesHtml($profiles);

        if (count($profiles->getItems()) > 0) {
          $firstProfileId = $this->getFirstId($profiles);
          $goals = $this->analytics->management_goals
                        ->listManagementGoals($firstAccountId,
                                              $firstWebpropertyId,
                                              $firstProfileId);
          $html .= $this->getGoalsHtml($goals);

        }
      }
    }

    $segments = $this->analytics->management_segments
                     ->listManagementSegments();

    $html .= $this->getSegmentsHtml($segments);
    return $html;
  }