RE: User Activity (History/Log) Tracking in liferay 7

Bindu shree, modified 6 Years ago. New Member Posts: 3 Join Date: 1/30/19 Recent Posts
Hello Friends,

I am using liferay 7.1 CE GA2,

I need to track user activities like user history, User visited pages.

Please help me how to do it.
thumbnail
Vladimir Vukadinovic, modified 6 Years ago. New Member Posts: 11 Join Date: 12/24/08 Recent Posts
Hi,

Enable this in portal-ext.properties:

##
## Audit Message
##

    audit.message.com.liferay.portal.kernel.model.Layout.VIEW=true

Add follow users in Control Panel >> Configuration >> Audit
Bindu shree, modified 6 Years ago. New Member Posts: 3 Join Date: 1/30/19 Recent Posts
Hi Vladimir,

Thank you for the reply
​​​​​​​

I am new to liferay and I am currently using liferay 7.1 community GA2 in that i dont have custom settings for Audit.

I tried using the steps you have given above but it is not working for me.

My requirements like, I have two pages,

1 - Product Page
2 - Product Category Page

When user login and navigate to Product Page I need to store his/her detail like Username and date and time of visitng page, Same way if he/she visites product category Page I need to store same details about user.

Like Tracking of User Activities


Please help me to achieve it.

Thank you
thumbnail
Olaf Kock, modified 6 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Bindu shree

If the user logs in and  visits product page then logout, i need to keep a track of  that perticular user hisory that is the pages he visits(activities)
This can be trivial, or a big project, depending on the business reasons. You might want to start looking at the Google Analytics and Piwik integration for a trivial start.
If you need bulletproof auditing, you'd need to know if username/pagename/timestamp are sufficient, or if you want to audit that particular information has been shown (you can't assume they've seen it just because it was displayed on the page), you might have more work.