polimediaupv / paella-user-tracking

A set of plugins for user interaction tracking
0 stars 4 forks source link

Matomo Tracking plugin #1

Closed mliradelc closed 2 years ago

mliradelc commented 2 years ago

Here is my first draft for a Matomo Tracking plugin, still work in progress

mliradelc commented 2 years ago

Ok, I started to work more on this, and still webpack is very difficult, now I have "context" issues and I don't know what to do.

@ferserc1 I'm trying to load the Matomo JS with the snipped you gave me, but the plugin does not get loaded because the "context" is not found.

What I'm missing?

ferserc1 commented 2 years ago

I have published an (extensive, very extensive) tutorial on how to create your own plugin library, from creating the base project to publishing it to npm. You can check it out on the paella player website or directly in the paella-core documentation folder.

The tutorial also has a corresponding code repository: https://github.com/polimediaupv/plugin-module-tutorial

mliradelc commented 2 years ago

😃 !! That is a new document that I haven't seen before. I will look into that

ferserc1 commented 2 years ago

it's normal that you didn't see it before, because I just added it this morning XD

mliradelc commented 2 years ago

Closing in favor of https://github.com/polimediaupv/opencast/pull/34