Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How tracking user click
Hi everyone,
Is there a way to track user click stream and record which portlet a user has read? I am currently using hooks to track models CRUD and servlet events, but am not able to get the portlet ID in the servlet events. Is there any other way to track this information?
Liferay has an audit framework that would be appropriate for this, you just have to find the right places to inject the audit message creation and posting.
It's hard to know from a portlet perspective what a user may or may not have seen. I mean, you can tell that they visited a page, but that's it. You won't know if they actually looked at the portlet or scrolled the page to bring it into view or anything specific like that.
You could leverage portlet filters if you needed to get to a per-portlet-interaction kind of level...
Powered by Liferay™