# Application Insights

**URL:** <https://forum.djangoproject.com/t/application-insights/34248>\
**Category:** Using Django\
**Created:** [August 28, 2024, 7:29am UTC](https://forum.djangoproject.com/t/application-insights/34248 "2024-08-28T07:29:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TommyQuality](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/tommyquality/32/6302_2.png) [@TommyQuality](https://forum.djangoproject.com/u/TommyQuality)\
**Post date:** [August 28, 2024, 7:29am UTC](https://forum.djangoproject.com/t/application-insights/34248/1 "2024-08-28T07:29:11Z")

</div>

Hi,

I’ve been trying to onboard my Django app onto Azure Application Insights so that i can track performance, i have the app onboarded but im unable to get user session data, as in who’s logged in, which pages they view, how long they stay.

I can see which pages have been accessed but that is it.

Is there a recommended solution for collection of this information?

Thanks

Tommy

---

<div class="post-metadata">

**Author:** ![onyeibo](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/onyeibo/32/11494_2.png) [@onyeibo](https://forum.djangoproject.com/u/onyeibo)\
**Post date:** [August 28, 2024, 8:04am UTC](https://forum.djangoproject.com/t/application-insights/34248/2 "2024-08-28T08:04:35Z")

</div>

You an achieve this kind of collection by developing a middleware.  
You may find [this video](https://www.youtube.com/watch?v=EpZOVmEw9Qg) tutorial helpful for your cause.
