Fórumok
Liferay 6.1.1 Visit counter
behnaz eslami, módosítva 10 év-val korábban
Liferay 6.1.1 Visit counter
Junior Member Bejegyzések: 54 Csatlakozás dátuma: 2011.11.14. Legújabb bejegyzések
Hi
There is a way to know a number of guest and logged users in Liferay 6.1.1 CE/GA 2?[b](Actually I want to count visitors-any code for hit counter in liferay6.1.1 ie how many user has viewed the portal)
I should develop a custom portlet that show this information.
I don't want to use Google Analytic.
Any Idea?
Thanks.
There is a way to know a number of guest and logged users in Liferay 6.1.1 CE/GA 2?[b](Actually I want to count visitors-any code for hit counter in liferay6.1.1 ie how many user has viewed the portal)
I should develop a custom portlet that show this information.
I don't want to use Google Analytic.
Any Idea?
Thanks.
Christoph Rabel, módosítva 10 év-val korábban
RE: Liferay 6.1.1 Visit counter
Liferay Legend Bejegyzések: 1554 Csatlakozás dátuma: 2009.09.24. Legújabb bejegyzések
Maybe Piwik is an option?
I use it in several project, it's a very powerful tracker.
I use it in several project, it's a very powerful tracker.
venka reddy, módosítva 10 év-val korábban
RE: Liferay 6.1.1 Visit counter
Regular Member Bejegyzések: 231 Csatlakozás dátuma: 2011.03.23. Legújabb bejegyzések
This solution is not fully what you want,
but i can say you can track logged in user by writing hook
login.events.post = com.test.UserLoginCount
public class UserLoginCount extends Action {
public void run(HttpServletRequest request, HttpServletResponse response)throws ActionException {
try {
User user = PortalUtil.getUser(request);
------- write your custom logic ---------------
}
}
}
but i can say you can track logged in user by writing hook
login.events.post = com.test.UserLoginCount
public class UserLoginCount extends Action {
public void run(HttpServletRequest request, HttpServletResponse response)throws ActionException {
try {
User user = PortalUtil.getUser(request);
------- write your custom logic ---------------
}
}
}
fouad fouad, módosítva 9 év-val korábban
RE: Liferay 6.1.1 Visit counter
Junior Member Bejegyzések: 28 Csatlakozás dátuma: 2014.08.08. Legújabb bejegyzésekbehnaz eslami:
Hi
There is a way to know a number of guest and logged users in Liferay 6.1.1 CE/GA 2?[b](Actually I want to count visitors-any code for hit counter in liferay6.1.1 ie how many user has viewed the portal)
I should develop a custom portlet that show this information.
I don't want to use Google Analytic.
Any Idea?
Thanks.
hello behnaz
did u figure out how to apply ur requirements?
if yes, please can you advise me because i have the same requirement.
thank you