title: Track user selected values on ecommerce(amazon.com) website (GAE Python) using Google Analytics API
body: <p>I have designed an ecommerce website like amazon.com. I want to collect user analytics data on my website. I am still evaluating options and <a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/events" rel="nofollow">Google Analytics API</a> looks good as it does not charge anything for a good amount of usage. And it should be fast. </p>
  
  <p>What information do I want to collect about user behavior on my website:  </p>
  
  <ol>
  <li>What "dropdown" menu values do they select(say for narrowing down the exact product category)  </li>
  <li>What "checkboxes" do they select to filter out based on price range, size, type, or a specific feature  </li>
  <li>Which result entries(matched products) on the search page do they click  </li>
  <li>It would be good if I could get the time of day when the above happened </li>
  <li>Also how long the user viewed a page (with an upper limit for cases when a user opens a tab and forgets to close it) </li>
  <li>I hope the Google Analytics API has some feature to prepare charts based on the above data, as well as provide the average monthly values for the above counts </li>
  </ol>
  
  <p>I decided to use an external Analytics tool since writing into NDB would take time, increase writes and increase the storage requirement </p>
  
  <p>Any guidance is highly appreciated.. Anyone who has implemented similar analytics for their website, please share your advice.. </p>