title: Google analytics API list out eventLabels
body: <p>Im trying to learn google analytics + oAuth2.</p>
  
  <p>The documentation is really confusing, so i figured i'd go ask for help.</p>
  
  <p>I want to list out event labels ordered by visits.</p>
  
  <pre><code>$results = $analytics-&gt;data_ga-&gt;get($analytics_id, $from, $today, 'ga:visits',
          array(
          'dimensions' =&gt; 'ga:source',
          'sort' =&gt; '-ga:visits',
          'filters' =&gt; 'ga:medium==organic',
          'max-results' =&gt; '100'));
  
  foreach($results as $key =&gt; $value)
    {
      echo $results['totalsForAllResults']['ga:visits'];
      echo "&lt;br /&gt;";
    }
  </code></pre>
  
  <p>I can only list out visits so far:/ Any advice would be appreciated!</p>