title: Use Google Analytics to track usage of PHP API
body: <p>I have an API on my webserver that accesses the data in the website's database.  I am trying to figure out how to use google analytics to track the API usage.  The clients accessing the API response will not be able to execute javascript.  </p>
  
  <p>I have tried <a href="https://developers.google.com/analytics/devguides/collection/other/mobileWebsites" rel="noreferrer">https://developers.google.com/analytics/devguides/collection/other/mobileWebsites</a> to do server side, but since MY API cannot open any images, it will not work.  Any Idea out there?</p>
  
  <p>API example is <a href="http://www.serviidb.com/api/video" rel="noreferrer">http://www.serviidb.com/api/video</a> .</p>