Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tracking of audio and video play events #6

Open
2 tasks done
wgilling opened this issue Jul 13, 2021 · 0 comments
Open
2 tasks done

add tracking of audio and video play events #6

wgilling opened this issue Jul 13, 2021 · 0 comments
Assignees

Comments

@wgilling
Copy link
Contributor

wgilling commented Jul 13, 2021

This ticket encompasses tracking in Matomo custom "events" when there are interactions with players.

  • play on video
  • play on audio

Matomo event documentation: https://matomo.org/docs/event-tracking/
Video on play event to hook into: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play_event

NOTE: remote_video can not be supported in the same way since the

Also, tracking PDFjs and Openseadragon were reviewed for the potential to track an event there, but it doesn't seem useful at this point to track "Zoom level change" or "pages turned" at this time. Tracking the item's PDF "view" event is handled already by Matomo if the route to the viewer is separate from the item overview page route such as "node/123/view".

@wgilling wgilling self-assigned this Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant