# Monitor view/page usage of users

**URL:** <https://forum.inductiveautomation.com/t/monitor-view-page-usage-of-users/70576>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [March 3, 2023, 7:15am UTC](https://forum.inductiveautomation.com/t/monitor-view-page-usage-of-users/70576 "2023-03-03T07:15:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Donche](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Sam\_Donche](https://forum.inductiveautomation.com/u/Sam_Donche)\
**Post date:** [March 3, 2023, 7:15am UTC](https://forum.inductiveautomation.com/t/monitor-view-page-usage-of-users/70576/1 "2023-03-03T07:15:26Z")

</div>

A quick search on the forum did not give me an answer.

Is there an easy way to monitor the usage or activity by the users of perspective pages/views?  
For example:

- how often is a page/view visited?
- who visits these pagesviews?
- how often is a certain action performed on a page/view?

In our company we would like to see what pages/views are being used very often or very little. This would help to know where we need to make adjustments to improve user experience.

Thanks in advance for the feedback!

---

<div class="post-metadata">

**Author:** ![franklepkowski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/franklepkowski/32/4808_2.png) [@franklepkowski](https://forum.inductiveautomation.com/u/franklepkowski)\
**Post date:** [March 5, 2023, 12:43am UTC](https://forum.inductiveautomation.com/t/monitor-view-page-usage-of-users/70576/2 "2023-03-05T00:43:55Z")

</div>

Hello,

I think you could utilize a logger to track view navigation. For specific events, you could do some filtering in the audit log to pick up these events.

Frank

---

<div class="post-metadata">

**Author:** ![Richard\_Giske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/richard_giske/32/41906_2.png) [@Richard\_Giske](https://forum.inductiveautomation.com/u/Richard_Giske)\
**Post date:** [March 6, 2023, 9:44am UTC](https://forum.inductiveautomation.com/t/monitor-view-page-usage-of-users/70576/3 "2023-03-06T09:44:23Z")

</div>

Could log the events you want to monitor to a database, then monitor the data from there.

Just use the "Configure Events" on the project screens you want to monitor.  
Then trigger a named query to log the wanted data.

For instance the "OnStartup" event you can add a script to add the userName and pageID to the db

```
def runAction(self):
	properties = {
	"pageid ":self.page.props.pageId,
	"userid":self.session.props.auth.user.userName
	}
	
	system.db.runNamedQuery("NamedQueryToLogData",properties)

```
