-
Notifications
You must be signed in to change notification settings - Fork 5
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
Matomo Plugin review #5
Comments
The event paella-user-tracking/config/config.json Lines 77 to 97 in aa9d1b4
You can prevent the About |
Thanks for the hint, I didn't know that the plugin is subordinated to I will make more tests with Opencast. |
I've made more tests with the plugin in Opencast and I tested against the version PP 6,
Finally, your repo, https://github.com/miesgre/opencast/tree/paella7-matomo gives me compilation errors from ESLint with the Matomo plugin, fortunately, the merge request from Dependabot works and compiles without any issue. |
Hi @mliradelc, You will need to enable |
Thanks @miesgre ! I will try this with opencast and with ilias also :) |
I've just noticed that Paella 7 doesn't send statistics to the Matomo Media Analytics plugin (as @mliradelc already mentioned). I tested it on our Opencast 14 installation, Paella 6 works fine and sends the |
I have some new findings about the problems with the Matomo Media Analytics plugin. In Tobira, with the fix from @LukasKalbertodt (#7, Tobira PR: elan-ev/tobira#1139) statistic data for the Media Analytics plugin is now send from Paella within Tobira to Matomo. But what is still missing, is the video title information. This looks to me like the problem which was also present in Paella 6 and fixed by this commit: polimediaupv/paella@2a65b3e. This document describes how the Media Analytics plugin determines the title information: https://developer.matomo.org/guides/media-analytics/setup. The title information is essential in Matomo, without this information all Media Analytics statistic data is summarized under the video title "unknown". I did also test the version 1.42.1 of the paella-user-tracking (which includes the PR from @LukasKalbertodt) with Opencast. But in this case no Media Analytics statistic data is send at all to Matomo (just the standard statistics are send). For both of the tests with Tobira and Opencast I used the same Matomo installation and almost the same configuration. The only difference in the configuration was, that in Tobira @miesgre would you prefer to have two separate issues, one for the title problem and one for the Matomo Media Analytics? Please let me know if you need more information or some Matomo testing possibilities. I'll be happy to help. |
No, not for the Media Analytics Plugin. What you see in the browser console are the basic statistics data send to Matomo. But all the statistics data for the Matomo Media Analytics Plugin are still missing. Without this data the "Media" section in Matomo will remain empty. If you use Paella 6 instead of Paella 7 in your installation, you will see that parameters like ma_id, ma_ti, etc. are sent to the Matomo server. In case of Paella 7 these parameters aren't sent. |
Okay, I understand now. I do not have the MediaAnalytics plugin in my local installation and that's why i can't reproduce this. I will ask Katrin for help. |
I traced back the problem that prevented the MediaAnalytics plugin from initializing:
There are several other potential occurrences of this problem. For example paella-user-tracking/src/plugins/es.upv.paella.matomo.userTrackingDataPlugin.js Lines 95 to 100 in 0efda07
I have created a patch for this problem by removing all local (I could have declared a |
Continuing the talk from #4
I've tried the plugin locally, now works with Paella standalone, but I've found two problems.
timeupdate
is triggering a new event in Matomo each couple of milliseconds, thus making a lot of queries to Matomo server. That event is automatically recorded by Matomo using the heartbeat (See paella 6).I will try to integrate to ilias and see the behavior with this version of Matomo
The text was updated successfully, but these errors were encountered: