Azure Application Insights to track time spent by user on webpage -


how can use azure application insights track time spent user on webpage. in javascript of webpage, there chunk of code application insights have copy. want understand

 r=["event","exception","metric","pageview","trace","dependency"] 

means...are there more parameters can add track other stuff. if wanted track how long user on webpage, how track that?

you have use custom metrics

do metric calculation using so thread & pass on below application insights.

appinsights.trackmetric("userstaytime", 42.0); 

Comments

Popular posts from this blog

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -

angular - DownloadURL return null in below code -