Foros de discusión

Most Visited Pages Feature

Lakshminarayana Mummanedi, modificado hace 13 años.

Most Visited Pages Feature

New Member Mensajes: 20 Fecha de incorporación: 30/07/09 Mensajes recientes
Hi All,

Is there any why that i can found most visited pages in Liferay.

Thanks In Advance..

Regards,
Narayana.
Lakshminarayana Mummanedi, modificado hace 13 años.

RE: Most Visited Pages Feature

New Member Mensajes: 20 Fecha de incorporación: 30/07/09 Mensajes recientes
Hi,

Could any body suggest, how we can achieve this.
Any suggestions/ideas will be much appropriated.

Regards,
Narayana.
thumbnail
Jairo Luna, modificado hace 13 años.

RE: Most Visited Pages Feature

Junior Member Mensajes: 57 Fecha de incorporación: 21/07/10 Mensajes recientes
Any updates on this topic?

Thanks in advance

Jairo Luna
Pushpinder Singh, modificado hace 13 años.

RE: Most Visited Pages Feature

Junior Member Mensajes: 84 Fecha de incorporación: 21/07/10 Mensajes recientes
Use google analytics with Liferay
thumbnail
priti parmar, modificado hace 10 años.

RE: Most Visited Pages Feature

New Member Mensajes: 24 Fecha de incorporación: 29/11/10 Mensajes recientes
Hi,

Please refer this forum

http://www.liferay.com/community/forums/-/message_boards/message/26017007
thumbnail
Jitendra Rajput, modificado hace 10 años.

RE: Most Visited Pages Feature

Liferay Master Mensajes: 875 Fecha de incorporación: 7/01/11 Mensajes recientes
Simple solution is to user TagAsset class to manage this view count. Liferay stores view count for journal article using TagAsset API. Same API you can use for Layout also .
Create hook and inside view jsp add code for view count.

TagsAssetLocalServiceUtil.incrementViewCounter(JournalArticle.class.getName(), articleDisplay.getResourcePrimKey()); 
TagsAsset asset = TagsAssetLocalServiceUtil.getAsset(JournalArticle.class.getName(), articleDisplay.getResourcePrimKey());