Skip to main content

Analytics support for flowplayer using piwik

Project description

Introduction

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

The Piwik open source analytics system (http://piwik.org/) is used to store the usage data.

Works both with and without collective.transcode.star

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.

Tweaks

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/viewlet.pt (change onStart for example).

Credits

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

Contributors

  • Dimitris Moraitis, dimo at unweb.me
  • Giorgos Logiotatidis, seadog at sealabs.net
  • Markos Gogoulos, mgogoulos at unweb.me
  • Mike Muzurakis, clopy at unweb.me

Changelog

0.1
  • Initial release
Download

Project details


Release history Release notifications

History Node

0.4

History Node

0.3

History Node

0.2

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.piwik.flowplayer-0.1.zip (21.8 kB) Copy SHA256 hash SHA256 Source None Oct 31, 2010

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page