title: Get the referrer, paid/natural and keywords for the current visitor with Google Analytics
body: <p>Is it possible to get the following information about the current visitor using Google Analytics API with JavaScript?</p>
  
  <ul>
  <li>Referrer site ('Source' in GA)</li>
  <li>Paid or natural ('Medium' in GA)</li>
  <li>Keyword</li>
  <li>First time/returning</li>
  <li>Number of visits</li>
  </ul>
  
  <p>If it's not possible with Google Analytics API is there any other <strong>easy</strong> way to do it (apart from parsing HTTP Referer, storing the visits statistics in DB etc.)?</p>