Code Monkey home page Code Monkey logo

Comments (10)

wagneral avatar wagneral commented on June 9, 2024 1

Integration of Piwik is no big deal, right. But we should think about our key values again: maybe ask the library services team about their expectations and then talk about our own experiences in already used and successfully implemented reporting tools .

from palma.

wagneral avatar wagneral commented on June 9, 2024 1

Think we should release the new palma version first and afterwards merge the piwik branch with the master branch. Let's use the upcoming workshops to ask the library services team about their expectations again and see if piwik is still the right solution.

from palma.

dennmuel avatar dennmuel commented on June 9, 2024 1

So you would suggest to merge palma-redesign into master and then merge the updated master with our piwik branch, which we then roll out here?

On a site note: It would be interesting to see the global usage of PalMA. Would it be legit and doable to have some kind of monitoring of how many active PalMA installations there are worldwide in the master branch? We could then manage our own institutional monitoring with Piwik, theme-dependant index-extra.php or something else.

from palma.

dennmuel avatar dennmuel commented on June 9, 2024

Piwik has already been implemented in another branch. If it is sufficient or we don't find something better, we can merge it into the redesign branch.

from palma.

stweil avatar stweil commented on June 9, 2024

A more general solution would be to optionally include some PHP code which could be part of the theme. Example:

  • If theme/ub-mannheim/a3/index-extra.php exists, then index.php will include it for PalMA stations which use the theme ub-mannheim/a3. That optional file could provide any kind of tracking code (not only for Piwik) or even override other aspects of PalMA.

  • If there is no index-extra.php for the current theme, PalMA will work with the default code (which does not include tracking).

For the rollout of the new PalMA version, some kind of tracking (not necessarily Piwik, but that looks like the easiest option) is more important than ever. How else would the get information about changes in the number of users?

from palma.

wagneral avatar wagneral commented on June 9, 2024

A basic reporting with Piwik is meant to be integrated in the new release of course. Was not sure about a simultaneous rollout because I did not look at the piwik branch yet. Can it be merged without conflicts?

Optionally including a reporting framework seems a good idea. Not sure if the theme directory is the right place for it, but can be easily implemented here.

from palma.

stweil avatar stweil commented on June 9, 2024

The piwik branch should not be merged into Git master, because it is special for UB Mannheim. People who get the master branch do not expect to get our Piwik code as well.

from palma.

wagneral avatar wagneral commented on June 9, 2024

Should we think about a config parameter for piwik in palma.ini as well? We could add an attribute for enabling piwik and setting a specific piwik key. Or do we have to set different identifiers for each library section / theme?

from palma.

wagneral avatar wagneral commented on June 9, 2024

Config parameter is to specific for common use. There exist a lot of reporting frameworks. So we integrate our custom framework piwik by optionally including PHP code as hook, as mentioned above.

from palma.

wagneral avatar wagneral commented on June 9, 2024

Piwik hook now included. Ideas for an integrated plugin management are explained in a separate issue.

from palma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.