VID-6: Ping Analytics on playback



Issue Information

Issue Type: New Feature
 
Priority: Major
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: Videos.bentasker.co.uk (VID)
Resolution: Done (2019-04-02 11:47:17)
Target version: v0.13,
Components: Embed Code ,

Created: 2019-03-28 17:05:56
Time Spent Working


Description
When an embedded video is played, a ping should be sent to Piwik so that it's possible to see which videos are being played, and from where.

Later on, it may be desirable to collect stats on playback duration, buffer effiiciency etc, but for now primary interest is in recording where videos are played from


Toggle State Changes

Activity


Repo: videos.bentasker.co.uk
Host:Rimmer

commit 5cfd05cafcf538b04628d4e3acd03c80247fff34
Author: Ben Tasker <btasker@<Domain Hidden>>
Date: Thu Mar 28 17:45:09 2019 +0000

Commit Message: VID-6 Ping out to Piwik when playback is triggered

This will give a basic overview of where videos are being embedded and played.

resources/embed/embed.js | 6 +++---
resources/tests/vid_6_analytics_test.html | 18 ++++++++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)


View Commit | View Changes
Repo: videos.bentasker.co.uk
Host:Rimmer

commit ed6fd7421e64f8defb9b75012e1c7d33b5e84f6d
Author: Ben Tasker <btasker@<Domain Hidden>>
Date: Fri Mar 29 14:22:02 2019 +0000

Commit Message: VID-6 Tell piwik every ping is a new visit so it records referrer correctly

Otherwise playback on different sites will only show the first playback's referrer

resources/embed/embed.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


View Commit | View Changes
This is now working correctly. Marking as complete
btasker changed status from 'Open' to 'Resolved'
btasker added 'Done' to resolution
btasker changed status from 'Resolved' to 'Closed'