title: Azure Application Insights to track time spent by user on webpage
body: <p>How can I use Azure Application Insights to track time spent by a user on webpage. In the javascript of the webpage, there is a chunk of code from application insights which we have to copy. I want to understand what </p>
  
  <pre><code> r=["Event","Exception","Metric","PageView","Trace","Dependency"]
  </code></pre>
  
  <p>means...Are there more parameters we can add to track some other stuff. Like if I wanted to track how long a user was on a webpage, how would I track that?</p>