一个使用piwik开源分析系统显示当前有多少人在使用您的plone站点的portlet
collective.piwik.now的Python项目详细描述
如何使其工作
- You need to have access to a working Piwik installation. Create a new site in the Piwik admin UI and provide the view permission to anonymous users.
- Add the Piwik Tracking Tag to Javascript web stats support field at <SITEURL>/@@site-controlpanel
- You need to make a small change at the tracking tag adding the line “var site_id = X;”, replacing X with your Piwik site_id For example, if in the Piwik code you have: var piwikTracker = Piwik.getTracker(pkBaseURL + “piwik.php”, 6); then site_id = 6 in your case
- Install the “Online users” add-on from the Plone control panel
- Add the “Online users” portlet from the manage portlets form in the context you want it to appear. At this step you can configure the session timeout in minutes: The time of inactivity after which a user is no longer considered to be online.
学分
该产品是由UNWEB.ME在布里斯托尔2010年PLONE会议期间开发的。 感谢EngageMedia.org赞助我们的门票和注册。
贡献者
- Dimitris Moraitis,未婚妻Dimo.me
- Markos Gogoulos,未婚妻的Mgogoulos
- Mike Muzurakis,未婚妻科比
更改日志
0.1
- 初始版本