Skip to main content

Analytics support for flowplayer using piwik

Project description


collective.piwik.flowplayer displays a video play counter in Plone sites that use flowplayer.

The Piwik open source analytics system ( is used to store the usage data.

Works both with and without

How to get it working

  • 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

If you do the above a viewlet should appear on top of flowplayer displaying the number of views of each video.


The number of a video views shown is increased when a user presses play on a video. If you want to change this behavior, edit collective/piwik/flowplayer/ (change onStart for example).


The product was created by and Giorgos Logiotatidis during the Bristol 2010 Plone conference. Thanks to for sponsoring our tickets and registrations.


  • Dimitris Moraitis, dimo at

  • Giorgos Logiotatidis, seadog at

  • Markos Gogoulos, mgogoulos at

  • Mike Muzurakis, clopy at


  • Initial release


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (21.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page