This topic is locked
[SOLVED]

 Tracking user navigation inside the app

11/4/2020 1:12:17 PM
PHPRunner General questions
M
marcelorribas author

Hi,

Please, someone could advise me?

I would like to track the user navigation inside my app by saving a record in my audit table every time he clicks on menu item, but I´m not sure which is the best way to do it.

I´m using the "After table initialized" event to add the log record.

Is it the best way?

Is there something special event to track the menu item click?
Thanks in advance,

Sergey Kornilov admin 11/10/2020

AfterTableInitialized or AfterAppInit are the best events for this purpose. I would say that AfterAppInit is better because it will also catch pages like menu, login, password reminder etc.

M
marcelorribas author 11/10/2020

Thanks.