Closed ferishili closed 3 months ago
@snoesberger, please give it a try and write your feedback here.
Another question: is this change only for release_8
?
I have successfully tested this PR.
Unfortunately the Opencast event ID is not available within the Paella player at the moment, only the video title (metadata.title
) can be referenced in the paella player config. @ferishili as discussed in the Matrix chat, it would be really nice if the Opencast event ID could be made available.
videoid
as well as seriesid
is now available in metadata:
il.Opencast.Paella.player.data.metadata.videoid
il.Opencast.Paella.player.data.metadata.seriesid
Many thanks for the quick implementation! We were now able to successfully configure and test the paella player to sent video and series ID to Matomo. This is part of the config we used for our tests:
...
"es.upv.paella.matomo.userTrackingDataPlugin": {
"enabled": true,
"context": [
"userTracking"
],
"server": "https://matomo-test.org/",
"siteId": "1",
"trackerUrl": {
"php": "matomo.php",
"js": "matomo.js"
},
"matomoGlobalLoaded": false,
"cookieType": "tracking",
"mediaAnalyticsTitle": "${metadata.videoid}",
"logUserId": true,
"events": {
"category": "ILIAS PaellaPlayer",
"action": "${event}",
"name": "${eventData}"
},
"customDimensions": {
"1": "${metadata.videoid}",
"2": "${metadata.seriesid}",
"3": "${metadata.title}"
}
},
...
The statistic data is successfully sent to Matomo both for live streams and VoD.
Since tests were successfull and @ferishili: Can you please prepare this PR for merging and then hand it over to @chfsx for a review and the actual merge? Thx!
@chfsx the PR is ready to merge, no rebase is needed atm!
Thanks a lot, merged to v8.1.4!
This PR fixes #323
It only contains the build changes after upgrading
paella-user-tracking
plugin to v1.42.5