title: How to track java servlet request using Google Analytics
body: <p>I have a common link <code>http://www.mydomain.com/clickServlet</code> on various third party client pages with different parameter values (<code>http://www.mydomain.com/clickServlet?ID=123&amp;A=123&amp;B=123</code>). The link is of a java servlet. Based on the parameter values the request is redirected to an external domain. </p>
  
  <p>I want to track this at java servlet level. Since i do not have access to client pages (pages where my link resides) and redirected domains, i have to setup tracking in java servlet which should record all details like <code>referer</code>, <code>ip</code>, <code>location</code>, <code>user-agent</code> etc. all the stuff which GA records. I need a solution like wherein I pass the java <code>HttpServletRequest</code> object along with GA account details and GA would record all the details from the request object. </p>
  
  <p>Is this possible in Google Analytics API?</p>