对使用piwik的页面的分析支持

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


简介

collective.piwik.pageviews是使用piwik显示唯一访问和页面视图的视图!

piwik开源分析系统(http://piwik.org/)用于存储和检索页面视图。

与plone 4位点一起工作,不在plone 3上测试。需要Piwik 1.6或更高版本。

如何使其工作

  • You need to have access to a working Piwik installation. The architecture allows API calls to be sent on the Piwik server, in case authentication is needed to view the site’s stats (which is the default case on Piwik).

要使用它,您必须执行以下步骤:

  • In case it’s not already there, add the Piwik Tracking Tag to Javascript web stats support field at <SITEURL>/@@site-controlpanel (we have to use Piwik obviously!)
  • On the eggs section of your buildout.cfg add collective.piwik.pageviews and run ./bin/buildout -vN buildout.cfg for the product to be installed
  • Log in as admin and go to the Add-ons configuration section (<SITEURL>/prefs_install_products_form) and activate collective.piwik.core. This is a package dependancy necessary for piwik.pageviews to function.
  • Next, go to <SITEURL>/@@piwik-settings and provide the following information: - the Piwik server’s url with the slash on the end (example http://piwik.unweb.me/piwik/) - the Site id of Piwik (example 12). A piwik installation can track multiple sites, and each one has a unique site id
    • Piwik’s API key, which is a token auth key (example 5f298e9c697ec59b68d080cd9be47416), or anonymous if anonymous read access is granted.
  • If you do the above steps, a view appears below the IBelowContentTitle displaying the number of views of a page (both unique views and pageviews). The view is loaded after the page has loaded, so your site won’t slow down while quering the piwik server.

调整

如果要更改行为,请编辑collective/piwik/page views/viewlet.pt(应用样式、删除页面点击或页面视图等)

如果在标题下面没有看到任何视图,请检查piwik的设置是否正确(<;siteurl>;//@piwik设置)

您也可以尝试这两种产品:

collective.piwik.flowplayer(http://pypi.python.org/pypi/collective.piwik.flowplayer)在使用flowplayer的plone站点中显示视频播放计数器,collective.piwik.now(http://pypi.python.org/pypi/collective.piwik.now)显示当前使用plone站点的用户数的portlet。

学分

unweb.me和giorgos logiotatidis在布里斯托尔2010 plone会议期间创建。

感谢EngageMedia.org赞助我们的门票和注册。

待办事项

贡献者

  • Markos Gogoulos,未婚妻的Mgogoulos
  • Dimitris Moraitis,未婚妻Dimo.me
  • Giorgos Logiotatidis,Sealabs.net的Seadog

贡献者

  • Markos Gogoulos,未婚妻的Mgogoulos
  • Dimitris Moraitis,未婚妻Dimo.me
  • Giorgos Logiotatidis,Sealabs.net的Seadog

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

推荐PyPI第三方库


热门话题
java Apache Flink外部Jar   创建和强制转换对象数组时发生java错误   Java,添加数组   具有相同包结构和类的java JAR   java Jenkins未能构建Maven项目   java为什么一个forloop比另一个更快,尽管它们做的“一样”?   servlets在将“/”站点迁移到Java EE包时处理contextpath引用   无法解析java MavReplugin:2.21或其某个依赖项   泛型如何编写比较器来泛化Java中的两种类型的对象?   java Android Emulator未在netbeans上加载   多线程Java使用线程对数组中的数字求和:在同步块中使用新变量作为锁:差异   java如何在JSP/servlet中设置<input>标记的值?