Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Track user activity in Shiny app

I have a shiny dashboard app which can be accessed by entering an email address in a text box. On successfully logging in I provide 3 tabs and a notification menu for each user. This pretty much works well. I want to however track the activity of users on my app.

I know by using session$clientData, I can log users IP address, but I want to be able to track which user visits which tabs and if at all they click on any of the notifications. Is there anyway I can do this for every session that is created? I know Google analytics (here) is a solution, but is there no other way? Appreciate any help. Thanks

like image 894
mongofresher Avatar asked Oct 18 '22 22:10

mongofresher


1 Answers

If you don't want to use Google Analytics, you could just write out the information you want to a file or to a 3rd party database/file storage system. This article on persistent storage in shiny could give you some ideas on how to do that

like image 184
DeanAttali Avatar answered Oct 21 '22 17:10

DeanAttali