# Tracking Perspective stats

**URL:** <https://forum.inductiveautomation.com/t/tracking-perspective-stats/101632>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 30, 2025, 5:02pm UTC](https://forum.inductiveautomation.com/t/tracking-perspective-stats/101632 "2025-01-30T17:02:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [January 30, 2025, 5:02pm UTC](https://forum.inductiveautomation.com/t/tracking-perspective-stats/101632/1 "2025-01-30T17:02:28Z")

</div>

I'm not seeing any informative system tags for Perspective like there are for DB or MQTT connections.

If I wanted to track the number of active sessions historically, is my best option to make a timed script that uses `system.perspective.getSessionInfo` to figure out how many are active and then write it to a memory tag?

---

<div class="post-metadata">

**Author:** ![flexware](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/flexware/32/66243_2.png) [@flexware](https://forum.inductiveautomation.com/u/flexware)\
**Post date:** [January 30, 2025, 6:36pm UTC](https://forum.inductiveautomation.com/t/tracking-perspective-stats/101632/2 "2025-01-30T18:36:15Z")

</div>

Your approach is the first thing that came to mind. It would obviously be better to subscribe to a counter value somewhere rather than calculate this yourself, but if you need this functionality now, that seems like it'll work (in combination with setting tag history on that memory tag).

I just wanted to mention that [if you use EAM](https://www.docs.inductiveautomation.com/docs/8.1/platform/tags/types-of-tags/system-tags#eam-system-tags), there IS a Perspective sessions-specific Gateway tag. It doesn't look like that count is included without the EAM module, though.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/9/e93801301ae71a3d98f1970dc6b07a8a5d62bb70.png)
