一个使用piwik开源分析系统显示当前有多少人在使用您的plone站点的portlet

collective.piwik.now的Python项目详细描述


简介

collective.piwik.now显示一个portlet,其中包含当前使用plone站点的用户数。

piwik开源分析系统(http://piwik.org/)用于存储使用数据。

如何使其工作

  • 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
  • 初始版本
下载

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
未调用java Spring WS-EndpointInterceptor   java JDBC连接打开还是关闭?   java如何执行嵌套for循环?   循环Java charAt方法,返回的值甚至不是字符串的一部分   使用同步的java producerconsumer   java Android ServerSocketChannel绑定到环回地址   java如何根据属性将bean与不同的实现连接起来?   java无法自动连接Spring安全实现类   用Java将数组数据写入二进制文件   java如何可以创建一个系统。出来如何防止死锁?   java从字符串中提取两种类型的文本   在Java中使用迭代器收集多个If条件   java如何以编程方式自动回复通知,如WhatsApp、Instagram   java Apache CXF/JAXRS、Felix和Jetty   java XDocReport:XDocConverterException:无法从=ODT中找到转换器   java实例化泛型抽象类的子(具体)类,其构造函数需要其他参数类   系统的java输出。出来格式(“%6f%n”,123.0);不像预期的那样   cucumber中的java未定义步骤