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

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -